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]

fix(pricing): add missing Moonshot turbo models and fix incorrect pricing (#17432)

Cesar Garcia664b384dce19
diff --git a/model_prices_and_context_window.json b/model_prices_and_context_window.json
index 903b86484cd..6cc6e7772af 100644
--- a/model_prices_and_context_window.json
+++ b/model_prices_and_context_window.json
@@ -18896,6 +18896,34 @@
"supports_tool_choice": true,
"supports_web_search": true
},
+ "moonshot/kimi-k2-0905-preview": {
+ "cache_read_input_token_cost": 1.5e-07,
+ "input_cost_per_token": 6e-07,
+ "litellm_provider": "moonshot",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "max_tokens": 262144,
+ "mode": "chat",
+ "output_cost_per_token": 2.5e-06,
+ "source": "https://platform.moonshot.ai/docs/pricing/chat#generation-model-kimi-k2",
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_web_search": true
+ },
+ "moonshot/kimi-k2-turbo-preview": {
+ "cache_read_input_token_cost": 1.5e-07,
+ "input_cost_per_token": 1.15e-06,
+ "litellm_provider": "moonshot",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "max_tokens": 262144,
+ "mode": "chat",
+ "output_cost_per_token": 8e-06,
+ "source": "https://platform.moonshot.ai/docs/pricing/chat#generation-model-kimi-k2",
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_web_search": true
+ },
"moonshot/kimi-latest": {
"cache_read_input_token_cost": 1.5e-07,
"input_cost_per_token": 2e-06,
@@ -18953,14 +18981,15 @@
"supports_vision": true
},
"moonshot/kimi-thinking-preview": {
- "input_cost_per_token": 3e-05,
+ "cache_read_input_token_cost": 1.5e-07,
+ "input_cost_per_token": 6e-07,
"litellm_provider": "moonshot",
"max_input_tokens": 131072,
"max_output_tokens": 131072,
"max_tokens": 131072,
"mode": "chat",
- "output_cost_per_token": 3e-05,
- "source": "https://platform.moonshot.ai/docs/pricing",
+ "output_cost_per_token": 2.5e-06,
+ "source": "https://platform.moonshot.ai/docs/pricing/chat#generation-model-kimi-k2",
"supports_vision": true
},
"moonshot/kimi-k2-thinking": {
@@ -18977,6 +19006,20 @@
"supports_tool_choice": true,
"supports_web_search": true
},
+ "moonshot/kimi-k2-thinking-turbo": {
+ "cache_read_input_token_cost": 1.5e-7,
+ "input_cost_per_token": 1.15e-6,
+ "litellm_provider": "moonshot",
+ "max_input_tokens": 262144,
+ "max_output_tokens": 262144,
+ "max_tokens": 262144,
+ "mode": "chat",
+ "output_cost_per_token": 8e-6,
+ "source": "https://platform.moonshot.ai/docs/pricing/chat#generation-model-kimi-k2",
+ "supports_function_calling": true,
+ "supports_tool_choice": true,
+ "supports_web_search": true
+ },
"moonshot/moonshot-v1-128k": {
"input_cost_per_token": 2e-06,
"litellm_provider": "moonshot",
@@ -26470,8 +26513,8 @@
"max_tokens": 128000,
"max_input_tokens": 128000,
"max_output_tokens": 128000,
- "input_cost_per_token": 0.135,
- "output_cost_per_token": 0.4,
+ "input_cost_per_token": 6e-07,
+ "output_cost_per_token": 2.5e-06,
"litellm_provider": "wandb",
"mode": "chat"
},