Skip to content

Commit 664b384

Browse files
authored
fix(pricing): add missing Moonshot turbo models and fix incorrect pricing (#17432)
Fixes #17417 - Add moonshot/kimi-k2-turbo-preview ($1.15/$8.00 input/output) - Add moonshot/kimi-k2-thinking-turbo ($1.15/$8.00 input/output) - Add moonshot/kimi-k2-0905-preview ($0.60/$2.50 input/output, 262K context) - Fix moonshot/kimi-thinking-preview pricing ($30/$30 -> $0.60/$2.50) - Fix wandb/moonshotai/Kimi-K2-Instruct absurd pricing ($135K/$400K -> $0.60/$2.50)
1 parent b05f6d3 commit 664b384

File tree

1 file changed

+48
-5
lines changed

1 file changed

+48
-5
lines changed

model_prices_and_context_window.json

Lines changed: 48 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18896,6 +18896,34 @@
1889618896
"supports_tool_choice": true,
1889718897
"supports_web_search": true
1889818898
},
18899+
"moonshot/kimi-k2-0905-preview": {
18900+
"cache_read_input_token_cost": 1.5e-07,
18901+
"input_cost_per_token": 6e-07,
18902+
"litellm_provider": "moonshot",
18903+
"max_input_tokens": 262144,
18904+
"max_output_tokens": 262144,
18905+
"max_tokens": 262144,
18906+
"mode": "chat",
18907+
"output_cost_per_token": 2.5e-06,
18908+
"source": "https://platform.moonshot.ai/docs/pricing/chat#generation-model-kimi-k2",
18909+
"supports_function_calling": true,
18910+
"supports_tool_choice": true,
18911+
"supports_web_search": true
18912+
},
18913+
"moonshot/kimi-k2-turbo-preview": {
18914+
"cache_read_input_token_cost": 1.5e-07,
18915+
"input_cost_per_token": 1.15e-06,
18916+
"litellm_provider": "moonshot",
18917+
"max_input_tokens": 262144,
18918+
"max_output_tokens": 262144,
18919+
"max_tokens": 262144,
18920+
"mode": "chat",
18921+
"output_cost_per_token": 8e-06,
18922+
"source": "https://platform.moonshot.ai/docs/pricing/chat#generation-model-kimi-k2",
18923+
"supports_function_calling": true,
18924+
"supports_tool_choice": true,
18925+
"supports_web_search": true
18926+
},
1889918927
"moonshot/kimi-latest": {
1890018928
"cache_read_input_token_cost": 1.5e-07,
1890118929
"input_cost_per_token": 2e-06,
@@ -18953,14 +18981,15 @@
1895318981
"supports_vision": true
1895418982
},
1895518983
"moonshot/kimi-thinking-preview": {
18956-
"input_cost_per_token": 3e-05,
18984+
"cache_read_input_token_cost": 1.5e-07,
18985+
"input_cost_per_token": 6e-07,
1895718986
"litellm_provider": "moonshot",
1895818987
"max_input_tokens": 131072,
1895918988
"max_output_tokens": 131072,
1896018989
"max_tokens": 131072,
1896118990
"mode": "chat",
18962-
"output_cost_per_token": 3e-05,
18963-
"source": "https://platform.moonshot.ai/docs/pricing",
18991+
"output_cost_per_token": 2.5e-06,
18992+
"source": "https://platform.moonshot.ai/docs/pricing/chat#generation-model-kimi-k2",
1896418993
"supports_vision": true
1896518994
},
1896618995
"moonshot/kimi-k2-thinking": {
@@ -18977,6 +19006,20 @@
1897719006
"supports_tool_choice": true,
1897819007
"supports_web_search": true
1897919008
},
19009+
"moonshot/kimi-k2-thinking-turbo": {
19010+
"cache_read_input_token_cost": 1.5e-7,
19011+
"input_cost_per_token": 1.15e-6,
19012+
"litellm_provider": "moonshot",
19013+
"max_input_tokens": 262144,
19014+
"max_output_tokens": 262144,
19015+
"max_tokens": 262144,
19016+
"mode": "chat",
19017+
"output_cost_per_token": 8e-6,
19018+
"source": "https://platform.moonshot.ai/docs/pricing/chat#generation-model-kimi-k2",
19019+
"supports_function_calling": true,
19020+
"supports_tool_choice": true,
19021+
"supports_web_search": true
19022+
},
1898019023
"moonshot/moonshot-v1-128k": {
1898119024
"input_cost_per_token": 2e-06,
1898219025
"litellm_provider": "moonshot",
@@ -26470,8 +26513,8 @@
2647026513
"max_tokens": 128000,
2647126514
"max_input_tokens": 128000,
2647226515
"max_output_tokens": 128000,
26473-
"input_cost_per_token": 0.135,
26474-
"output_cost_per_token": 0.4,
26516+
"input_cost_per_token": 6e-07,
26517+
"output_cost_per_token": 2.5e-06,
2647526518
"litellm_provider": "wandb",
2647626519
"mode": "chat"
2647726520
},

0 commit comments

Comments
 (0)