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(deepinfra): add DeepSeek-V4.1-Flash and DeepSeek-V4.1-Flash-1017 to the cost map (#47132)

litellm-stampbotdd8b2853a0a8
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index 58338f185c7..8545a5b568e 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -65561,6 +65561,40 @@
"supports_vision": false,
"source": "https://deepinfra.com/pricing"
},
+ "deepinfra/deepseek-ai/DeepSeek-V4.1-Flash": {
+ "max_tokens": 131072,
+ "max_input_tokens": 1048576,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 1.4e-07,
+ "output_cost_per_token": 4.2e-07,
+ "cache_read_input_token_cost": 4.2e-09,
+ "supports_prompt_caching": true,
+ "litellm_provider": "deepinfra",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_reasoning": true,
+ "supports_vision": true,
+ "source": "https://deepinfra.com/deepseek-ai/DeepSeek-V4.1-Flash"
+ },
+ "deepinfra/deepseek-ai/DeepSeek-V4.1-Flash-1017": {
+ "max_tokens": 131072,
+ "max_input_tokens": 1048576,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 1.4e-07,
+ "output_cost_per_token": 4.2e-07,
+ "cache_read_input_token_cost": 4.2e-09,
+ "supports_prompt_caching": true,
+ "litellm_provider": "deepinfra",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_reasoning": true,
+ "supports_vision": true,
+ "source": "https://deepinfra.com/deepseek-ai/DeepSeek-V4.1-Flash-1017"
+ },
"deepinfra/openai/gpt-oss-120b-Ultra": {
"max_tokens": 131072,
"max_input_tokens": 131072,
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 58338f185c7..8545a5b568e 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -65561,6 +65561,40 @@
"supports_vision": false,
"source": "https://deepinfra.com/pricing"
},
+ "deepinfra/deepseek-ai/DeepSeek-V4.1-Flash": {
+ "max_tokens": 131072,
+ "max_input_tokens": 1048576,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 1.4e-07,
+ "output_cost_per_token": 4.2e-07,
+ "cache_read_input_token_cost": 4.2e-09,
+ "supports_prompt_caching": true,
+ "litellm_provider": "deepinfra",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_reasoning": true,
+ "supports_vision": true,
+ "source": "https://deepinfra.com/deepseek-ai/DeepSeek-V4.1-Flash"
+ },
+ "deepinfra/deepseek-ai/DeepSeek-V4.1-Flash-1017": {
+ "max_tokens": 131072,
+ "max_input_tokens": 1048576,
+ "max_output_tokens": 131072,
+ "input_cost_per_token": 1.4e-07,
+ "output_cost_per_token": 4.2e-07,
+ "cache_read_input_token_cost": 4.2e-09,
+ "supports_prompt_caching": true,
+ "litellm_provider": "deepinfra",
+ "mode": "chat",
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_response_schema": true,
+ "supports_reasoning": true,
+ "supports_vision": true,
+ "source": "https://deepinfra.com/deepseek-ai/DeepSeek-V4.1-Flash-1017"
+ },
"deepinfra/openai/gpt-oss-120b-Ultra": {
"max_tokens": 131072,
"max_input_tokens": 131072,