mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
fix tiered_pricing test
This commit is contained in:
parent
51d5255452
commit
69ef062f55
3 changed files with 20 additions and 10 deletions
|
|
@ -19132,7 +19132,6 @@
|
|||
"supports_function_calling": true,
|
||||
"supports_tool_choice": true,
|
||||
"supports_reasoning": true,
|
||||
"supports_caching": true,
|
||||
"mode": "chat",
|
||||
"tiered_pricing": [
|
||||
{"range": [0, 256e3], "input_cost_per_token": 5e-08, "output_cost_per_token": 4e-07},
|
||||
|
|
@ -19161,7 +19160,6 @@
|
|||
"supports_function_calling": true,
|
||||
"supports_tool_choice": true,
|
||||
"supports_reasoning": true,
|
||||
"supports_caching": true,
|
||||
"mode": "chat",
|
||||
"tiered_pricing": [
|
||||
{"range": [0, 32e3], "input_cost_per_token": 1e-06, "output_cost_per_token": 5e-06, "cache_read_input_token_cost": 1e-07},
|
||||
|
|
@ -19196,7 +19194,6 @@
|
|||
"supports_function_calling": true,
|
||||
"supports_tool_choice": true,
|
||||
"supports_reasoning": true,
|
||||
"supports_caching": true,
|
||||
"mode": "chat",
|
||||
"tiered_pricing": [
|
||||
{"range": [0, 32e3], "input_cost_per_token": 3e-07, "output_cost_per_token": 1.5e-06, "cache_read_input_token_cost": 8e-08},
|
||||
|
|
@ -19302,7 +19299,6 @@
|
|||
"supports_function_calling": true,
|
||||
"supports_tool_choice": true,
|
||||
"supports_reasoning": true,
|
||||
"supports_caching": true,
|
||||
"mode": "chat",
|
||||
"tiered_pricing": [
|
||||
{"range": [0, 256e3], "input_cost_per_token": 5e-08, "output_cost_per_token": 4e-07},
|
||||
|
|
@ -19355,7 +19351,6 @@
|
|||
"max_tokens": 131072,
|
||||
"max_input_tokens": 98304,
|
||||
"max_output_tokens": 8192,
|
||||
"max_chain_of_thought_tokens": 32768,
|
||||
"input_cost_per_token": 8e-07,
|
||||
"output_cost_per_token": 2.4e-06,
|
||||
"litellm_provider": "dashscope",
|
||||
|
|
|
|||
|
|
@ -19132,7 +19132,6 @@
|
|||
"supports_function_calling": true,
|
||||
"supports_tool_choice": true,
|
||||
"supports_reasoning": true,
|
||||
"supports_caching": true,
|
||||
"mode": "chat",
|
||||
"tiered_pricing": [
|
||||
{"range": [0, 256e3], "input_cost_per_token": 5e-08, "output_cost_per_token": 4e-07},
|
||||
|
|
@ -19161,7 +19160,6 @@
|
|||
"supports_function_calling": true,
|
||||
"supports_tool_choice": true,
|
||||
"supports_reasoning": true,
|
||||
"supports_caching": true,
|
||||
"mode": "chat",
|
||||
"tiered_pricing": [
|
||||
{"range": [0, 32e3], "input_cost_per_token": 1e-06, "output_cost_per_token": 5e-06, "cache_read_input_token_cost": 1e-07},
|
||||
|
|
@ -19196,7 +19194,6 @@
|
|||
"supports_function_calling": true,
|
||||
"supports_tool_choice": true,
|
||||
"supports_reasoning": true,
|
||||
"supports_caching": true,
|
||||
"mode": "chat",
|
||||
"tiered_pricing": [
|
||||
{"range": [0, 32e3], "input_cost_per_token": 3e-07, "output_cost_per_token": 1.5e-06, "cache_read_input_token_cost": 8e-08},
|
||||
|
|
@ -19302,7 +19299,6 @@
|
|||
"supports_function_calling": true,
|
||||
"supports_tool_choice": true,
|
||||
"supports_reasoning": true,
|
||||
"supports_caching": true,
|
||||
"mode": "chat",
|
||||
"tiered_pricing": [
|
||||
{"range": [0, 256e3], "input_cost_per_token": 5e-08, "output_cost_per_token": 4e-07},
|
||||
|
|
@ -19355,7 +19351,6 @@
|
|||
"max_tokens": 131072,
|
||||
"max_input_tokens": 98304,
|
||||
"max_output_tokens": 8192,
|
||||
"max_chain_of_thought_tokens": 32768,
|
||||
"input_cost_per_token": 8e-07,
|
||||
"output_cost_per_token": 2.4e-06,
|
||||
"litellm_provider": "dashscope",
|
||||
|
|
|
|||
|
|
@ -652,6 +652,26 @@ def test_aaamodel_prices_and_context_window_json_is_valid():
|
|||
},
|
||||
},
|
||||
"supports_native_streaming": {"type": "boolean"},
|
||||
"tiered_pricing": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"range": {
|
||||
"type": "array",
|
||||
"items": {"type": "number"},
|
||||
"minItems": 2,
|
||||
"maxItems": 2
|
||||
},
|
||||
"input_cost_per_token": {"type": "number"},
|
||||
"output_cost_per_token": {"type": "number"},
|
||||
"cache_read_input_token_cost": {"type": "number"},
|
||||
"output_cost_per_reasoning_token": {"type": "number"}
|
||||
},
|
||||
"required": ["range"],
|
||||
"additionalProperties": False
|
||||
}
|
||||
},
|
||||
},
|
||||
"additionalProperties": False,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue