Skip to content

fix(model_prices): registry audit 2026-10-17, Perplexity decider v1.2 rows, Azure Mistral and Vertex Gemini deprecation dates - #47114

Merged
klu-berri merged 3 commits into
mainfrom
litellm_registry_audit_2026_10_17
Oct 17, 2026
Merged

klu-berri merged 3 commits into
mainfrom
litellm_registry_audit_2026_10_17

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

TLDR

Problem this solves:

How it solves it:

  • Adds deprecation_date to three Azure AI Mistral rows and four Vertex Gemini rows
  • Adds four Perplexity decision model rows priced from the Decisions API docs
  • Root registry and bundled backup stay byte-identical

Relevant issues

Supports #26900

Changes and sources

Perplexity

Source https://docs.perplexity.ai/docs/decisions/quickstart, which lists $0.02 per 1M input tokens for pplx-decider-v1.2, $0.01 for pplx-decider-flash-v1.2, free output tokens and a 256K token context window, and says pplx-decider-latest and pplx-decider-flash-latest select those two models and bill at their rates. The rows use mode evaluation like the existing perplexity/pplx-decider-v1.1-27b row

Key input_cost_per_token output_cost_per_token max_input_tokens
perplexity/pplx-decider-v1.2 2e-08 0.0 262144
perplexity/pplx-decider-latest 2e-08 0.0 262144
perplexity/pplx-decider-flash-v1.2 1e-08 0.0 262144
perplexity/pplx-decider-flash-latest 1e-08 0.0 262144

Azure AI and Vertex AI deprecation dates

Every Azure and Vertex date below was read from the raw HTML table of the official page and cross-checked against the r.jina.ai extraction of the same page, and both agree

Azure retirement schedule (https://learn.microsoft.com/en-us/azure/foundry/openai/concepts/model-retirement-schedule), Mistral AI section, retirement date 2026-12-09 for Ministral-3B, mistral-medium-2505 and mistral-small-2503

Key Field Before After
azure_ai/ministral-3b deprecation_date none 2026-12-09
azure_ai/mistral-medium-2505 deprecation_date none 2026-12-09
azure_ai/mistral-small-2503 deprecation_date none 2026-12-09

Vertex AI model versions (https://cloud.google.com/vertex-ai/generative-ai/docs/learn/model-versions), retirement column. The page lists these as "or later" dates, and the registry already stores that earliest date for the same kind of row (for example vertex_ai/gemini-3.5-flash is 2027-05-19 from "May 19, 2027 or later")

Key Field Before After Page value
vertex_ai/gemini-4-argon deprecation_date none 2027-10-13 October 13, 2027 or later
vertex_ai/gemini-3.8-flash deprecation_date none 2027-09-02 September 2, 2027 or later
gemini-3.8-flash (vertex_ai-language-models) deprecation_date none 2027-09-02 September 2, 2027 or later
vertex_ai/gemini-3.8-live deprecation_date none 2027-09-25 September 25, 2027 or later

Checked and left alone

A later run on 2026-10-17 diffed each provider's live model API against the registry. OpenAI (only fine-tuning checkpoints missing), Anthropic, xAI, Mistral and DeepSeek had no missing models, and the newest Anthropic rows (claude-opus-5-5, claude-sonnet-5-5, claude-haiku-5-5 with its 100k tiers) match https://platform.claude.com/docs/en/about-claude/pricing

gemini/gemini-4-argon keeps max_output_tokens 1048576 because https://ai.google.dev/gemini-api/docs/models/gemini-4-argon says 65,536 by default but up to 1,048,576 with long decode. deepseek/deepseek-flash and deepseek/deepseek-v4-pro keep max_input_tokens 1000000 since https://api-docs.deepseek.com/quick_start/pricing only says "1M" while the API says 1048576. mistral/codestral-2508 keeps 128000 because https://docs.mistral.ai/models/codestral-25-08 says 128k while the Mistral models API reports 256000. Gemini API IDs antigravity-preview-* and aqa get no rows since https://ai.google.dev/gemini-api/docs/pricing publishes no per-model token price for them

Cohere command-a-reasoning-08-2025 and command-a-vision-07-2025 are listed on https://docs.cohere.com/docs/models but https://cohere.com/pricing shows no per-token price for them, so no rows were added. embed-multilingual-light-v3.0 has input_cost_per_token 0.0001 ($100 per 1M), far above its 1e-07 siblings, but that pricing page lists no per-token Embed v3 price to confirm a correction, so it is flagged only. Fireworks accounts/fireworks/models/qwen3p8-2p4t-a95b is on-demand only per https://fireworks.ai/models/fireworks/qwen3p8-2p4t-a95b ("Serverless: Not supported"), so it has no per-token price. Groq allam-2-7b appears in the Groq models API, but no official per-token price was found for it. OpenRouter rows were removed on purpose in a five-part series ending with #45669, so none were re-added. ci_cd/cost_map_pins.json does not exist on main, so no pinned flags applied

azure_ai/kimi-k2.7-code and azure_ai/claude-opus-5-5-fast keep their Models API dates (2027-04-16 and 2027-10-01) even though the retirement schedule page says 2026-10-03 and 2027-01-15, since #45945 moved kimi-k2.7-code to the Models API date on purpose. azure/gpt-realtime-2 keeps 2026-10-31 because the schedule page shows no date to compare against. azure/gpt-realtime-mini-2025-10-06 has two rows on the schedule page with different dates, so it stays as is

Bedrock legacy lifecycle (https://docs.aws.amazon.com/bedrock/latest/userguide/model-lifecycle-legacy.html) lists Claude 3.5 Sonnet, 3.5 Sonnet v2 and 3.7 Sonnet with EOL 2026-11-13 only in a few regions, so a region-agnostic date was not added. Vertex rows that say "No retirement date announced" (gemini-4-argon-cyber-permissive, gemini-3.8-flash-cyber, gemini-nano-banana-2.1, gemini-embedding-2) get no date

OpenAI, Anthropic, Gemini API and Groq deprecation tables matched the registry for every key that maps cleanly

Other open registry PRs

None were absorbed. #41376 adds flags to xAI grok-4 rows that were already removed from main after their 2026-05-15 deprecation, so it has nothing left to apply. #46856 is the scripted daily Together AI sync and is left to that pipeline. #44651 adds SambaNova rows a maintainer already declined to take through the rolling PR. #29898 and the other open PRs that touch the JSON are code or provider changes that only touch it incidentally

Pre-Submission checklist

  • The handful of test files covering my change pass locally
  • My PR's scope is as isolated as possible; it only solves 1 specific problem

Screenshots / Proof of Fix

Data-only change. python3 ci_cd/check_files_match.py passes with both files unchanged by the check, duplicate-key JSON parsing passes for both files, and LITELLM_LOCAL_MODEL_COST_MAP=True uv run --no-sync pytest -q tests/unit/test_model_cost_aliases.py and tests/unit/test_cost_map_guard.py plus tests/unit/test_model_prices_and_context_window.py pass (109 passed)

Type

🐛 Bug Fix

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

…x Gemini deprecation dates

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

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

✅ 32 untouched benchmarks


Comparing litellm_registry_audit_2026_10_17 (238b599) with main (03e3e71)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (b5037f2) during the generation of this report, so 03e3e71 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@codecov

codecov Bot commented Oct 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@BrickerP BrickerP left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review (APPROVE)

Checked head 50f2cd06997286218cedde7828c92d8a0324a5fd. Root model_prices_and_context_window.json and litellm/model_prices_and_context_window_backup.json share the same blob SHA (76efee084621…), so the pair stays byte-identical.

Dates vs sources

  • Azure AI Mistral (azure_ai/ministral-3b, azure_ai/mistral-medium-2505, azure_ai/mistral-small-2503) → 2026-12-09 matches the MS Learn Foundry retirement schedule (partners Mistral AI section).
  • Vertex: vertex_ai/gemini-4-argon → 2027-10-13, vertex_ai/gemini-3.8-flash + bare gemini-3.8-flash (vertex_ai-language-models) → 2027-09-02, vertex_ai/gemini-3.8-live → 2027-09-25 match Google’s model-versions retirement column (“… or later”), same earliest-date convention as existing vertex_ai/gemini-3.5-flash (2027-05-19).
  • Cyber / “no retirement date announced” rows correctly left alone.

Data-only, keys look right, no mismatched dates. LGTM.

…ows with latest aliases

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration devin-ai-integration Bot changed the title fix(model_prices): registry audit 2026-10-17, Azure Mistral and Vertex Gemini deprecation dates fix(model_prices): registry audit 2026-10-17, Perplexity decider v1.2 rows, Azure Mistral and Vertex Gemini deprecation dates Oct 17, 2026
@klu-berri
klu-berri enabled auto-merge (squash) October 17, 2026 19:15
@klu-berri
klu-berri merged commit d81472f into main Oct 17, 2026
92 checks passed
@klu-berri
klu-berri deleted the litellm_registry_audit_2026_10_17 branch October 17, 2026 19:16
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.

3 participants