Across 10 comparable benchmarks, Claude Sonnet 4 has better reported results on 6 and worse on 4.
Strong evidence10 of 10 shared results countedHow we compare
Claude Sonnet 4 is no longer available through its official API. API prices for this version are not shown.
Price basis: Listed rates vs international rates. The price section below shows the applicable periods.
| Fact | Claude Sonnet 4 | GLM-4.5-Air |
|---|---|---|
| Context window | 200K tokens | 128K tokens |
| Input / 1M | — | $0.200 |
| Output / 1M | — | $1.10 |
| Blended (4:1) | — | $0.258 |
| Status | Retired | Available |
| Released | May 23, 2025 | July 28, 2025 |
Blended is 4:1 input to output with 90% cache hits at listed rates — set your own mix.
Mean of 7 shared benchmarks grouped by capability on a 0–100 scale. How averages are built
Claude Sonnet 4 ahead on 3 of 4 counted
Split 1–1 of 2 counted
Claude Sonnet 4 ahead on 1 of 1 counted
GLM-4.5-Air ahead on 1 of 1 counted
No shared comparable results for Abstract reasoning, Research & search, Long context, Multimodal, Professional work & productivity, Cybersecurity.
Published scores, with matching modes where available. Gaps show Claude Sonnet 4 relative to GLM-4.5-Air. Reading the results
| Benchmark | Claude Sonnet 4 | GLM-4.5-Air | Gap |
|---|---|---|---|
| LiveCodeBenchAlgorithmic Coding · Pass @K | 48.5Normal · no tools | 70.7≠Thinking · no tools | 0.69×#88 vs #52 of 113 |
| SWE-bench VerifiedRepository Engineering · Accuracy | 80.2Parallel Thinking · tools | 57.6≠Thinking · no tools | +22.6 pts#15 vs #81 of 108 |
| Terminal Bench HardAgentic Development · Accuracy | 31.1Thinking · tools | 20.5Thinking · tools | +10.6 pts#66 vs #94 of 157 |
| Terminal-Bench 1.0Agentic Development · Accuracy | 41.3Deep Thinking · tools | 30.0≠Thinking · tools | +11.3 pts#9 vs #20 of 26 |
| AIME 2024Mathematics · Accuracy | 43.4Normal · no tools | 89.4≠Thinking · no tools | −46.0 pts#45 vs #12 of 54 |
| MATH-500Mathematics · Accuracy | 99.1Thinking · no tools | 98.1Thinking · no tools | +1.0 pts#4 vs #15 of 49 |
| GPQA DiamondScientific Reasoning · Accuracy | 83.8Deep Thinking · tools | 75.0≠Thinking · no tools | +8.8 pts#91 vs #123 of 200 |
| Pinch BenchTool Orchestration · Accuracy | 80.5Thinking · tools | 85.7Thinking · tools | −5.2 pts#23 vs #14 of 38 |
| HLEKnowledge Exams · Accuracy | 9.6Thinking · no tools | 10.6Thinking · no tools | −1.0 pts#130 vs #126 of 151 |
| MMLU-ProKnowledge Exams · Accuracy | 84.0Thinking · no tools | 81.4Thinking · no tools | +2.6 pts#42 vs #53 of 153 |
Algorithmic Coding · Pass @K
Repository Engineering · Accuracy
Agentic Development · Accuracy
Agentic Development · Accuracy
Scientific Reasoning · Accuracy
Tool Orchestration · Accuracy
A dash means no result is available.
| Benchmark | Claude Sonnet 4 | GLM-4.5-Air |
|---|---|---|
| AIME2025 | 85.0 | — |
| CritPt | 1.1 | — |
| FrontierMath | 4.1 | — |
| FrontierMath - Tier 4 | 0.0 | — |
| IMO-ProofBench | 27.1 | — |
| IMO-ProofBench Advanced | 4.8 | — |
| Aider-Polyglot | 61.3 | — |
| CodeClash | 1223 | — |
| IOI 2024 (Vals v1) | 9.7 | — |
| IOI 2025 (Vals v1) | 4 | — |
| SWE-Bench Pro - Commercial | 9.1 | — |
| SWE-Bench Pro - Public | 42.7 | — |
| Claw Bench | 77.8 | — |
| OSWorld-Verified | 42.2 | — |
| PinchBench v2 | 48.8 | — |
| ECI | 142 | — |
| LiveBench | 61.3 | — |
| Creative Writing | 1483 | — |
| IF Bench | 55.0 | — |
| Fiction.liveBench | 46.9 | — |
| MMMU | 74.4 | — |
| MMMU-Pro | 62.4 | — |
| VPCT | 34.0 | — |
| GDPval-AA | 33.0 | — |
| SAGE | 35.0 | — |
| τ²-Bench | 52.0 | — |
| τ³-Banking | 16.7 | — |
| ARC-AGI-1 | 40.0 | — |
| ARC-AGI-2 | 5.9 | — |
| SimpleBench | 45.5 | — |
| MedCode | 35.0 | — |
| MedScribe | 72.4 | — |
Time-of-day providers use peak-hour rates; fixed-price providers use standard rates. Off-peak discounts remain in the published details.
Drag the handle above the bar for cache hits, the one below it for the input : output mix · 5% steps
Blended price = effective input rate at 90% cache hits × 80% + output rate × 20%
A blended cost needs a published input and output price on both sides, and one of these two does not have them yet.
Claude Sonnet 4: Listed text rates; pricing tier not confirmed.
GLM-4.5-Air: International pricing. Z.ai official (OpenRouter Z.AI first-party row), verified 2026-09-25
| Price / 1M tokens | Claude Sonnet 4 | GLM-4.5-Air | Ratio |
|---|---|---|---|
| Input | — | $0.20 | — |
| Output | — | $1.10 | — |
| Cached input | — | $0.03 | — |
| Cache write | — | — | — |
| Blended | — | $0.258 | — |
Estimates use the selected token mix. Cache writes, tool fees and long-context surcharges are excluded.
Reported cost per task, paired with the score from the same run. Settings and sources may differ; costs do not affect the verdict.
| Attribute | Claude Sonnet 4 | GLM-4.5-Air |
|---|---|---|
| Availability | Retired | Available |
| Provider | Anthropic | Zhipu AI |
| Model type | Reasoning model | Reasoning model |
| First release | May 23, 2025 | July 28, 2025 |
| Context window | 200K tokens | 128K tokens |
| Max output | 64K tokens | 95K tokens |
| Total parameters | — | 106B |
| Active parameters | — | 12B |
| Architecture | Undisclosed | Mixture of Experts (MoE) |
| Documented capabilities | Reasoning, Multilingual | Reasoning, Multilingual |
| Input modalities | Text, Image | Text |
| Output modalities | Text | Text |
| Weights | Closed / API only | Open weights |
| Licence | — | MIT License |
| Commercial use | Proprietary | Commercial use allowed |
These are reported-score comparisons, not controlled head-to-head tests.
What people found comparing these models, or using either one. Comments also appear on the models' own pages.
Sign in with Google to comment on Claude Sonnet 4 vs GLM-4.5-Air.
No community comments on either model yet.
Alternatives with the most benchmark overlap for this matchup.