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]

Add openrouter deepseek/deepseek-chat-v3.1 support

Sameer Kankutef239a0f78a61
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index 3768be31a29..b1dbe72a5b5 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -11236,6 +11236,21 @@
"supports_tool_choice": true,
"supports_prompt_caching": true
},
+ "openrouter/deepseek/deepseek-chat-v3.1": {
+ "max_tokens": 8192,
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "input_cost_per_token": 2e-07,
+ "input_cost_per_token_cache_hit": 2e-08,
+ "output_cost_per_token": 8e-07,
+ "litellm_provider": "openrouter",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_assistant_prefill": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true,
+ "supports_prompt_caching": true
+ },
"openrouter/x-ai/grok-4": {
"max_tokens": 256000,
"max_input_tokens": 256000,
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 3768be31a29..34becc959df 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -11236,6 +11236,21 @@
"supports_tool_choice": true,
"supports_prompt_caching": true
},
+ "openrouter/deepseek/deepseek-chat-v3.1": {
+ "max_tokens": 8192,
+ "max_input_tokens": 163840,
+ "max_output_tokens": 163840,
+ "input_cost_per_token": 2e-07,
+ "input_cost_per_token_cache_hit": 2e-08,
+ "output_cost_per_token": 8e-07,
+ "litellm_provider": "openrouter",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_assistant_prefill": true,
+ "supports_reasoning": true,
+ "supports_tool_choice": true,
+ "supports_prompt_caching": true
+ },
"openrouter/x-ai/grok-4": {
"max_tokens": 256000,
"max_input_tokens": 256000,