Repository navigation
fix(model_prices): registry audit 2026-10-15, OpenAI GPT-4 shutdown dates, Azure gpt-chat-latest, xAI voice text input, Sail prices - #46675
Conversation
…tdown dates, Azure gpt-chat-latest retirement, xAI voice text input, Sail DeepSeek V4.1 Flash prices Co-authored-by: Kavin Anand <kavin@sailresearch.com> 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)".
|
|
Automatic reviews are disabled for this repository. |
|
|
Merging this PR will not alter performance
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
TLDR
Problem this solves:
gpt-chat-latestcarried a retirement date no longer in Microsoft's scheduleHow it solves it:
deprecation_date2027-01-14 to the OpenAI snapshots and theirft:keysgpt-chat-latestto 2027-05-18, the newest version's retirementinput_cost_per_text_message0.004 to the three xAI voice keysChanges and sources
OpenAI
gpt-4o-2024-08-06,gpt-4o-2024-11-20,gpt-4o-mini-2024-07-18,gpt-4.1-2025-04-14,gpt-4.1-mini-2025-04-14and the matchingft:keys getdeprecation_date2027-01-14. The raw deprecations page lists all five snapshots with a January 14, 2027 shutdown. The baregpt-4o,gpt-4o-mini,gpt-4.1andgpt-4.1-minialiases are left alone since they are not in that row. Source https://developers.openai.com/api/docs/deprecationsazure/gpt-chat-latest,azure/us/gpt-chat-latestandazure_ai/gpt-chat-latestmove from 2026-12-02 to 2027-05-18. The old date no longer appears in the schedule. The newestgpt-chat-latestversion 2026-10-07 retires 2027-05-18, which follows the newest-version convention these keys andmodel-routeralready use. Source https://learn.microsoft.com/en-us/azure/foundry/openai/concepts/model-retirement-schedulexai/grok-voice-3.0,xai/grok-voice-latestandxai/grok-voice-2.0getinput_cost_per_text_message0.004, matching "$0.004 / text input" in the Voice API table andrealtimeTextInputPricein the page data.cost_calculator.pyalready reads this field, and the schema gains the property. Source https://docs.x.ai/developers/pricingsail/deepseek-ai/DeepSeek-V4.1-Flashinput and output per million tokens become 0.09 and 0.30 (asap), 0.07 and 0.22 (balanced), 0.05 and 0.15 (flex). Cached input is unchanged. Source https://docs.sailresearch.com/pricingAbsorbed and superseded PRs
#46528 (Sail DeepSeek V4.1 Flash prices) and #46666 (xAI voice text input charge) were re-verified against the sources above and absorbed field by field. Credit for #46528 goes to its author via a
Co-authored-bytrailerNot absorbed
#46615 adds
gpt-5.5-cyber-preview, but the model is not on OpenAI's pricing page, so it is dropped as unverifiable. #46589 adds Coherenorth-large-01-2026from an API listing, and the model is not on Cohere's public models page. #43753 adds a baredeepseek-v3key that DeepSeek's pricing page no longer lists. #43879 adds an unprefixedkimi-k2.5key and reformats unrelated pattern blocks. #41376 adds capability flags to xAI Grok 4 keys that retired on 2026-05-15 and are no longer documented. All of these stay open. PRs that change code and only touch the JSON incidentally, such as #29898, are left aloneChecked with no change
Anthropic, Gemini, Vertex, Mistral, Cohere and Together AI deprecation tables were compared row by row against the registry. Rows already matched, used "not sooner than" or "or later" wording that has no fixed date, or did not map to one exact registry key. No pinned capability is lowered, and
ci_cd/cost_map_guard.pypassesPre-Submission checklist
uv run pytest tests/unit/<your_test_file>.py -vScreenshots / Proof of Fix
Link to Devin session: https://app.devin.ai/sessions/9ef3202d2813420fae500f3795b692cf
Open in Devin Desktop: https://app.devin.ai/desktop/session/9ef3202d2813420fae500f3795b692cf?variant=devin