From f239a0f78a6115ddd56872bcd6b832a13d00a1e5 Mon Sep 17 00:00:00 2001 From: Sameer Kankute Date: Fri, 22 Aug 2025 22:59:09 +0530 Subject: [PATCH] Add openrouter deepseek/deepseek-chat-v3.1 support --- .../model_prices_and_context_window_backup.json | 15 +++++++++++++++ model_prices_and_context_window.json | 15 +++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json index 3768be31a2..b1dbe72a5b 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 3768be31a2..34becc959d 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,