---
title: "Add New Model"
method: POST
path: "/model/new"
tags: ["model management"]
---

# Add New Model

`POST /model/new`

Allows adding new models to the model list in the config.yaml

## Request body

- Deployment
  - `model_name` string, required
  - `litellm_params` LiteLLMParams, required — LiteLLM Params with 'model' requirement - used for completions
    - `input_cost_per_token` number, nullable
    - `output_cost_per_token` number, nullable
    - `input_cost_per_second` number, nullable
    - `output_cost_per_second` number, nullable
    - `input_cost_per_pixel` number, nullable
    - `output_cost_per_pixel` number, nullable
    - `input_cost_per_token_flex` number, nullable
    - `input_cost_per_token_priority` number, nullable
    - `cache_creation_input_token_cost` number, nullable
    - `cache_creation_input_token_cost_above_1hr` number, nullable
    - `cache_creation_input_token_cost_above_200k_tokens` number, nullable
    - `cache_creation_input_audio_token_cost` number, nullable
    - `cache_read_input_token_cost` number, nullable
    - `cache_read_input_token_cost_flex` number, nullable
    - `cache_read_input_token_cost_priority` number, nullable
    - `cache_read_input_token_cost_above_200k_tokens` number, nullable
    - `cache_read_input_audio_token_cost` number, nullable
    - `input_cost_per_character` number, nullable
    - `input_cost_per_character_above_128k_tokens` number, nullable
    - `input_cost_per_audio_token` number, nullable
    - `input_cost_per_token_cache_hit` number, nullable
    - `input_cost_per_token_above_128k_tokens` number, nullable
    - `input_cost_per_token_above_200k_tokens` number, nullable
    - `input_cost_per_query` number, nullable
    - `input_cost_per_image` number, nullable
    - `input_cost_per_image_above_128k_tokens` number, nullable
    - `input_cost_per_audio_per_second` number, nullable
    - `input_cost_per_audio_per_second_above_128k_tokens` number, nullable
    - `input_cost_per_video_per_second` number, nullable
    - `input_cost_per_video_per_second_above_128k_tokens` number, nullable
    - `input_cost_per_video_per_second_above_15s_interval` number, nullable
    - `input_cost_per_video_per_second_above_8s_interval` number, nullable
    - `input_cost_per_token_batches` number, nullable
    - `output_cost_per_token_batches` number, nullable
    - `output_cost_per_token_flex` number, nullable
    - `output_cost_per_token_priority` number, nullable
    - `output_cost_per_character` number, nullable
    - `output_cost_per_audio_token` number, nullable
    - `output_cost_per_token_above_128k_tokens` number, nullable
    - `output_cost_per_token_above_200k_tokens` number, nullable
    - `output_cost_per_character_above_128k_tokens` number, nullable
    - `output_cost_per_image` number, nullable
    - `output_cost_per_image_token` number, nullable
    - `output_cost_per_reasoning_token` number, nullable
    - `output_cost_per_video_per_second` number, nullable
    - `output_cost_per_audio_per_second` number, nullable
    - `search_context_cost_per_query` object, nullable
    - `citation_cost_per_token` number, nullable
    - `tiered_pricing` object[], nullable
    - `api_key` string, nullable
    - `api_base` string, nullable
    - `api_version` string, nullable
    - `vertex_project` string, nullable
    - `vertex_location` string, nullable
    - `vertex_credentials` union
      - string
      - object
    - `region_name` string, nullable
    - `aws_access_key_id` string, nullable
    - `aws_secret_access_key` string, nullable
    - `aws_region_name` string, nullable
    - `aws_bedrock_runtime_endpoint` string, nullable
    - `watsonx_region_name` string, nullable
    - `custom_llm_provider` string, nullable
    - `tpm` integer, nullable
    - `rpm` integer, nullable
    - `timeout` union
      - number
      - string
    - `stream_timeout` union
      - number
      - string
    - `max_retries` integer, nullable
    - `organization` string, nullable
    - `configurable_clientside_auth_params` union[], nullable
      - union
        - string
        - ConfigurableClientsideParamsCustomAuthInput
          - `api_base` string, required
    - `litellm_credential_name` string, nullable
    - `litellm_trace_id` string, nullable
    - `max_file_size_mb` number, nullable
    - `max_budget` number, nullable
    - `budget_duration` string, nullable
    - `use_in_pass_through` boolean, nullable
    - `use_litellm_proxy` boolean, nullable
    - `merge_reasoning_content_in_choices` boolean, nullable
    - `model_info` object, nullable
    - `mock_response` union
      - string
      - ModelResponse
        - `id` string, required
        - `created` integer, required
        - `model` string, nullable
        - `object` string, required
        - `system_fingerprint` string, nullable
        - `choices` Choices[], required
          - `finish_reason` 'stop' | 'content_filter' | 'function_call' | 'tool_calls' | 'length' | 'guardrail_intervened' | 'eos' | 'finish_reason_unspecified' | 'malformed_function_call', required
          - `index` integer, required
          - `message` Message, required
            - `content` string, nullable, required
            - `role` 'assistant' | 'user' | 'system' | 'tool' | 'function', required
            - `tool_calls` ChatCompletionMessageToolCall[], nullable, required
              - …
            - `function_call` FunctionCall, required
              - …
            - `audio` ChatCompletionAudioResponse
              - …
            - `images` ImageURLListItem[], nullable
              - …
            - `reasoning_content` string, nullable
            - `thinking_blocks` union[], nullable
              - …
            - `provider_specific_fields` object, nullable
            - `annotations` ChatCompletionAnnotation[], nullable
              - …
          - `logprobs` union
            - ChoiceLogprobs
              - …
            - unknown
          - `provider_specific_fields` object, nullable
      - unknown
    - `tags` string[], nullable
    - `tag_regex` string[], nullable
    - `auto_router_config_path` string, nullable
    - `auto_router_config` string, nullable
    - `auto_router_default_model` string, nullable
    - `auto_router_embedding_model` string, nullable
    - `complexity_router_config` object, nullable
    - `complexity_router_default_model` string, nullable
    - `s3_bucket_name` string, nullable
    - `s3_encryption_key_id` string, nullable
    - `gcs_bucket_name` string, nullable
    - `vector_store_id` string, nullable
    - `milvus_text_field` string, nullable
    - `model` string, required
  - `model_info` ModelInfo, required
    - `id` string, nullable, required
    - `db_model` boolean
    - `updated_at` string, date-time, nullable
    - `updated_by` string, nullable
    - `created_at` string, date-time, nullable
    - `created_by` string, nullable
    - `base_model` string, nullable
    - `tier` 'free' | 'paid', nullable
    - `team_id` string, nullable
    - `team_public_model_name` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/sea-lion/apis/litellm-api.md) · [All operations](https://skmtc.net/sea-lion/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sea-lion/litellm-api/revisions/1e929292ddd5/schema)
