Repository navigation
chore(model_prices): add Gemini Veo, Mistral and Azure Claude 4.5 deprecation dates - #43857
Conversation
…on dates Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…he Azure schedule Supersedes: #43846 Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
|
bugbot run |
|
|
|
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit d6b9dd5. Configure here.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
* upstream/main: fix(cost_calculator): bill ultrafast prompts above 272k at the ultrafast long-context rates (BerriAI#43764) chore(model_prices): add Gemini Veo, Mistral and Azure Claude 4.5 deprecation dates (BerriAI#43857)
TLDR
Problem this solves:
deprecation_dateazure_aiClaude 4.5 rows carry a stale Azure retirement dateHow it solves it:
deprecation_dateto the six direct-provider keys from the provider deprecation tablesazure_aiClaude 4.5 dates to the current Azure schedule (absorbed from chore(cost-map): take azure_ai claude 4.5 retirement dates from the Azure schedule #43846)This is the rolling registry PR for the 2026-09-30 audit run. Every change is registry data only, no code path changed
User Flow
Before: a proxy admin running these models gets no warning from the deprecations report before the provider shuts them off
gemini/veo-3.1-generate-preview,mistral/mistral-ocr-4-0andazure_ai/claude-sonnet-4-5on the proxyazure_ai/claude-sonnet-4-5is reported as retiring on 2026-10-19After: the same report lists the right shutdown dates
gemini/veo-3.1-generate-previewshows 2026-10-22 andmistral/mistral-ocr-4-0shows 2026-09-30azure_ai/claude-sonnet-4-5now shows 2026-11-15, the date on the Azure scheduleSources
All values below were read from the raw HTML table rows on 2026-09-30, with r.jina.ai as a second reader. Both agreed on every row
Gemini API: https://ai.google.dev/gemini-api/docs/deprecations, columns Model, Release date, Shutdown date, Replacement
gemini/veo-3.1-generate-previewgemini/veo-3.1-fast-generate-previewgemini/veo-3.1-lite-generate-previewMistral: https://docs.mistral.ai/getting-started/models/models_overview, deprecated models table, the Deprecation and Retirement column holds two dates and the second is the retirement date. The model cards (https://docs.mistral.ai/models/zai-glm-5-2, https://docs.mistral.ai/models/leanstral-1-5, https://docs.mistral.ai/models/ocr-4-0) mark each model deprecated as of 9/29/2026.
deprecation_dateholds the retirement date, the day calls stop working, matching how OpenAI and Gemini shutdown dates are recordedmistral/zai-glm-5-2mistral/labs-leanstral-1-5mistral/mistral-ocr-4-0Azure: https://learn.microsoft.com/en-us/azure/foundry/openai/concepts/model-retirement-schedule, Anthropic rows
azure_ai/claude-sonnet-4-5azure_ai/claude-opus-4-5azure_ai/claude-haiku-4-5These three rows also gain a
sourcefield pointing at the schedule, as #43846 didOther open registry PRs reviewed this run
Absorbed: #43846 (Azure Claude 4.5 retirement dates), every date re-checked against the raw Azure schedule rows above
Left open, not absorbed:
deepseek-flashanddeepseek-v4-pro, no V3 price row to verify againstChecked and left unchanged: OpenAI GPT-6.1 Sol, GPT-6 Astra (all tiers including ultrafast and long context) and the deprecations page match the map. Anthropic Claude Sonnet 5.5 pricing matches, and its "Not sooner than" date on the deprecations page is not a retirement announcement so it was not recorded. Vertex Veo 3.1 GA dates match. Mistral dates were applied only to
mistral/keys, the Azure and Vertex copies of those models follow their own platform schedules.mistral/glm-5-2andmistral/labs-leanstral-1-5-1are not named in the Mistral table and stay undated. Cohereembed-v5.0-fastandembed-v5.0-proare new on the Cohere models page but have no raw price row, so they were not added. Bedrock pricing rows for new models render as template placeholders in raw HTML and were not used.ci_cd/cost_map_pins.jsonis not onmain, and no capability flag was changedPre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
tests/unit/test_model_prices_schema.py,tests/test_litellm/proxy/common_utils/test_model_deprecation.py,tests/test_litellm/proxy/test_model_deprecations_endpoint.py,ci_cd/check_files_match.py,ci_cd/cost_map_guard.py, schema generator--checkwith no diff)Screenshots / Proof of Fix
Source check, raw Gemini deprecations table:
Source check, raw Mistral models table (the date cell is two spans, deprecation then retirement):
Source check, raw Azure retirement schedule:
Type
Refactoring
Caveats (if any)
Low
mistral/labs-leanstral-1-5andmistral/mistral-ocr-4-0retire today, so they land straight in the deprecated buckettests/unit/test_utils.pystatic schema failure ongpt-6-astraultrafast fields also fails onmainLink to Devin session: https://app.devin.ai/sessions/df8f278450574b27873795ce256c627e
Open in Devin Desktop: https://app.devin.ai/desktop/session/df8f278450574b27873795ce256c627e?variant=devin
Note
Low Risk
Metadata-only JSON updates to deprecation dates and documentation sources; no application code paths change.
Overview
Updates the model price registry so GET
/model/deprecationsand related tooling reflect current provider retirement schedules—no runtime routing or pricing logic changes.Azure AI Claude 4.5 (
claude-haiku-4-5,claude-sonnet-4-5,claude-opus-4-5):deprecation_datemoves from 2026-10-19 to 2026-11-15 (haiku/sonnet) and 2026-11-24 (opus), with a newsourceURL on the Azure model retirement schedule page.Gemini Veo 3.1 preview video models (
veo-3.1-generate-preview,fast,lite): addsdeprecation_date: 2026-10-22.Mistral (
zai-glm-5-2,mistral-ocr-4-0,labs-leanstral-1-5): adds retirementdeprecation_datevalues (2026-10-31 and 2026-09-30 per model).The same edits are applied to
model_prices_and_context_window.jsonandlitellm/model_prices_and_context_window_backup.jsonso the pair stays in sync.Reviewed by Cursor Bugbot for commit d6b9dd5. Bugbot is set up for automated code reviews on this repo. Configure here.