mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-09 22:31:41 +00:00
fix kimi highspeed pricing for token costs
This commit is contained in:
parent
f4a2a62397
commit
fe85ad4eb3
2 changed files with 6 additions and 6 deletions
|
|
@ -38552,14 +38552,14 @@
|
|||
"supports_reasoning": true
|
||||
},
|
||||
"openai/kimi-k2.7-code-highspeed": {
|
||||
"cache_read_input_token_cost": 1.9e-07,
|
||||
"input_cost_per_token": 9.5e-07,
|
||||
"cache_read_input_token_cost": 3.8e-07,
|
||||
"input_cost_per_token": 1.9e-06,
|
||||
"litellm_provider": "openai",
|
||||
"max_input_tokens": 262144,
|
||||
"max_output_tokens": 262144,
|
||||
"max_tokens": 262144,
|
||||
"mode": "chat",
|
||||
"output_cost_per_token": 4e-06,
|
||||
"output_cost_per_token": 8e-06,
|
||||
"supports_function_calling": true,
|
||||
"supports_reasoning": true
|
||||
},
|
||||
|
|
|
|||
|
|
@ -3080,9 +3080,9 @@ def test_model_info_for_openai_kimi_and_glm_aliases(local_model_cost_map):
|
|||
)
|
||||
assert kimi_highspeed is not None
|
||||
assert kimi_highspeed["litellm_provider"] == "openai"
|
||||
assert kimi_highspeed["input_cost_per_token"] == 9.5e-07
|
||||
assert kimi_highspeed["output_cost_per_token"] == 4e-06
|
||||
assert kimi_highspeed["cache_read_input_token_cost"] == 1.9e-07
|
||||
assert kimi_highspeed["input_cost_per_token"] == 1.9e-06
|
||||
assert kimi_highspeed["output_cost_per_token"] == 8e-06
|
||||
assert kimi_highspeed["cache_read_input_token_cost"] == 3.8e-07
|
||||
assert kimi_highspeed["max_input_tokens"] == 262144
|
||||
|
||||
glm = litellm.get_model_info(model="openai/glm-5.2", custom_llm_provider="openai")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue