Repository navigation
fix(model_prices): drop anthropic deprecation floors and correct azure gpt-4.1-nano retirement date - #41964
Conversation
…c's model deprecations page Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…04-14 per Microsoft schedule 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)".
|
|
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
…llback test Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…cation_date Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
TLDR
Problem this solves:
deprecation_date, so/model/deprecationsreports them as deprecated once the floor passesgpt-4.1-nanoentries carried a stale2026-10-14retirement dateHow it solves it:
deprecation_datefrom those 17litellm_provider: anthropicentries; floors are not confirmed datesgpt-4.1-nanoaliases to2027-04-14(absorbs chore(prices): sync Azure prices: 5 models, 5 deprecated #41842)User Flow
Before: a proxy admin checking upcoming retirements sees active Claude models flagged as deprecating and a wrong date for Azure
gpt-4.1-nanoclaude-sonnet-4-5reportsdeprecation_date: "2026-09-29"although Anthropic only says "not sooner than" that date and the model is activeazure/gpt-4.1-nanoreportsdeprecation_date: "2026-10-14", six months earlier than Microsoft's scheduleAfter: the same call reports only confirmed retirement dates
claude-sonnet-4-5and the other active Claude models carry nodeprecation_dateazure/gpt-4.1-nanoreportsdeprecation_date: "2027-04-14"Relevant issues
Supports #26900 (deprecation alerts rely on
deprecation_date)Affected release
Linear ticket
Sources (every changed value)
claude-fable-5,claude-fable-5-1,claude-haiku-4-5,claude-haiku-4-5-20251001,claude-mythos-5-1,claude-opus-4-5,claude-opus-4-5-20251101,claude-opus-4-6,claude-opus-4-6-20260205,claude-opus-4-7,claude-opus-4-7-20260416,claude-opus-4-8,claude-opus-5,claude-sonnet-4-5,claude-sonnet-4-5-20250929,claude-sonnet-4-6,claude-sonnet-5deprecation_dateazure/gpt-4.1-nano,azure/gpt-4.1-nano-2025-04-14,azure/us/gpt-4.1-nano,azure/us/gpt-4.1-nano-2025-04-14,azure/eu/gpt-4.1-nanodeprecation_date2026-10-142027-04-14Values were read from the raw HTML tables (curl) and cross-checked with r.jina.ai
Vertex AI and Azure AI Claude entries whose dates happen to match Anthropic's floors were left alone: those platforms publish their own retirement schedules and this run could not verify them from raw official tables
Rolling PR bookkeeping
Absorbed: #41842 (sync-bot Azure) - identical 5 field changes, re-verified above
Not absorbed (code/behavior or not verifiable from official docs this run):
bedrock_converse_supports_strict_tools- behavior flag, left in placegpt-5.6-sol, feat(providers): add TopxAI as a JSON-configured OpenAI-compatible provider #41919 TopxAI - third-party/aggregator pricing not verified against a first-party sourceChecked with no changes needed: OpenAI, Gemini/Vertex, Bedrock, Fireworks, Groq, xAI, Mistral, Cohere, DeepSeek pricing (no mismatches in the parsed tables; several pages are JS-rendered and were not used as evidence)
Pre-Submission checklist
tests/test_litellm/test_model_prices_schema.py,tests/test_litellm/test_cost_map_guard.py(74 passed)ci_cd/check_files_match.py,ci_cd/generate_model_prices_schema.py --check)Screenshots / Proof of Fix
Link to Devin session: https://app.devin.ai/sessions/86f20e45206a49589a971d4101c81f55
Open in Devin Desktop: https://app.devin.ai/desktop/session/86f20e45206a49589a971d4101c81f55?variant=devin