mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-11 08:38:24 +00:00
fix(gemini): add Gemini 2.5 Pro flex cache price above 200k tokens (#50480)
* fix(gemini): add Gemini 2.5 Pro flex cache price above 200k tokens * test(cost-map): allow cache_read_input_token_cost_above_200k_tokens_flex in the row schema --------- Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
72228db5c6
commit
0eb6816081
3 changed files with 3 additions and 0 deletions
|
|
@ -32356,6 +32356,7 @@
|
|||
"output_cost_per_token_flex": 5e-06,
|
||||
"supports_url_context": true,
|
||||
"cache_read_input_token_cost_above_200k_tokens_batches": 2.5e-07,
|
||||
"cache_read_input_token_cost_above_200k_tokens_flex": 2.5e-07,
|
||||
"deprecation_date": "2026-12-01",
|
||||
"deprecation_source": "https://ai.google.dev/gemini-api/docs/deprecations",
|
||||
"successor_model": "gemini/gemini-3.8-flash",
|
||||
|
|
|
|||
|
|
@ -32356,6 +32356,7 @@
|
|||
"output_cost_per_token_flex": 5e-06,
|
||||
"supports_url_context": true,
|
||||
"cache_read_input_token_cost_above_200k_tokens_batches": 2.5e-07,
|
||||
"cache_read_input_token_cost_above_200k_tokens_flex": 2.5e-07,
|
||||
"deprecation_date": "2026-12-01",
|
||||
"deprecation_source": "https://ai.google.dev/gemini-api/docs/deprecations",
|
||||
"successor_model": "gemini/gemini-3.8-flash",
|
||||
|
|
|
|||
|
|
@ -1058,6 +1058,7 @@ _COST_MAP_ROW_SCHEMA: Final = {
|
|||
"cache_read_input_token_cost_balanced": {"type": "number"},
|
||||
"cache_read_input_token_cost_ultrafast": {"type": "number"},
|
||||
"cache_read_input_token_cost_above_200k_tokens_priority": {"type": "number"},
|
||||
"cache_read_input_token_cost_above_200k_tokens_flex": {"type": "number"},
|
||||
"cache_read_input_token_cost_above_272k_tokens_priority": {"type": "number"},
|
||||
"input_cost_per_token_flex": {"type": "number"},
|
||||
"input_cost_per_token_priority": {"type": "number"},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue