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(cost-map): add scx-ai DeepSeek-V4.1-flash, GLM-5.3 and Kimi-K3 (#46496)

devin-ai-integration[bot]4428c4c78f73
diff --git a/litellm/model_prices_and_context_window_backup.json b/litellm/model_prices_and_context_window_backup.json
index 0faab05ecf8..76cb0b60c6d 100644
--- a/litellm/model_prices_and_context_window_backup.json
+++ b/litellm/model_prices_and_context_window_backup.json
@@ -45630,6 +45630,53 @@
"supports_vision": true,
"source": "https://cloud.sambanova.ai/plans/pricing"
},
+ "scx-ai/DeepSeek-V4.1-flash": {
+ "cache_read_input_token_cost": 1e-08,
+ "input_cost_per_token": 1.5e-07,
+ "litellm_provider": "scx-ai",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 375000,
+ "max_tokens": 375000,
+ "mode": "chat",
+ "output_cost_per_token": 6e-07,
+ "source": "https://scx.ai/models/deepseek-v4-1-flash",
+ "supports_function_calling": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_vision": true
+ },
+ "scx-ai/GLM-5.3": {
+ "cache_read_input_token_cost": 1.8e-07,
+ "input_cost_per_token": 9.8e-07,
+ "litellm_provider": "scx-ai",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "mode": "chat",
+ "output_cost_per_token": 3.08e-06,
+ "source": "https://scx.ai/models/glm-5-3",
+ "supports_function_calling": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true,
+ "supports_vision": false
+ },
+ "scx-ai/Kimi-K3": {
+ "cache_read_input_token_cost": 2.8e-07,
+ "input_cost_per_token": 2.83e-06,
+ "litellm_provider": "scx-ai",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 1000000,
+ "max_tokens": 1000000,
+ "mode": "chat",
+ "output_cost_per_token": 1.413e-05,
+ "source": "https://scx.ai/models/kimi-k3",
+ "supports_function_calling": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true,
+ "supports_vision": false
+ },
"scx-ai/GLM-5.2": {
"cache_read_input_token_cost": 2.2e-07,
"input_cost_per_token": 6.1e-07,
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 0faab05ecf8..76cb0b60c6d 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -45630,6 +45630,53 @@
"supports_vision": true,
"source": "https://cloud.sambanova.ai/plans/pricing"
},
+ "scx-ai/DeepSeek-V4.1-flash": {
+ "cache_read_input_token_cost": 1e-08,
+ "input_cost_per_token": 1.5e-07,
+ "litellm_provider": "scx-ai",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 375000,
+ "max_tokens": 375000,
+ "mode": "chat",
+ "output_cost_per_token": 6e-07,
+ "source": "https://scx.ai/models/deepseek-v4-1-flash",
+ "supports_function_calling": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_vision": true
+ },
+ "scx-ai/GLM-5.3": {
+ "cache_read_input_token_cost": 1.8e-07,
+ "input_cost_per_token": 9.8e-07,
+ "litellm_provider": "scx-ai",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 128000,
+ "max_tokens": 128000,
+ "mode": "chat",
+ "output_cost_per_token": 3.08e-06,
+ "source": "https://scx.ai/models/glm-5-3",
+ "supports_function_calling": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true,
+ "supports_vision": false
+ },
+ "scx-ai/Kimi-K3": {
+ "cache_read_input_token_cost": 2.8e-07,
+ "input_cost_per_token": 2.83e-06,
+ "litellm_provider": "scx-ai",
+ "max_input_tokens": 1000000,
+ "max_output_tokens": 1000000,
+ "max_tokens": 1000000,
+ "mode": "chat",
+ "output_cost_per_token": 1.413e-05,
+ "source": "https://scx.ai/models/kimi-k3",
+ "supports_function_calling": true,
+ "supports_prompt_caching": true,
+ "supports_reasoning": true,
+ "supports_response_schema": true,
+ "supports_vision": false
+ },
"scx-ai/GLM-5.2": {
"cache_read_input_token_cost": 2.2e-07,
"input_cost_per_token": 6.1e-07,
diff --git a/tests/unit/llms/openai_like/test_scx_ai_provider.py b/tests/unit/llms/openai_like/test_scx_ai_provider.py
index 15cc6a34de9..f1c05e13888 100644
--- a/tests/unit/llms/openai_like/test_scx_ai_provider.py
+++ b/tests/unit/llms/openai_like/test_scx_ai_provider.py
@@ -140,10 +140,13 @@ class TestSCXAIProviderConfig:
class TestSCXAIModelMetadata:
SCX_MODELS = (
+ "scx-ai/DeepSeek-V4.1-flash",
"scx-ai/GLM-5.2",
+ "scx-ai/GLM-5.3",
+ "scx-ai/Kimi-K3",
"scx-ai/Qwen3.8-Max",
)
- VISION_MODELS = ("scx-ai/Qwen3.8-Max",)
+ VISION_MODELS = ("scx-ai/DeepSeek-V4.1-flash", "scx-ai/Qwen3.8-Max")
@staticmethod
def _load(path_parts):