Skip to content

fix(model_prices): registry audit 2026-10-15, OpenAI GPT-4 shutdown dates, Azure gpt-chat-latest, xAI voice text input, Sail prices - #46675

Merged
klu-berri merged 1 commit into
mainfrom
litellm_registry_audit_2026_10_15
Oct 15, 2026
Merged

klu-berri merged 1 commit into
mainfrom
litellm_registry_audit_2026_10_15

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

TLDR

Problem this solves:

  • Five OpenAI GPT-4o and GPT-4.1 snapshots had no shutdown date
  • Azure gpt-chat-latest carried a retirement date no longer in Microsoft's schedule
  • xAI voice models did not bill the per text input charge
  • Sail DeepSeek V4.1 Flash prices were stale after the 2026-10-06 price cut

How it solves it:

  • Adds deprecation_date 2027-01-14 to the OpenAI snapshots and their ft: keys
  • Moves Azure gpt-chat-latest to 2027-05-18, the newest version's retirement
  • Adds input_cost_per_text_message 0.004 to the three xAI voice keys
  • Sets Sail DeepSeek V4.1 Flash prices for the asap, balanced and flex windows

Changes 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-14 and the matching ft: keys get deprecation_date 2027-01-14. The raw deprecations page lists all five snapshots with a January 14, 2027 shutdown. The bare gpt-4o, gpt-4o-mini, gpt-4.1 and gpt-4.1-mini aliases are left alone since they are not in that row. Source https://developers.openai.com/api/docs/deprecations

azure/gpt-chat-latest, azure/us/gpt-chat-latest and azure_ai/gpt-chat-latest move from 2026-12-02 to 2027-05-18. The old date no longer appears in the schedule. The newest gpt-chat-latest version 2026-10-07 retires 2027-05-18, which follows the newest-version convention these keys and model-router already use. Source https://learn.microsoft.com/en-us/azure/foundry/openai/concepts/model-retirement-schedule

xai/grok-voice-3.0, xai/grok-voice-latest and xai/grok-voice-2.0 get input_cost_per_text_message 0.004, matching "$0.004 / text input" in the Voice API table and realtimeTextInputPrice in the page data. cost_calculator.py already reads this field, and the schema gains the property. Source https://docs.x.ai/developers/pricing

sail/deepseek-ai/DeepSeek-V4.1-Flash input 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/pricing

Absorbed 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-by trailer

Not 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 Cohere north-large-01-2026 from an API listing, and the model is not on Cohere's public models page. #43753 adds a bare deepseek-v3 key that DeepSeek's pricing page no longer lists. #43879 adds an unprefixed kimi-k2.5 key 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 alone

Checked 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.py passes

Pre-Submission checklist

  • The handful of test files covering my change pass locally, e.g. uv run pytest tests/unit/<your_test_file>.py -v
  • My PR's scope is as isolated as possible; it only solves 1 specific problem

Screenshots / Proof of Fix

$ python3 ci_cd/check_files_match.py
Passed! Files model_prices_and_context_window.json and litellm/model_prices_and_context_window_backup.json match.
$ uv run --no-sync python ci_cd/generate_model_prices_schema.py --check
model_prices_and_context_window.schema.json is in sync and model_prices_and_context_window.json validates against it
$ LITELLM_LOCAL_MODEL_COST_MAP=True uv run --no-sync pytest -q tests/unit/test_model_prices_schema.py tests/unit/test_model_cost_aliases.py tests/unit/test_utils.py -k 'schema or prices or cost'
127 passed, 1 skipped

Link to Devin session: https://app.devin.ai/sessions/9ef3202d2813420fae500f3795b692cf
Open in Devin Desktop: https://app.devin.ai/desktop/session/9ef3202d2813420fae500f3795b692cf?variant=devin

…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>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@greptile-apps

greptile-apps Bot commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Automatic reviews are disabled for this repository.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@codspeed

codspeed Bot commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

⚠️ 1 benchmark spent significant time in system calls

System calls cannot be consistently instrumented, so they are not included in the measure, which understates the real cost. Please switch to the Walltime instrument to accurately measure system calls.

Measurement and system calls

✅ 31 untouched benchmarks


Comparing litellm_registry_audit_2026_10_15 (75027d5) with main (d1a7fcd)

Open in CodSpeed

@codecov

codecov Bot commented Oct 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@klu-berri
klu-berri merged commit 53cd1d4 into main Oct 15, 2026
87 checks passed
@klu-berri
klu-berri deleted the litellm_registry_audit_2026_10_15 branch October 15, 2026 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants