Skip to content

fix(model_prices): rolling registry audit 2026-11-16, add dashscope qwen4-max, max reasoning effort for ChatGPT GPT-5.6 - #52097

Merged
kerry-berri merged 3 commits into
mainfrom
litellm_registry_audit_2026_11_16
Nov 16, 2026
Merged

kerry-berri merged 3 commits into
mainfrom
litellm_registry_audit_2026_11_16

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Handwritten 1-3 sentence description

[insert handwritten description here]

Details

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

TLDR

Problem this solves:

  • Alibaba released qwen4-max with no registry row
  • ChatGPT GPT-5.6 rows hid the documented max effort

How it solves it:

Changes by provider

Alibaba Cloud Model Studio (dashscope)

New row dashscope/qwen4-max, sourced from https://www.alibabacloud.com/help/en/model-studio/qwen4-max and cross-checked against https://www.alibabacloud.com/help/en/model-studio/model-pricing. The International (Singapore) row lists $1.5 input and $4.5 output per 1M tokens for 0<Token<=1M, so input_cost_per_token is 1.5e-06 and output_cost_per_token is 4.5e-06. The context limits table gives 991,808 max input (non-thinking) and 131,072 max output (non-thinking). The capability table lists text, image and video input, deep thinking, function calling, parallel tool calling, web search, structured output and explicit plus implicit cache, which map to the flags on the row. No cache read or write prices were added because https://www.alibabacloud.com/help/en/model-studio/explicit-cache-qwen4#billing only states approximate percentages for writes and leaves the Qwen4-Max cache read cell empty, in both raw HTML and r.jina.ai. supports_tool_choice was not added since the page does not mention it.

ChatGPT (partly absorbed from #48098)

supports_max_reasoning_effort set to true on chatgpt/gpt-5.6-sol, chatgpt/gpt-5.6-luna and chatgpt/gpt-5.6-terra, which are responses mode rows like chatgpt/gpt-6-astra that already carries true on main. OpenAI's model pages https://developers.openai.com/api/docs/models/gpt-5.6-sol, https://developers.openai.com/api/docs/models/gpt-5.6-luna and https://developers.openai.com/api/docs/models/gpt-5.6-terra say reasoning.effort supports none, low, medium, high, xhigh and max.

The rest of #48098 (plain gpt-5.6-*, azure/*gpt-5.6-*, azure/*gpt-6-astra and azure_ai/gpt-6-astra) was not taken. Azure's https://learn.microsoft.com/en-us/azure/foundry/openai/how-to/reasoning says max works only on the Responses API, and the existing unit tests keep this route-blind flag off for rows that also serve Chat Completions, which reject max. Setting it failed those tests in CI, so #48098 stays open for its author.

Checked with no change needed

OpenAI prices for gpt-6-astra, gpt-6.1-sol, gpt-6.1-terra and gpt-6-luna, including fast and ultrafast tiers, match https://developers.openai.com/api/docs/pricing. Claude Fable 5.2 matches https://platform.claude.com/docs/en/about-claude/pricing. Gemini 4 Hydrogen and Gemini 4 Carbon match https://ai.google.dev/gemini-api/docs/pricing. Carbon's announced December 1, 2026 increase to $4 and $20 is not in effect yet, so its row stays at today's price. Model list diffs against the OpenAI, Anthropic, xAI, Mistral, DeepSeek, Voyage and Perplexity catalogs found nothing missing.

Not changed, and why

Together lists 25 image models with published per-image or per-megapixel prices that have no registry rows, but LiteLLM has no Together image generation route, so they were left out. Together's 82 other missing catalog ids have no exact published per-token price on https://www.together.ai/pricing. Fireworks accounts/fireworks/models/qwen3p8-2p4t-a95b shows in the inference API but its model page says "Serverless Not Supported" and no token price is published on https://fireworks.ai/pricing or the model page. Nebius could not be diffed because its models API needs a key. Gemini models/aqa, Groq allam-2-7b and the Cohere catalog gaps had no published per-token price.

Other registry-only open PRs were re-checked and not absorbed. #49367 sets supports_sampling_params false for Bedrock Grok and Kimi rows, #48582 and #32455 set bedrock_converse_supports_strict_tools false for Bedrock Claude rows, and #48732 sets supports_system_messages for o3 and o4-mini. Each rests on live API behavior that the provider docs do not state, so they stay open for their authors. #32291 adds chatgpt/gpt-5.4-mini with no official source for its limits. The other open PRs that touch the registry add providers or change code, so they were left alone.

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have added meaningful tests
  • 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
  • Every automated review on my PR's latest commit has finished, and I have addressed or replied to each of its findings before requesting a maintainer review

Delays in PR merge?

If you're seeing a delay in your PR being merged, ping the LiteLLM Team on Slack (#pr-review).

Screenshots / Proof of Fix

E2E exception at b04e5e5. The diff only edits registry data in both JSON copies, so the focused checks below fully cover it.

$ python3 litellm/scripts/ci_cd/check_files_match.py
Passed! Files model_prices_and_context_window.json and litellm/model_prices_and_context_window_backup.json match.

$ 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_cost_map_guard.py
224 passed, 9 warnings

cost map guard against origin/main: passed

Type

🐛 Bug Fix

devin-ai-integration Bot and others added 2 commits November 16, 2026 19:43
…, max reasoning effort for GPT-5.6 and Azure Astra

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…48098

Co-authored-by: Tin <tin@berri.ai>
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.

@veria-ai

veria-ai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

PR overview

No security issues were found in this pull request.

Reviews

@codspeed

codspeed Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

1 warning

⚠️ 2 benchmarks are 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

✅ 45 untouched benchmarks


Comparing litellm_registry_audit_2026_11_16 (b04e5e5) with main (40a4054)1

Open in CodSpeed

Footnotes

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

@codecov

codecov Bot commented Nov 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

…stra rows

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): rolling registry audit 2026-11-16, add dashscope qwen4-max, max reasoning effort for GPT-5.6 and Azure Astra fix(model_prices): rolling registry audit 2026-11-16, add dashscope qwen4-max, max reasoning effort for ChatGPT GPT-5.6 Nov 16, 2026
@kerry-berri
kerry-berri merged commit ea987e7 into main Nov 16, 2026
101 of 103 checks passed
@kerry-berri
kerry-berri deleted the litellm_registry_audit_2026_11_16 branch November 16, 2026 23:31
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