LLM Comparison
Claude Sonnet 5 vs Qwen4-Max
Side-by-side specs, pricing & capabilities · Updated December 2026
Price vs Intelligence
Add to comparison
2/6 models| Organization | ||
| OpenTools Score | 63 10.5 | 43 14.4 |
| Family | Claude Sonnet | Qwen4 |
| Status | Current | Current |
| Release Date | Jun 2026 | Nov 2026 |
| Context Window | 1.0M tokens | 1.0M tokens |
| Input Price | $2.00/M tokens | $1.50/M tokens |
| Output Price | $10.00/M tokens | $4.50/M tokens |
| Pricing Notes | Claude API standard pricing is $2 input and $10 output per million tokens. Cache reads are $0.20, 5-minute cache writes $2.50, and 1-hour cache writes $4 per million tokens. Batch API input/output receives a 50% discount. Current official documentation lists these rates without the previously recorded August 31 introductory expiry; provider-specific rates may differ. | Alibaba Cloud Model Studio Singapore international on-demand rates, USD per million tokens. Cache reads cost $0.075; writes cost $1.875 for five minutes or $3 for one hour. Beijing/global deployment pricing differs. Alibaba retired qwen4-max-preview on November 25, 2026. The old ID still redirects to qwen4-max at its standard rate; the preview discount ended. Vercel AI Gateway separately lists alibaba/qwen4-max through Alibaba Cloud with a 1,000,000-token context and a 384,000-token output ceiling, including reasoning. Alibaba Model Studio documents a lower maximum of 262,144 thinking-mode output tokens for its direct qwen4-max API. Do not assume the gateway limit applies to direct requests. |
| Capabilities | textvisionreasoningcodingtool-useextended-thinkingagents | reasoningvisiontool-uselong-contextcontext-caching |
| Max Output | 128K tokens | 262K tokens |
| API Identifier | claude-sonnet-5 | qwen4-max |
| Benchmarks | ||
| Artificial Analysis Intelligence Index | 53artificial-analysis | — |
| Artificial Analysis Intelligence Index v4.3 | 38https://artificialanalysis.ai/models/claude-sonnet-5 | — |
| GPQA Diamond | 91.1111artificial-analysis | — |
| SciCode | 54.2824artificial-analysis | — |
| Terminal-Bench 2.1 | 80.5243artificial-analysis | — |
| Artificial Analysis Intelligence Index v5.0.2 | — | 42.7904442277464artificial-analysis |
| Harvey LAB-AA v1.1 (Xhigh) | — | 9.444444444444443artificial-analysis |
| AA-AnalystAgent (all 5 attempts) | — | 46.25artificial-analysis |
| View Claude Sonnet 5 | View Qwen4-Max | |
Cost Calculator
Enter your expected monthly token usage to compare costs.
| Model | Input | Output | Total / mo | vs Best |
|---|---|---|---|---|
| Qwen4-MaxCheapest | $1.50 | $2.25 | $3.75 | — |
| Claude Sonnet 5 | $2.00 | $5.00 | $7.00 | +87% |
Anthropic
Claude Sonnet 5
Claude Sonnet 5 is an earlier Anthropic model with adaptive thinking. Anthropic lists it as legacy but still active on the Claude API, and recommends Claude Sonnet 5.5 for migration. It supports a 1,000,000-token context window and up to 128,000 standard output tokens. Applications upgrading from Sonnet 4.6 should review changes to reasoning and sampling parameters.
Alibaba
Qwen4-Max
Qwen4-Max is Alibaba's proprietary multimodal model for coding, document understanding and agent workflows. Its hosted API accepts text, images and video and returns text. The 1,000,000-token context supports up to 262,144 output tokens for reasoning and answer together; non-thinking output is capped at 131,072.
More Comparisons
Looking for more AI models?
Browse All LLMs