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:
devin-ai-integration[bot] 2026-11-07 05:57:38 +00:00 • committed by GitHub
parent 72228db5c6
commit 0eb6816081
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 0 deletions

View file

@ -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",

View file

@ -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",

View file

@ -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"},