Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

feat(bedrock): add support for 4 new beta models (#20974)

Sameer Kankute8a2bc265af2b
diff --git a/litellm/constants.py b/litellm/constants.py
index 4e89ddd7bd9..addd659be73 100644
--- a/litellm/constants.py
+++ b/litellm/constants.py
@@ -1016,10 +1016,12 @@ BEDROCK_EMBEDDING_PROVIDERS_LITERAL = Literal[
BEDROCK_CONVERSE_MODELS = [
"qwen.qwen3-coder-480b-a35b-v1:0",
+ "qwen.qwen3-coder-next",
"qwen.qwen3-235b-a22b-2507-v1:0",
"qwen.qwen3-coder-30b-a3b-v1:0",
"qwen.qwen3-32b-v1:0",
"deepseek.v3-v1:0",
+ "deepseek.v3.2",
"openai.gpt-oss-20b-1:0",
"openai.gpt-oss-120b-1:0",
"anthropic.claude-haiku-4-5-20251001-v1:0",
@@ -1062,6 +1064,8 @@ BEDROCK_CONVERSE_MODELS = [
"amazon.nova-pro-v1:0",
"writer.palmyra-x4-v1:0",
"writer.palmyra-x5-v1:0",
+ "minimax.minimax-m2.1",
+ "moonshotai.kimi-k2.5",
]
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index 7c82d47dcdc..e6b7cf17297 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -6105,6 +6105,32 @@
"output_cost_per_token": 2.4e-05,
"supports_tool_choice": true
},
+ "bedrock/ap-northeast-1/deepseek.v3.2": {
+ "input_cost_per_token": 7.4e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "max_tokens": 163840,
+ "mode": "chat",
+ "output_cost_per_token": 2.22e-06,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/ap-northeast-1/minimax.minimax-m2.1": {
+ "input_cost_per_token": 3.6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 196000,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.44e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/ap-northeast-1/moonshotai.kimi-k2-thinking": {
"input_cost_per_token": 7.3e-07,
"litellm_provider": "bedrock",
@@ -6116,6 +6142,33 @@
"supports_function_calling": true,
"supports_reasoning": true
},
+ "bedrock/ap-northeast-1/moonshotai.kimi-k2.5": {
+ "input_cost_per_token": 7.2e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "max_tokens": 262144,
+ "mode": "chat",
+ "output_cost_per_token": 3.6e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/ap-northeast-1/qwen.qwen3-coder-next": {
+ "input_cost_per_token": 6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.44e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/moonshotai.kimi-k2-thinking": {
"input_cost_per_token": 7.3e-07,
"litellm_provider": "bedrock",
@@ -6128,7 +6181,7 @@
"supports_reasoning": true
},
"bedrock/moonshotai.kimi-k2.5": {
- "input_cost_per_token": 7.3e-07,
+ "input_cost_per_token": 6e-07,
"litellm_provider": "bedrock",
"max_input_tokens": 262144,
"max_output_tokens": 262144,
@@ -6159,6 +6212,32 @@
"mode": "chat",
"output_cost_per_token": 7.2e-07
},
+ "bedrock/ap-south-1/deepseek.v3.2": {
+ "input_cost_per_token": 7.4e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "max_tokens": 163840,
+ "mode": "chat",
+ "output_cost_per_token": 2.22e-06,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/ap-south-1/minimax.minimax-m2.1": {
+ "input_cost_per_token": 3.6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 196000,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.44e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/ap-south-1/moonshotai.kimi-k2-thinking": {
"input_cost_per_token": 7.1e-07,
"litellm_provider": "bedrock",
@@ -6170,6 +6249,86 @@
"supports_function_calling": true,
"supports_reasoning": true
},
+ "bedrock/ap-south-1/moonshotai.kimi-k2.5": {
+ "input_cost_per_token": 7.2e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "max_tokens": 262144,
+ "mode": "chat",
+ "output_cost_per_token": 3.6e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/ap-south-1/qwen.qwen3-coder-next": {
+ "input_cost_per_token": 6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.44e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/ap-southeast-3/deepseek.v3.2": {
+ "input_cost_per_token": 7.4e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "max_tokens": 163840,
+ "mode": "chat",
+ "output_cost_per_token": 2.22e-06,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/ap-southeast-3/minimax.minimax-m2.1": {
+ "input_cost_per_token": 3.6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 196000,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.44e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/ap-southeast-3/moonshotai.kimi-k2.5": {
+ "input_cost_per_token": 7.2e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "max_tokens": 262144,
+ "mode": "chat",
+ "output_cost_per_token": 3.6e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/ap-southeast-3/qwen.qwen3-coder-next": {
+ "input_cost_per_token": 6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.44e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/ca-central-1/meta.llama3-70b-instruct-v1:0": {
"input_cost_per_token": 3.05e-06,
"litellm_provider": "bedrock",
@@ -6188,6 +6347,46 @@
"mode": "chat",
"output_cost_per_token": 6.9e-07
},
+ "bedrock/eu-north-1/deepseek.v3.2": {
+ "input_cost_per_token": 7.4e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "max_tokens": 163840,
+ "mode": "chat",
+ "output_cost_per_token": 2.22e-06,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/eu-north-1/minimax.minimax-m2.1": {
+ "input_cost_per_token": 3.6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 196000,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.44e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/eu-north-1/moonshotai.kimi-k2.5": {
+ "input_cost_per_token": 7.2e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "max_tokens": 262144,
+ "mode": "chat",
+ "output_cost_per_token": 3.6e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/eu-central-1/1-month-commitment/anthropic.claude-instant-v1": {
"input_cost_per_second": 0.01635,
"litellm_provider": "bedrock",
@@ -6275,6 +6474,32 @@
"output_cost_per_token": 2.4e-05,
"supports_tool_choice": true
},
+ "bedrock/eu-central-1/minimax.minimax-m2.1": {
+ "input_cost_per_token": 3.6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 196000,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.44e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/eu-central-1/qwen.qwen3-coder-next": {
+ "input_cost_per_token": 6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.44e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/eu-west-1/meta.llama3-70b-instruct-v1:0": {
"input_cost_per_token": 2.86e-06,
"litellm_provider": "bedrock",
@@ -6293,6 +6518,32 @@
"mode": "chat",
"output_cost_per_token": 6.5e-07
},
+ "bedrock/eu-west-1/minimax.minimax-m2.1": {
+ "input_cost_per_token": 3.6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 196000,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.44e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/eu-west-1/qwen.qwen3-coder-next": {
+ "input_cost_per_token": 6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.44e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/eu-west-2/meta.llama3-70b-instruct-v1:0": {
"input_cost_per_token": 3.45e-06,
"litellm_provider": "bedrock",
@@ -6311,6 +6562,32 @@
"mode": "chat",
"output_cost_per_token": 7.8e-07
},
+ "bedrock/eu-west-2/minimax.minimax-m2.1": {
+ "input_cost_per_token": 4.7e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 196000,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.86e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/eu-west-2/qwen.qwen3-coder-next": {
+ "input_cost_per_token": 7.8e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.86e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/eu-west-3/mistral.mistral-7b-instruct-v0:2": {
"input_cost_per_token": 2e-07,
"litellm_provider": "bedrock",
@@ -6341,6 +6618,32 @@
"output_cost_per_token": 9.1e-07,
"supports_tool_choice": true
},
+ "bedrock/eu-south-1/minimax.minimax-m2.1": {
+ "input_cost_per_token": 3.6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 196000,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.44e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/eu-south-1/qwen.qwen3-coder-next": {
+ "input_cost_per_token": 6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.44e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/invoke/anthropic.claude-3-5-sonnet-20240620-v1:0": {
"input_cost_per_token": 3e-06,
"litellm_provider": "bedrock",
@@ -6375,16 +6678,69 @@
"mode": "chat",
"output_cost_per_token": 1.01e-06
},
- "bedrock/sa-east-1/moonshotai.kimi-k2-thinking": {
- "input_cost_per_token": 7.3e-07,
+ "bedrock/sa-east-1/deepseek.v3.2": {
+ "input_cost_per_token": 7.4e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "max_tokens": 163840,
+ "mode": "chat",
+ "output_cost_per_token": 2.22e-06,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/sa-east-1/minimax.minimax-m2.1": {
+ "input_cost_per_token": 3.6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 196000,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.44e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/sa-east-1/moonshotai.kimi-k2-thinking": {
+ "input_cost_per_token": 7.3e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "max_tokens": 262144,
+ "mode": "chat",
+ "output_cost_per_token": 3.03e-06,
+ "supports_function_calling": true,
+ "supports_reasoning": true
+ },
+ "bedrock/sa-east-1/moonshotai.kimi-k2.5": {
+ "input_cost_per_token": 7.2e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "max_tokens": 262144,
+ "mode": "chat",
+ "output_cost_per_token": 3.6e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/sa-east-1/qwen.qwen3-coder-next": {
+ "input_cost_per_token": 6e-07,
"litellm_provider": "bedrock",
"max_input_tokens": 262144,
- "max_output_tokens": 262144,
- "max_tokens": 262144,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
"mode": "chat",
- "output_cost_per_token": 3.03e-06,
+ "output_cost_per_token": 1.44e-06,
"supports_function_calling": true,
- "supports_reasoning": true
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
},
"bedrock/us-east-1/1-month-commitment/anthropic.claude-instant-v1": {
"input_cost_per_second": 0.011,
@@ -6522,6 +6878,32 @@
"output_cost_per_token": 7e-07,
"supports_tool_choice": true
},
+ "bedrock/us-east-1/deepseek.v3.2": {
+ "input_cost_per_token": 6.2e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "max_tokens": 163840,
+ "mode": "chat",
+ "output_cost_per_token": 1.85e-06,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/us-east-1/minimax.minimax-m2.1": {
+ "input_cost_per_token": 3e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 196000,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.2e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/us-east-1/moonshotai.kimi-k2-thinking": {
"input_cost_per_token": 6e-07,
"litellm_provider": "bedrock",
@@ -6533,6 +6915,59 @@
"supports_function_calling": true,
"supports_reasoning": true
},
+ "bedrock/us-east-1/moonshotai.kimi-k2.5": {
+ "input_cost_per_token": 6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "max_tokens": 262144,
+ "mode": "chat",
+ "output_cost_per_token": 3e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/us-east-1/qwen.qwen3-coder-next": {
+ "input_cost_per_token": 5e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.2e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/us-east-2/deepseek.v3.2": {
+ "input_cost_per_token": 6.2e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "max_tokens": 163840,
+ "mode": "chat",
+ "output_cost_per_token": 1.85e-06,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/us-east-2/minimax.minimax-m2.1": {
+ "input_cost_per_token": 3e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 196000,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.2e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/us-east-2/moonshotai.kimi-k2-thinking": {
"input_cost_per_token": 6e-07,
"litellm_provider": "bedrock",
@@ -6544,6 +6979,33 @@
"supports_function_calling": true,
"supports_reasoning": true
},
+ "bedrock/us-east-2/moonshotai.kimi-k2.5": {
+ "input_cost_per_token": 6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "max_tokens": 262144,
+ "mode": "chat",
+ "output_cost_per_token": 3e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/us-east-2/qwen.qwen3-coder-next": {
+ "input_cost_per_token": 5e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.2e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/us-gov-east-1/amazon.nova-pro-v1:0": {
"input_cost_per_token": 9.6e-07,
"litellm_provider": "bedrock",
@@ -6950,6 +7412,32 @@
"output_cost_per_token": 7e-07,
"supports_tool_choice": true
},
+ "bedrock/us-west-2/deepseek.v3.2": {
+ "input_cost_per_token": 6.2e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "max_tokens": 163840,
+ "mode": "chat",
+ "output_cost_per_token": 1.85e-06,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/us-west-2/minimax.minimax-m2.1": {
+ "input_cost_per_token": 3e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 196000,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.2e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/us-west-2/moonshotai.kimi-k2-thinking": {
"input_cost_per_token": 6e-07,
"litellm_provider": "bedrock",
@@ -6961,6 +7449,33 @@
"supports_function_calling": true,
"supports_reasoning": true
},
+ "bedrock/us-west-2/moonshotai.kimi-k2.5": {
+ "input_cost_per_token": 6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "max_tokens": 262144,
+ "mode": "chat",
+ "output_cost_per_token": 3e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/us-west-2/qwen.qwen3-coder-next": {
+ "input_cost_per_token": 5e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.2e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/us.anthropic.claude-3-5-haiku-20241022-v1:0": {
"cache_creation_input_token_cost": 1e-06,
"cache_read_input_token_cost": 8e-08,
@@ -10874,6 +11389,19 @@
"supports_reasoning": true,
"supports_tool_choice": true
},
+ "deepseek.v3.2": {
+ "input_cost_per_token": 6.2e-07,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "max_tokens": 163840,
+ "mode": "chat",
+ "output_cost_per_token": 1.85e-06,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"dolphin": {
"input_cost_per_token": 5e-07,
"litellm_provider": "nlp_cloud",
@@ -21344,6 +21872,19 @@
"output_cost_per_token": 1.2e-06,
"supports_system_messages": true
},
+ "minimax.minimax-m2.1": {
+ "input_cost_per_token": 3e-07,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 196000,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.2e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"minimax/speech-02-hd": {
"input_cost_per_character": 0.0001,
"litellm_provider": "minimax",
@@ -22100,6 +22641,20 @@
"supports_reasoning": true,
"supports_system_messages": true
},
+ "moonshotai.kimi-k2.5": {
+ "input_cost_per_token": 6e-07,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "max_tokens": 262144,
+ "mode": "chat",
+ "output_cost_per_token": 3e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"moonshot/kimi-k2-0711-preview": {
"cache_read_input_token_cost": 1.5e-07,
"input_cost_per_token": 6e-07,
@@ -25534,6 +26089,19 @@
"supports_system_messages": true,
"supports_vision": true
},
+ "qwen.qwen3-coder-next": {
+ "input_cost_per_token": 5e-07,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.2e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"recraft/recraftv2": {
"litellm_provider": "recraft",
"mode": "image_generation",
@@ -27970,6 +28538,30 @@
"supports_reasoning": true,
"supports_tool_choice": false
},
+ "us.deepseek.v3.2": {
+ "input_cost_per_token": 6.2e-07,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "max_tokens": 163840,
+ "mode": "chat",
+ "output_cost_per_token": 1.85e-06,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true
+ },
+ "eu.deepseek.v3.2": {
+ "input_cost_per_token": 7.4e-07,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "max_tokens": 163840,
+ "mode": "chat",
+ "output_cost_per_token": 2.22e-06,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true
+ },
"us.meta.llama3-1-405b-instruct-v1:0": {
"input_cost_per_token": 5.32e-06,
"litellm_provider": "bedrock",
@@ -32080,6 +32672,23 @@
"1280x720"
]
},
+ "openai/sora-2-pro-high-res": {
+ "litellm_provider": "openai",
+ "mode": "video_generation",
+ "output_cost_per_video_per_second": 0.5,
+ "source": "https://platform.openai.com/docs/api-reference/videos",
+ "supported_modalities": [
+ "text",
+ "image"
+ ],
+ "supported_output_modalities": [
+ "video"
+ ],
+ "supported_resolutions": [
+ "1024x1792",
+ "1792x1024"
+ ]
+ },
"azure/sora-2": {
"litellm_provider": "azure",
"mode": "video_generation",
@@ -35719,7 +36328,9 @@
"gpt-realtime-mini-2025-10-06": {
"cache_creation_input_audio_token_cost": 3e-07,
"cache_read_input_audio_token_cost": 3e-07,
+ "cache_read_input_token_cost": 6e-08,
"input_cost_per_audio_token": 1e-05,
+ "input_cost_per_image": 8e-07,
"input_cost_per_token": 6e-07,
"litellm_provider": "openai",
"max_input_tokens": 128000,
@@ -35750,7 +36361,9 @@
"gpt-realtime-mini-2025-12-15": {
"cache_creation_input_audio_token_cost": 3e-07,
"cache_read_input_audio_token_cost": 3e-07,
+ "cache_read_input_token_cost": 6e-08,
"input_cost_per_audio_token": 1e-05,
+ "input_cost_per_image": 8e-07,
"input_cost_per_token": 6e-07,
"litellm_provider": "openai",
"max_input_tokens": 128000,
@@ -35812,6 +36425,23 @@
"1280x720"
]
},
+ "sora-2-pro-high-res": {
+ "litellm_provider": "openai",
+ "mode": "video_generation",
+ "output_cost_per_video_per_second": 0.5,
+ "source": "https://platform.openai.com/docs/api-reference/videos",
+ "supported_modalities": [
+ "text",
+ "image"
+ ],
+ "supported_output_modalities": [
+ "video"
+ ],
+ "supported_resolutions": [
+ "1024x1792",
+ "1792x1024"
+ ]
+ },
"chatgpt-image-latest": {
"cache_read_input_image_token_cost": 2.5e-06,
"cache_read_input_token_cost": 1.25e-06,
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 09de81b38fa..e6b7cf17297 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -6105,6 +6105,32 @@
"output_cost_per_token": 2.4e-05,
"supports_tool_choice": true
},
+ "bedrock/ap-northeast-1/deepseek.v3.2": {
+ "input_cost_per_token": 7.4e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "max_tokens": 163840,
+ "mode": "chat",
+ "output_cost_per_token": 2.22e-06,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/ap-northeast-1/minimax.minimax-m2.1": {
+ "input_cost_per_token": 3.6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 196000,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.44e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/ap-northeast-1/moonshotai.kimi-k2-thinking": {
"input_cost_per_token": 7.3e-07,
"litellm_provider": "bedrock",
@@ -6116,6 +6142,33 @@
"supports_function_calling": true,
"supports_reasoning": true
},
+ "bedrock/ap-northeast-1/moonshotai.kimi-k2.5": {
+ "input_cost_per_token": 7.2e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "max_tokens": 262144,
+ "mode": "chat",
+ "output_cost_per_token": 3.6e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/ap-northeast-1/qwen.qwen3-coder-next": {
+ "input_cost_per_token": 6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.44e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/moonshotai.kimi-k2-thinking": {
"input_cost_per_token": 7.3e-07,
"litellm_provider": "bedrock",
@@ -6128,7 +6181,7 @@
"supports_reasoning": true
},
"bedrock/moonshotai.kimi-k2.5": {
- "input_cost_per_token": 7.3e-07,
+ "input_cost_per_token": 6e-07,
"litellm_provider": "bedrock",
"max_input_tokens": 262144,
"max_output_tokens": 262144,
@@ -6159,6 +6212,32 @@
"mode": "chat",
"output_cost_per_token": 7.2e-07
},
+ "bedrock/ap-south-1/deepseek.v3.2": {
+ "input_cost_per_token": 7.4e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "max_tokens": 163840,
+ "mode": "chat",
+ "output_cost_per_token": 2.22e-06,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/ap-south-1/minimax.minimax-m2.1": {
+ "input_cost_per_token": 3.6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 196000,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.44e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/ap-south-1/moonshotai.kimi-k2-thinking": {
"input_cost_per_token": 7.1e-07,
"litellm_provider": "bedrock",
@@ -6170,6 +6249,86 @@
"supports_function_calling": true,
"supports_reasoning": true
},
+ "bedrock/ap-south-1/moonshotai.kimi-k2.5": {
+ "input_cost_per_token": 7.2e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "max_tokens": 262144,
+ "mode": "chat",
+ "output_cost_per_token": 3.6e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/ap-south-1/qwen.qwen3-coder-next": {
+ "input_cost_per_token": 6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.44e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/ap-southeast-3/deepseek.v3.2": {
+ "input_cost_per_token": 7.4e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "max_tokens": 163840,
+ "mode": "chat",
+ "output_cost_per_token": 2.22e-06,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/ap-southeast-3/minimax.minimax-m2.1": {
+ "input_cost_per_token": 3.6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 196000,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.44e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/ap-southeast-3/moonshotai.kimi-k2.5": {
+ "input_cost_per_token": 7.2e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "max_tokens": 262144,
+ "mode": "chat",
+ "output_cost_per_token": 3.6e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/ap-southeast-3/qwen.qwen3-coder-next": {
+ "input_cost_per_token": 6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.44e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/ca-central-1/meta.llama3-70b-instruct-v1:0": {
"input_cost_per_token": 3.05e-06,
"litellm_provider": "bedrock",
@@ -6188,6 +6347,46 @@
"mode": "chat",
"output_cost_per_token": 6.9e-07
},
+ "bedrock/eu-north-1/deepseek.v3.2": {
+ "input_cost_per_token": 7.4e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "max_tokens": 163840,
+ "mode": "chat",
+ "output_cost_per_token": 2.22e-06,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/eu-north-1/minimax.minimax-m2.1": {
+ "input_cost_per_token": 3.6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 196000,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.44e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/eu-north-1/moonshotai.kimi-k2.5": {
+ "input_cost_per_token": 7.2e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "max_tokens": 262144,
+ "mode": "chat",
+ "output_cost_per_token": 3.6e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/eu-central-1/1-month-commitment/anthropic.claude-instant-v1": {
"input_cost_per_second": 0.01635,
"litellm_provider": "bedrock",
@@ -6275,6 +6474,32 @@
"output_cost_per_token": 2.4e-05,
"supports_tool_choice": true
},
+ "bedrock/eu-central-1/minimax.minimax-m2.1": {
+ "input_cost_per_token": 3.6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 196000,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.44e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/eu-central-1/qwen.qwen3-coder-next": {
+ "input_cost_per_token": 6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.44e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/eu-west-1/meta.llama3-70b-instruct-v1:0": {
"input_cost_per_token": 2.86e-06,
"litellm_provider": "bedrock",
@@ -6293,6 +6518,32 @@
"mode": "chat",
"output_cost_per_token": 6.5e-07
},
+ "bedrock/eu-west-1/minimax.minimax-m2.1": {
+ "input_cost_per_token": 3.6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 196000,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.44e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/eu-west-1/qwen.qwen3-coder-next": {
+ "input_cost_per_token": 6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.44e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/eu-west-2/meta.llama3-70b-instruct-v1:0": {
"input_cost_per_token": 3.45e-06,
"litellm_provider": "bedrock",
@@ -6311,6 +6562,32 @@
"mode": "chat",
"output_cost_per_token": 7.8e-07
},
+ "bedrock/eu-west-2/minimax.minimax-m2.1": {
+ "input_cost_per_token": 4.7e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 196000,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.86e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/eu-west-2/qwen.qwen3-coder-next": {
+ "input_cost_per_token": 7.8e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.86e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/eu-west-3/mistral.mistral-7b-instruct-v0:2": {
"input_cost_per_token": 2e-07,
"litellm_provider": "bedrock",
@@ -6341,6 +6618,32 @@
"output_cost_per_token": 9.1e-07,
"supports_tool_choice": true
},
+ "bedrock/eu-south-1/minimax.minimax-m2.1": {
+ "input_cost_per_token": 3.6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 196000,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.44e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/eu-south-1/qwen.qwen3-coder-next": {
+ "input_cost_per_token": 6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.44e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/invoke/anthropic.claude-3-5-sonnet-20240620-v1:0": {
"input_cost_per_token": 3e-06,
"litellm_provider": "bedrock",
@@ -6375,6 +6678,32 @@
"mode": "chat",
"output_cost_per_token": 1.01e-06
},
+ "bedrock/sa-east-1/deepseek.v3.2": {
+ "input_cost_per_token": 7.4e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "max_tokens": 163840,
+ "mode": "chat",
+ "output_cost_per_token": 2.22e-06,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/sa-east-1/minimax.minimax-m2.1": {
+ "input_cost_per_token": 3.6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 196000,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.44e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/sa-east-1/moonshotai.kimi-k2-thinking": {
"input_cost_per_token": 7.3e-07,
"litellm_provider": "bedrock",
@@ -6386,6 +6715,33 @@
"supports_function_calling": true,
"supports_reasoning": true
},
+ "bedrock/sa-east-1/moonshotai.kimi-k2.5": {
+ "input_cost_per_token": 7.2e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "max_tokens": 262144,
+ "mode": "chat",
+ "output_cost_per_token": 3.6e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/sa-east-1/qwen.qwen3-coder-next": {
+ "input_cost_per_token": 6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.44e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/us-east-1/1-month-commitment/anthropic.claude-instant-v1": {
"input_cost_per_second": 0.011,
"litellm_provider": "bedrock",
@@ -6522,6 +6878,32 @@
"output_cost_per_token": 7e-07,
"supports_tool_choice": true
},
+ "bedrock/us-east-1/deepseek.v3.2": {
+ "input_cost_per_token": 6.2e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "max_tokens": 163840,
+ "mode": "chat",
+ "output_cost_per_token": 1.85e-06,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/us-east-1/minimax.minimax-m2.1": {
+ "input_cost_per_token": 3e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 196000,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.2e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/us-east-1/moonshotai.kimi-k2-thinking": {
"input_cost_per_token": 6e-07,
"litellm_provider": "bedrock",
@@ -6533,6 +6915,59 @@
"supports_function_calling": true,
"supports_reasoning": true
},
+ "bedrock/us-east-1/moonshotai.kimi-k2.5": {
+ "input_cost_per_token": 6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "max_tokens": 262144,
+ "mode": "chat",
+ "output_cost_per_token": 3e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/us-east-1/qwen.qwen3-coder-next": {
+ "input_cost_per_token": 5e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.2e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/us-east-2/deepseek.v3.2": {
+ "input_cost_per_token": 6.2e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "max_tokens": 163840,
+ "mode": "chat",
+ "output_cost_per_token": 1.85e-06,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/us-east-2/minimax.minimax-m2.1": {
+ "input_cost_per_token": 3e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 196000,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.2e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/us-east-2/moonshotai.kimi-k2-thinking": {
"input_cost_per_token": 6e-07,
"litellm_provider": "bedrock",
@@ -6544,6 +6979,33 @@
"supports_function_calling": true,
"supports_reasoning": true
},
+ "bedrock/us-east-2/moonshotai.kimi-k2.5": {
+ "input_cost_per_token": 6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "max_tokens": 262144,
+ "mode": "chat",
+ "output_cost_per_token": 3e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/us-east-2/qwen.qwen3-coder-next": {
+ "input_cost_per_token": 5e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.2e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/us-gov-east-1/amazon.nova-pro-v1:0": {
"input_cost_per_token": 9.6e-07,
"litellm_provider": "bedrock",
@@ -6950,6 +7412,32 @@
"output_cost_per_token": 7e-07,
"supports_tool_choice": true
},
+ "bedrock/us-west-2/deepseek.v3.2": {
+ "input_cost_per_token": 6.2e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "max_tokens": 163840,
+ "mode": "chat",
+ "output_cost_per_token": 1.85e-06,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/us-west-2/minimax.minimax-m2.1": {
+ "input_cost_per_token": 3e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 196000,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.2e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/us-west-2/moonshotai.kimi-k2-thinking": {
"input_cost_per_token": 6e-07,
"litellm_provider": "bedrock",
@@ -6961,6 +7449,33 @@
"supports_function_calling": true,
"supports_reasoning": true
},
+ "bedrock/us-west-2/moonshotai.kimi-k2.5": {
+ "input_cost_per_token": 6e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "max_tokens": 262144,
+ "mode": "chat",
+ "output_cost_per_token": 3e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
+ "bedrock/us-west-2/qwen.qwen3-coder-next": {
+ "input_cost_per_token": 5e-07,
+ "litellm_provider": "bedrock",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.2e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"bedrock/us.anthropic.claude-3-5-haiku-20241022-v1:0": {
"cache_creation_input_token_cost": 1e-06,
"cache_read_input_token_cost": 8e-08,
@@ -10874,6 +11389,19 @@
"supports_reasoning": true,
"supports_tool_choice": true
},
+ "deepseek.v3.2": {
+ "input_cost_per_token": 6.2e-07,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "max_tokens": 163840,
+ "mode": "chat",
+ "output_cost_per_token": 1.85e-06,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"dolphin": {
"input_cost_per_token": 5e-07,
"litellm_provider": "nlp_cloud",
@@ -21344,6 +21872,19 @@
"output_cost_per_token": 1.2e-06,
"supports_system_messages": true
},
+ "minimax.minimax-m2.1": {
+ "input_cost_per_token": 3e-07,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 196000,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.2e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"minimax/speech-02-hd": {
"input_cost_per_character": 0.0001,
"litellm_provider": "minimax",
@@ -22100,6 +22641,20 @@
"supports_reasoning": true,
"supports_system_messages": true
},
+ "moonshotai.kimi-k2.5": {
+ "input_cost_per_token": 6e-07,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "max_tokens": 262144,
+ "mode": "chat",
+ "output_cost_per_token": 3e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "supports_vision": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"moonshot/kimi-k2-0711-preview": {
"cache_read_input_token_cost": 1.5e-07,
"input_cost_per_token": 6e-07,
@@ -25534,6 +26089,19 @@
"supports_system_messages": true,
"supports_vision": true
},
+ "qwen.qwen3-coder-next": {
+ "input_cost_per_token": 5e-07,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 8192,
+ "max_tokens": 8192,
+ "mode": "chat",
+ "output_cost_per_token": 1.2e-06,
+ "supports_function_calling": true,
+ "supports_system_messages": true,
+ "supports_tool_choice": true,
+ "source": "https://aws.amazon.com/bedrock/pricing/"
+ },
"recraft/recraftv2": {
"litellm_provider": "recraft",
"mode": "image_generation",
@@ -27970,6 +28538,30 @@
"supports_reasoning": true,
"supports_tool_choice": false
},
+ "us.deepseek.v3.2": {
+ "input_cost_per_token": 6.2e-07,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "max_tokens": 163840,
+ "mode": "chat",
+ "output_cost_per_token": 1.85e-06,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true
+ },
+ "eu.deepseek.v3.2": {
+ "input_cost_per_token": 7.4e-07,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "max_tokens": 163840,
+ "mode": "chat",
+ "output_cost_per_token": 2.22e-06,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true
+ },
"us.meta.llama3-1-405b-instruct-v1:0": {
"input_cost_per_token": 5.32e-06,
"litellm_provider": "bedrock",
diff --git a/tests/litellm/test_bedrock_extended_beta_models.py b/tests/litellm/test_bedrock_extended_beta_models.py
new file mode 100644
index 00000000000..ebbbd6cab5c
--- /dev/null
+++ b/tests/litellm/test_bedrock_extended_beta_models.py
@@ -0,0 +1,170 @@
+"""
+Test suite for AWS Bedrock extended beta model support
+Tests model configuration, pricing, and regional availability for:
+- DeepSeek V3.2
+- Minimax M2.1
+- Moonshot AI Kimi K2.5
+- Qwen3 Coder Next
+"""
+
+import os
+
+# Set env var to use local model cost map instead of fetching from remote
+os.environ["LITELLM_LOCAL_MODEL_COST_MAP"] = "true"
+
+import pytest
+
+from litellm import get_model_info
+
+# Model configurations: (model_name, regions, max_input, max_output)
+MODEL_CONFIGS = [
+ (
+ "deepseek.v3.2",
+ [
+ "ap-northeast-1",
+ "ap-south-1",
+ "ap-southeast-3",
+ "eu-north-1",
+ "sa-east-1",
+ "us-east-1",
+ "us-east-2",
+ "us-west-2",
+ ],
+ 163840,
+ 163840,
+ ),
+ (
+ "minimax.minimax-m2.1",
+ [
+ "ap-northeast-1",
+ "ap-south-1",
+ "ap-southeast-3",
+ "eu-central-1",
+ "eu-north-1",
+ "eu-south-1",
+ "eu-west-1",
+ "eu-west-2",
+ "sa-east-1",
+ "us-east-1",
+ "us-east-2",
+ "us-west-2",
+ ],
+ 196000,
+ 8192,
+ ),
+ (
+ "moonshotai.kimi-k2.5",
+ [
+ "ap-northeast-1",
+ "ap-south-1",
+ "ap-southeast-3",
+ "eu-north-1",
+ "sa-east-1",
+ "us-east-1",
+ "us-east-2",
+ "us-west-2",
+ ],
+ 262144,
+ 262144,
+ ),
+ (
+ "qwen.qwen3-coder-next",
+ [
+ "ap-northeast-1",
+ "ap-south-1",
+ "ap-southeast-3",
+ "eu-central-1",
+ "eu-south-1",
+ "eu-west-1",
+ "eu-west-2",
+ "sa-east-1",
+ "us-east-1",
+ "us-east-2",
+ "us-west-2",
+ ],
+ 262144,
+ 8192,
+ ),
+]
+
+
+class TestBedrockNewModels:
+ """Unified test suite for all new Bedrock models"""
+
+ @pytest.mark.parametrize("model_name,regions,max_input,max_output", MODEL_CONFIGS)
+ def test_model_info_primary_region(
+ self, model_name, regions, max_input, max_output
+ ):
+ """Test model configuration in primary region (us-east-1)"""
+ model = f"bedrock/us-east-1/{model_name}"
+ model_info = get_model_info(model)
+
+ assert model_info is not None, f"Model {model_name} not found"
+ assert model_info["max_input_tokens"] == max_input
+ assert model_info["max_output_tokens"] == max_output
+ assert model_info["litellm_provider"] == "bedrock"
+ assert model_info["mode"] == "chat"
+ assert model_info["supports_function_calling"] is True
+
+ @pytest.mark.parametrize("model_name,regions,max_input,max_output", MODEL_CONFIGS)
+ def test_pricing_configured(self, model_name, regions, max_input, max_output):
+ """Verify pricing is set for all models"""
+ model = f"bedrock/us-east-1/{model_name}"
+ model_info = get_model_info(model)
+
+ assert (
+ model_info["input_cost_per_token"] > 0
+ ), f"Missing input cost for {model_name}"
+ assert (
+ model_info["output_cost_per_token"] > 0
+ ), f"Missing output cost for {model_name}"
+
+ @pytest.mark.parametrize("model_name,regions,max_input,max_output", MODEL_CONFIGS)
+ def test_region_count(self, model_name, regions, max_input, max_output):
+ """Verify each bedrock/{region}/{model_name} resolves via get_model_info"""
+ for region in regions:
+ model = f"bedrock/{region}/{model_name}"
+ model_info = get_model_info(model)
+ assert model_info is not None, f"Model {model_name} not found in {region}"
+ assert model_info["max_input_tokens"] == max_input
+ assert model_info["max_output_tokens"] == max_output
+
+ @pytest.mark.parametrize("model_name,regions,max_input,max_output", MODEL_CONFIGS)
+ def test_sample_regional_variants(self, model_name, regions, max_input, max_output):
+ """Test sample regional variants (us-east-1, eu-west-1, ap-northeast-1)"""
+ for region in ["us-east-1", "ap-northeast-1"]:
+ if region in regions:
+ model = f"bedrock/{region}/{model_name}"
+ model_info = get_model_info(model)
+ assert (
+ model_info is not None
+ ), f"Model {model_name} not found in {region}"
+ assert model_info["max_input_tokens"] == max_input
+ assert model_info["litellm_provider"] == "bedrock"
+
+
+class TestModelSpecificFeatures:
+ """Model-specific capability tests"""
+
+ def test_deepseek_v3_2_context_window(self):
+ """DeepSeek V3.2 has 163K context window"""
+ model_info = get_model_info("bedrock/us-east-1/deepseek.v3.2")
+ assert model_info["max_input_tokens"] == 163840
+
+ def test_minimax_m2_1_context_window(self):
+ """Minimax M2.1 has 196K input, 8K output"""
+ model_info = get_model_info("bedrock/us-east-1/minimax.minimax-m2.1")
+ assert model_info["max_input_tokens"] == 196000
+ assert model_info["max_output_tokens"] == 8192
+
+ def test_moonshotai_kimi_k2_5_context_window(self):
+ """Moonshot AI Kimi K2.5 has 256K context window"""
+ model_info = get_model_info("bedrock/us-east-1/moonshotai.kimi-k2.5")
+ assert model_info["max_input_tokens"] == 262144
+ assert model_info["max_output_tokens"] == 262144
+
+ def test_qwen3_coder_next_context_window(self):
+ """Qwen3 Coder Next has 256K input, 8K output"""
+ model_info = get_model_info("bedrock/us-east-1/qwen.qwen3-coder-next")
+ assert model_info["max_input_tokens"] == 262144
+ assert model_info["max_output_tokens"] == 8192