Skip to content

fix(cost-map): rolling registry audit, add elevenlabs api rates, together minimax-m3.1-flash, mistral voxtral 3 and azure_ai phi-4 dates - #47623

Merged
kerry-berri merged 6 commits into
mainfrom
litellm_registry_audit_2026_10_20_voxtral3
Oct 23, 2026
Merged

kerry-berri merged 6 commits into
mainfrom
litellm_registry_audit_2026_10_20_voxtral3

Conversation

@devin-ai-integration

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

Copy link
Copy Markdown
Contributor

Rolling registry PR. It adds cost map rows for the Mistral Voxtral 3 transcription and speech models, which the Mistral API already serves but LiteLLM could not price, and adds the Microsoft Foundry retirement date for the five Phi-4 models so the deprecation alerts from #26900 can warn about them. The latest run also prices the newer ElevenLabs speech models at the published API rates and adds Together's MiniMax M3.1 Flash. Each run of the registry audit re-checks every open registry PR and rolls verified data changes in here

Details

TLDR

Problem this solves:

  • Voxtral 3 models listed by Mistral's /v1/models have no cost map rows
  • Transcription and speech calls to them log zero spend
  • azure_ai/Phi-4* rows have no deprecation_date though Microsoft scheduled retirement
  • ElevenLabs v3 and Multilingual v2 are billed at a $0.18 plan rate
  • ElevenLabs v4, Flash and Turbo speech models have no rows
  • Together MiniMaxAI/MiniMax-M3.1-Flash has no row

How it solves it:

  • Adds 8 Mistral rows (dated -3-0 ids and their -3 aliases)
  • Adds deprecation_date 2027-01-17 to 5 azure_ai/Phi-4* rows
  • Sets ElevenLabs v3 and Multilingual v2 to $0.08 per 1K characters
  • Adds 7 ElevenLabs speech rows and 1 Together chat row
  • Every added value cites an official provider page

User Flow

Before: a developer transcribing audio with the newest Voxtral model gets no spend tracked

  1. They call litellm.transcription(model="mistral/voxtral-mini-transcribe-3-0", file=...)
  2. The transcript comes back but the model is unknown to the cost map, so spend reads 0

After: the same call is priced at Mistral's published per-minute rate

  1. They call litellm.transcription(model="mistral/voxtral-mini-transcribe-3-0", file=...)
  2. response_cost is the audio duration times $0.0035 a minute

Relevant issues

Supports #26900

Changes by provider

Mistral (added 2026-10-20)

Values read from the raw HTML of each model page, cross-checked against https://api.mistral.ai/v1/models which lists all four dated ids (re-confirmed on 2026-10-21). Per-minute prices are stored as input_cost_per_second (price / 60), matching the existing Voxtral rows

Key(s) Mode Price on page Stored value Source
mistral/voxtral-mini-transcribe-3-0, mistral/voxtral-mini-transcribe-3 audio_transcription $0.0035 /Min 5.83333e-05 per second https://docs.mistral.ai/models/voxtral-mini-transcribe-3-0
mistral/voxtral-small-transcribe-3-0, mistral/voxtral-small-transcribe-3 audio_transcription $0.004 /Min 6.66667e-05 per second https://docs.mistral.ai/models/voxtral-small-transcribe-3-0
mistral/voxtral-mini-transcribe-realtime-3-0, mistral/voxtral-mini-transcribe-realtime-3 audio_transcription $0.008 /Min 1.33333e-04 per second https://docs.mistral.ai/models/voxtral-mini-transcribe-realtime-3-0
mistral/voxtral-mini-tts-3-0, mistral/voxtral-mini-tts-3 audio_speech $13 /M Chars 1.3e-05 per character https://docs.mistral.ai/models/voxtral-mini-tts-3-0

Azure AI Foundry (deprecation dates added 2026-10-21)

Read from the table rows of the raw HTML of https://learn.microsoft.com/en-us/azure/foundry/openai/concepts/model-retirement-schedule, which lists Phi-4, Phi-4-mini-instruct, Phi-4-mini-reasoning, Phi-4-multimodal-instruct and Phi-4-reasoning with retirement date 2027-01-17. Only the deprecation_date field was added, in the same YYYY-MM-DD shape the registry already uses

Key Field Value
azure_ai/Phi-4 deprecation_date 2027-01-17
azure_ai/Phi-4-mini-instruct deprecation_date 2027-01-17
azure_ai/Phi-4-mini-reasoning deprecation_date 2027-01-17
azure_ai/Phi-4-multimodal-instruct deprecation_date 2027-01-17
azure_ai/Phi-4-reasoning deprecation_date 2027-01-17

ElevenLabs (changed 2026-10-23, absorbs #47917)

Rates read from the raw HTML of https://elevenlabs.io/pricing/api, which lists Text to Speech per 1K characters as v4 $0.08, v4 Turbo $0.04, v3 $0.08, v3 Conversational $0.04, Multilingual v2 $0.08 and Flash / Turbo $0.04. Model ids come from https://api.elevenlabs.io/v1/models. The old $0.18 value was the Scale plan credit rate, not the API usage price

Key Change Stored value
elevenlabs/eleven_v3 price, source, calculation note 8e-05 per character
elevenlabs/eleven_multilingual_v2 price, source, calculation note 8e-05 per character
elevenlabs/eleven_v4 new row 8e-05 per character
elevenlabs/eleven_v4_turbo new row 4e-05 per character
elevenlabs/eleven_v3_conversational new row 4e-05 per character
elevenlabs/eleven_flash_v2_5, elevenlabs/eleven_flash_v2 new rows 4e-05 per character
elevenlabs/eleven_turbo_v2_5, elevenlabs/eleven_turbo_v2 new rows 4e-05 per character

tests/unit/test_elevenlabs_tts_pricing.py comes from #47917 unchanged

Together AI (added 2026-10-23)

together_ai/MiniMaxAI/MiniMax-M3.1-Flash is priced at $0.15 input, $0.015 cached input and $0.60 output per 1M tokens per the raw HTML of https://www.together.ai/pricing, with the 1048576 context taken from https://api.together.xyz/v1/models. No capability flags were set since the pricing page documents none

Checked and left unchanged

Azure azure/gpt-realtime-mini-2025-10-06 keeps 2027-04-06 because the retirement schedule lists the model twice with different dates, and azure_ai/claude-opus-5-5-fast keeps 2027-10-01 since the schedule's 2027-01-15 conflicts with the other Microsoft page. Both stay until Microsoft's pages agree

Bedrock legacy EOL dates on https://docs.aws.amazon.com/bedrock/latest/userguide/model-lifecycle.html are region specific. Claude 3.5 Sonnet, Claude 3.7 Sonnet, Marengo Embed 3.0 and the us-gov Llama 3 and Sonnet 4.5 rows are scheduled only in regions that do not match the registry key, so no dates were set on the global or us-gov keys

Together openai/gpt-oss-20b and google/gemma-4-31B-it show 2026-09-14 in the scheduled table and 2026-09-15 in the inference table of https://docs.together.ai/docs/deprecations, so the registry's 2026-09-15 stays. The 2026-07-29 rows on that page are fine-tuning removals, which do not retire serverless inference, so they were not applied

Vertex rows whose retirement on https://cloud.google.com/vertex-ai/generative-ai/docs/learn/model-versions reads "or later" or "no sooner than" were not changed

Mistral codestral-2508 and codestral-latest report 256000 context on /v1/models, but https://docs.mistral.ai/models/codestral-25-08 still says 128k, so the registry's 128k stays. The API also flags labs-leanstral-1-5 and labs-leanstral-1-5-1 with vision and reasoning, but https://docs.mistral.ai/models/leanstral-1-5 lists neither, so no flags were added

Gemini antigravity-preview-* models are billed at the underlying Gemini rates per https://ai.google.dev/gemini-api/docs/pricing, so they have no price of their own. Groq allam-2-7b is listed by /openai/v1/models but not on https://groq.com/pricing, so no row was added. The Fireworks API key on this account is suspended, so Fireworks was checked only against https://fireworks.ai/pricing

OpenAI, Anthropic, xAI and DeepSeek model lists have no missing entries apart from account fine-tunes

Left unchanged on the 2026-10-23 run: Mistral zai-glm-5-3-flash is served by /v1/models, but https://docs.mistral.ai/models/zai-glm-5-3-flash shows $0.03 cached input on $0.15 input while https://docs.mistral.ai/studio/conversations/advanced/prompt-caching says cached tokens bill at 10%, so no row was added until the two pages agree. Together Qwen/Qwen3.7-Max shows $2.50 and $7.50 on /v1/models but $1.50 and $4.50 on https://www.together.ai/pricing, which matches the registry, so it stays. Together Salesforce/Llama-Rank-V1 and BAAI/bge-base-en-v1.5 show an output price only on /v1/models and not on the pricing page, so output stays 0. Gemini gemini-4-argon reports 32768 output tokens on the API while https://ai.google.dev/gemini-api/docs/models documents decodes up to 1M, so the registry stays. Fireworks qwen3p8-2p4t-a95b is on-demand only on https://fireworks.ai/models/fireworks/qwen3p8-2p4t-a95b with no serverless per-token price, and the spot router ids on /inference/v1/models have no rows on https://fireworks.ai/pricing. OpenRouter rows were removed from the registry on purpose in #45669, so none were added. The xAI API key is out of credits, so xAI was checked only against https://docs.x.ai/docs/models, where grok-4.7 at 500k context and $2 and $6 per 1M matches the registry

Open registry PRs reviewed

#47917 (ElevenLabs API rates) was re-verified against https://elevenlabs.io/pricing/api and absorbed with its test on 2026-10-23. #36274 is contradicted by the Azure retail prices API, which lists gpt-5.6 terra Global input at $2.0 and output at $12.0 per 1M and luna at $0.2 and $1.2, the values already on main. #40368 and #41376 edit keys that no longer exist on main. #43753 and #43879 add bare duplicates of deepseek/deepseek-v3 and moonshot/kimi-k2.5, which already exist. #36385 and #33930 have no AWS doc confirming the Bedrock Mantle limits or the zero price. #33966 has no published GitHub Copilot per-token price. #37972 cites no provider pricing page. #46856, #41775 and #47269 were dropped on earlier runs for conflicting prices and model availability. #34609 and #41857 change Bedrock strict-tools behavior with their own tests, and #43390 adds the capability pins file with its tooling, so they were left alone. PRs opened since the last run that touch the JSON (#47806, #47800, #47782, #47730, #47720, #47715, #47697, #47679) are code or feature changes and were left alone too

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. Leave the suites (make test-unit-*, make test-unit) to CI: it finishes in ~15 minutes where a laptop takes an hour or more
  • My PR passes all required CI/CD checks (e.g., lint, schema.d.ts sync check, etc.)
  • My PR's scope is as isolated as possible; it only solves 1 specific problem

Screenshots / Proof of Fix

Real Mistral transcription calls with the SDK and LITELLM_LOCAL_MODEL_COST_MAP=True, transcribing tests/gettysburg.wav (17.58 seconds)

After (c759962)

  1. litellm.speech(model="elevenlabs/eleven_v4", input="hello", voice="EXAVITQu4vr4xnSDxMaL") returned audio with response_cost 0.0004 (5 characters x 8e-05)
  2. litellm.speech(model="elevenlabs/eleven_flash_v2_5", input="hello", voice="EXAVITQu4vr4xnSDxMaL") returned audio with response_cost 0.0002 (5 characters x 4e-05)
  3. litellm.completion(model="together_ai/MiniMaxAI/MiniMax-M3.1-Flash", messages=[{"role":"user","content":"say hi"}]) returned "Hi!" with response_cost 3.9e-05
  4. python3 ci_cd/check_files_match.py passed, LITELLM_LOCAL_MODEL_COST_MAP=True uv run --no-sync pytest -q tests/unit/test_model_prices_and_context_window.py tests/unit/test_model_cost_aliases.py tests/unit/test_elevenlabs_tts_pricing.py gave 93 passed, and the cost map guard passed against main

After (dcd8703)

  1. litellm.transcription(model="mistral/voxtral-mini-transcribe-3-0", file=open("tests/gettysburg.wav","rb")) returned "Four score and seven years ago..." with response_cost 0.001025327 (17.577 s x 5.83333e-05)
  2. litellm.transcription(model="mistral/voxtral-small-transcribe-3", ...) returned the same transcript with response_cost 0.001171804 (17.577 s x 6.66667e-05)
  3. litellm.get_model_info("mistral/voxtral-mini-tts-3-0")["input_cost_per_character"] returned 1.3e-05

After (f0980a9)

  1. Both JSON files hash to the same sha256 and python3 ci_cd/check_files_match.py passed
  2. LITELLM_LOCAL_MODEL_COST_MAP=True uv run --no-sync pytest -q tests/unit/test_model_prices_and_context_window.py tests/unit/test_model_cost_aliases.py gave 85 passed
  3. The five azure_ai/Phi-4* keys are the only rows carrying deprecation_date 2027-01-17, and git diff origin/main --stat touches only the two JSON files

Type

🐛 Bug Fix

Caveats (if any)

Low

  • ci_cd/cost_map_pins.json is not on main, so no pinned flags were checked
  • ci_cd/generate_model_prices_schema.py is not on main, so no schema was regenerated

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

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 20, 2026 •

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

1 warning

⚠️ 1 benchmark is dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

✅ 35 untouched benchmarks


Comparing litellm_registry_audit_2026_10_20_voxtral3 (8970980) with main (52166b5)

Open in CodSpeed

@codecov

codecov Bot commented Oct 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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(cost-map): registry audit 2026-10-20, add mistral voxtral 3 transcription and tts rows fix(cost-map): rolling registry audit, add mistral voxtral 3 rows and azure_ai phi-4 retirement dates Oct 21, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit f0980a9. Configure here.

Comment thread model_prices_and_context_window.json Resolved
devin-ai-integration Bot and others added 2 commits October 23, 2026 19:07
…s and together minimax-m3.1-flash

Co-authored-by: Shebin Sabu <85486313+shebin09@users.noreply.github.com>
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(cost-map): rolling registry audit, add mistral voxtral 3 rows and azure_ai phi-4 retirement dates fix(cost-map): rolling registry audit, add elevenlabs api rates, together minimax-m3.1-flash, mistral voxtral 3 and azure_ai phi-4 dates Oct 23, 2026
Co-authored-by: Shebin Sabu <85486313+shebin09@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@kerry-berri
kerry-berri merged commit f3d53a9 into main Oct 23, 2026
85 of 86 checks passed
@kerry-berri
kerry-berri deleted the litellm_registry_audit_2026_10_20_voxtral3 branch October 23, 2026 21:57
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