Repository navigation
feat(model_prices): registry audit 2026-10-16, GPT-4o/4.1 alias shutdown dates, CompactifAI and SambaNova MiniMax-M3 - #46886
devin-ai-integration[bot] wants to merge 8 commits into
Conversation
…s shutdown dates, drop unpriced wandb Nemotron 3.5 Super VL row Co-authored-by: mateo <mateo@berri.ai> Co-authored-by: Kerry Lu <klu@berri.ai> 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! |
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…-M3 pricing Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Favour Adesiyan <101547081+favouradesiyan@users.noreply.github.com> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…der sets Co-authored-by: Favour Adesiyan <101547081+favouradesiyan@users.noreply.github.com> Co-authored-by: Jorge Piedrahita Ortiz <166410071+snova-jorgep@users.noreply.github.com> 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>
|
Closing at a maintainer's request. The CompactifAI and SambaNova additions and the GPT-4o and GPT-4.1 alias dates are not merging from here |
TLDR
Problem this solves:
gpt-4o,gpt-4o-mini,gpt-4.1,gpt-4.1-minialiases carry no shutdown dateMiniMax-M3has no registry entryHow it solves it:
deprecation_date: 2027-01-14to the four bare OpenAI aliasescompactifai/*chat entries and registerscompactifailike sibling provider setssambanova/MiniMax-M3input, cached input and output pricingRolling registry audit for 2026-10-16. A later run on the same day merged current
maininto this branch and absorbed #43457 and part of #44651 at field levelSources
OpenAI
https://developers.openai.com/api/docs/deprecations, raw HTML rows read: "GPT-4o (gpt-4o-2024-08-06, gpt-4o-2024-11-20)", "GPT-4o mini (gpt-4o-mini-2024-07-18)", "GPT-4.1 (gpt-4.1-2025-04-14)" and "GPT-4.1 mini (gpt-4.1-mini-2025-04-14)", each with shutdown date January 14, 2027. The snapshot rows already carry 2027-01-14 and the bare aliases resolve to them, so they get the same date (from #46732)
CompactifAI
https://docs.compactif.ai/pricing/ raw HTML table, per 1M tokens input / cached input / output:
carina-60b$0.05 / - / $0.20,qwen-3-8-27b$0.40 / - / $2.00,glm-5-2$1.10 / $0.22 / $3.50,glm-5-3$1.10 / $0.22 / $3.50,quasar-358b$0.60 / $0.12 / $1.80,quasar-438b$0.60 / - / $1.80. All six model ids are listed as available on https://docs.compactif.ai/models/glm-5-2,glm-5-3andquasar-438bcome from #43457, along with itslitellm/__init__.pyprovider model set and itstests/unit/test_cost_calculator.pycost test. The cached input prices and the other three models are added in this run. #43457'ssupports_function_calling,supports_reasoning,supports_response_schemaandreasoning_effort_levelsflags are not taken because no CompactifAI doc page states them, and no context limits are set because the docs publish noneSambaNova
https://cloud.sambanova.ai/plans/pricing (Jina cross-check of the JS-rendered page), row "MiniMax-M3 | 0.06 USD | 0.60 USD | 2.40 USD" for cached input, input and output per 1M tokens. Taken from #44651 plus the cached input price. #44651's capability flags and its 1048576 input and output limits are not taken, since https://docs.sambanova.ai/docs/en/models/sambacloud-models only says "1M tokens" and publishes no output cap
Checked with no change
OpenAI, Anthropic, xAI, Mistral and DeepSeek live model lists have no missing chat models. xAI
grok-4.3throughgrok-4.7pricing and vision flags match the APIDeepSeek https://api-docs.deepseek.com/quick_start/pricing lists "1M" context and "MAXIMUM: 384K" output. The registry's 1000000 / 393216 and peak pricing match. The API's 1048576 context is not adopted because the docs say 1M
Mistral https://docs.mistral.ai/models/codestral-25-08 lists 128k context, matching the registry, so the Models API's 256000 is not adopted
Gemini https://ai.google.dev/gemini-api/docs/models/gemini-nano-banana-2.1 lists 131,072 input and 32,768 output tokens, matching the registry. The Models API reports different limits for
gemini-4-argonandgemini-omni-1.1-flash, but their model pages publish no token limits, so nothing changes.antigravity-preview-*are agent models with no per-token row on https://ai.google.dev/gemini-api/docs/pricingFireworks
accounts/fireworks/models/qwen3p8-2p4t-a95bis listed by the API, but https://fireworks.ai/models/fireworks/qwen3p8-2p4t-a95b (raw HTML, Jina and the rendered page) shows "Serverless: Not supported", so it has no per-token price and is not addedGroq
allam-2-7bis returned by the Models API but is not on https://console.groq.com/docs/models or https://groq.com/pricing, so it is not addedAzure
gpt-5.6-terra/gpt-5.6-lunaprices on main match the Azure Retail Prices API (https://prices.azure.com/api/retail/prices)Absorbed and dropped
Absorbed #46732 (four
deprecation_datefields), #43457 (registry entries, provider set, test) and thesambanova/MiniMax-M3pricing from #44651Dropped from #44651 and left it open. Its removals of
sambanova/DeepSeek-R1andsambanova/Llama-4-Maverick-17B-128E-Instructare lifecycle changes, and its 7168 / 3072 output caps for DeepSeek-V3.1, DeepSeek-V3.2 and Llama-3.3-70B are not published on the SambaNova models or pricing pagesDropped #32117 and left it open. https://cohere.com/pricing no longer lists Embed 3 Light pricing, so
embed-multilingual-light-v3.0stays as isDropped #33497 and left it open.
moonshotai/Kimi-K2.6is not on https://crusoe.ai/cloud/pricing (raw HTML and Jina)Dropped #36274 and left it open. Its Azure GPT 5.6 prices disagree with the Azure Retail Prices API, which matches main
Dropped #29920 (
qwen3.7-maxfiled underlitellm_provider: anthropic, whiledashscope/qwen3.7-maxalready exists) and #29679 (Copilot rows with no official source)Closed as already on main: #30775 (Bedrock
grok-4.3, served through the existingbedrock_mantle/xai.grok-4.3rows), #22086 (o4-mini flex and priority pricing) and #31460 (Fireworksglm-5p2andglm-5p2-fast). #40368 and #38189 edit Claude 3 keys that are no longer on main. #31514 changes code and only touches the JSON incidentally, so it is left aloneDropped #46856 and left it open. It raises Together
Qwen/Qwen3.7-Maxto $2.50 / $0.50 cached / $7.50 per M, but https://www.together.ai/pricing lists $1.50 input, $0.30 cached input, $4.50 output, and it reformats unrelated blocks. #41775 is an older run of the same sync and stays open tooThe open PRs dropped as unverifiable in #46675 (#46615, #46589, #43753, #43879, #41376) still have no official source. #29898 changes code and only touches the JSON incidentally, so it is left alone
No flag pinned in
ci_cd/cost_map_pins.jsonis touchedPre-Submission checklist
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::test_models_by_provider tests/unit/test_cost_calculator.py::test_compactifai_response_cost_uses_provider_catalog(115 passed)Screenshots / Proof of Fix
Data change plus provider set registration.
python3 ci_cd/check_files_match.pypasses,uv run --no-sync python ci_cd/generate_model_prices_schema.py --checkpasses, andscripts/type_discipline_gate.pyandscripts/ruff_strict_gate.pypassType
🆕 New Feature
🐛 Bug Fix
Caveats (if any)
Low
Link to Devin session: https://app.devin.ai/sessions/e01364dc999b46e1b30aa43f24eae34a
Open in Devin Desktop: https://app.devin.ai/desktop/session/e01364dc999b46e1b30aa43f24eae34a?variant=devin