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: New model - Add support for Qwen models family & Deepseek 3.1 to Amazon Bedrock (#14845)

onlylonly22eef373eba8
diff --git a/litellm/constants.py b/litellm/constants.py
index 005eb2bb6d0..6e70ae0671f 100644
--- a/litellm/constants.py
+++ b/litellm/constants.py
@@ -812,6 +812,11 @@ BEDROCK_EMBEDDING_PROVIDERS_LITERAL = Literal[
]
BEDROCK_CONVERSE_MODELS = [
+ "qwen.qwen3-coder-480b-a35b-v1:0",
+ "qwen.qwen3-235b-a22b-2507-v1:0",
+ "qwen.qwen3-coder-30b-a3b-v1:0",
+ "qwen.qwen3-32b-v1:0",
+ "deepseek.v3-v1:0",
"openai.gpt-oss-20b-1:0",
"openai.gpt-oss-120b-1:0",
"anthropic.claude-opus-4-1-20250805-v1:0",
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index 832ff36bfb8..b0261d1bd43 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -7203,6 +7203,18 @@
"supports_prompt_caching": true,
"supports_tool_choice": true
},
+ "deepseek.v3-v1:0": {
+ "input_cost_per_token": 5.8e-07,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 163840,
+ "max_output_tokens": 81920,
+ "max_tokens": 163840,
+ "mode": "chat",
+ "output_cost_per_token": 1.68e-06,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true
+ },
"dolphin": {
"input_cost_per_token": 5e-07,
"litellm_provider": "nlp_cloud",
@@ -17520,6 +17532,54 @@
"mode": "chat",
"output_cost_per_token": 2.8e-07
},
+ "qwen.qwen3-coder-480b-a35b-v1:0": {
+ "input_cost_per_token": 2.2e-07,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 262000,
+ "max_output_tokens": 65536,
+ "max_tokens": 262144,
+ "mode": "chat",
+ "output_cost_per_token": 1.8e-06,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true
+ },
+ "qwen.qwen3-235b-a22b-2507-v1:0": {
+ "input_cost_per_token": 2.2e-07,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 131072,
+ "max_tokens": 262144,
+ "mode": "chat",
+ "output_cost_per_token": 8.8e-07,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true
+ },
+ "qwen.qwen3-coder-30b-a3b-v1:0": {
+ "input_cost_per_token": 1.5e-07,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 131072,
+ "max_tokens": 262144,
+ "mode": "chat",
+ "output_cost_per_token": 6.0e-07,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true
+ },
+ "qwen.qwen3-32b-v1:0": {
+ "input_cost_per_token": 1.5e-07,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 131072,
+ "max_output_tokens": 16384,
+ "max_tokens": 131072,
+ "mode": "chat",
+ "output_cost_per_token": 6.0e-07,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true
+ },
"recraft/recraftv2": {
"litellm_provider": "recraft",
"mode": "image_generation",
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 832ff36bfb8..37be4e283aa 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -7203,6 +7203,18 @@
"supports_prompt_caching": true,
"supports_tool_choice": true
},
+ "deepseek.v3-v1:0": {
+ "input_cost_per_token": 5.8e-07,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 163840,
+ "max_output_tokens": 81920,
+ "max_tokens": 163840,
+ "mode": "chat",
+ "output_cost_per_token": 1.68e-06,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true
+ },
"dolphin": {
"input_cost_per_token": 5e-07,
"litellm_provider": "nlp_cloud",
@@ -17520,6 +17532,54 @@
"mode": "chat",
"output_cost_per_token": 2.8e-07
},
+ "qwen.qwen3-coder-480b-a35b-v1:0": {
+ "input_cost_per_token": 2.2e-07,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 262000,
+ "max_output_tokens": 65536,
+ "max_tokens": 262144,
+ "mode": "chat",
+ "output_cost_per_token": 1.8e-06,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true
+ },
+ "qwen.qwen3-235b-a22b-2507-v1:0": {
+ "input_cost_per_token": 2.2e-07,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 131072,
+ "max_tokens": 262144,
+ "mode": "chat",
+ "output_cost_per_token": 8.8e-07,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true
+ },
+ "qwen.qwen3-coder-30b-a3b-v1:0": {
+ "input_cost_per_token": 1.5e-07,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 131072,
+ "max_tokens": 262144,
+ "mode": "chat",
+ "output_cost_per_token": 6.0e-07,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true
+ },
+ "qwen.qwen3-32b-v1:0": {
+ "input_cost_per_token": 1.5e-07,
+ "litellm_provider": "bedrock_converse",
+ "max_input_tokens": 131072,
+ "max_output_tokens": 16384,
+ "max_tokens": 131072,
+ "mode": "chat",
+ "output_cost_per_token": 6.0e-07,
+ "supports_function_calling": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true
+ },
"recraft/recraftv2": {
"litellm_provider": "recraft",
"mode": "image_generation",