Model comparison
Claude Sonnet 5 vs GLM 5.3 Flash
Anthropic against Z.ai, compared on context, price, and attributed benchmark results.
Recorded profile verification October 2, 2026Individual provider fields may changeEvidence confidence: Medium — see receipts below
Anthropic
Claude Sonnet 5
Balanced
Z.ai
GLM 5.3 Flash
Balanced · Open weights
| Specification | Claude Sonnet 5 | GLM 5.3 Flash |
|---|---|---|
| Provider | ||
| Provider | Anthropic | Z.ai |
| Tier | ||
| Tier | Balanced | Balanced |
| Context window | ||
| Context window | 1M | Winner: 1.05M |
| Max output | ||
| Max output | 128K | Not verifiedUnverified |
| Input / 1M tokens | ||
| Input / 1M tokens | $2 | Winner: $0.15 |
| Output / 1M tokens | ||
| Output / 1M tokens | $10 | Winner: $0.50 |
| Weights | ||
| Weights | Closed | Open |
| Parameters | ||
| Parameters | Not verifiedUnverified | 320B total / 18B active (MoE) |
| Reasoning levels | ||
| Reasoning levels | low, medium, high, xhigh, max | low, high, max |
| Modalities | ||
| Modalities | text, image | text, image, video, file |
| License | ||
| License | Not verifiedUnverified | MIT |
| API model id | ||
| API model id | claude-sonnet-5 | glm-5.3-flash |
| Released | ||
| Released | June 30, 2026 | August 26, 2026 |
| Terminal-Bench 2.1 · source date Claude Sonnet 5: 2026-06-30 | ||
| Terminal-Bench 2.1 · source date Claude Sonnet 5: 2026-06-30 | 80.4 | Not verifiedUnverified |
| Terminal-Bench 2.1 · source date GLM 5.3 Flash: 2026-08 | ||
| Terminal-Bench 2.1 · source date GLM 5.3 Flash: 2026-08 | Not verifiedUnverified | 84.3 |
| Humanity's Last Exam · source date Claude Sonnet 5: 2026-06-30, GLM 5.3 Flash: 2026-08 (comparability not verified) | ||
| Humanity's Last Exam · source date Claude Sonnet 5: 2026-06-30, GLM 5.3 Flash: 2026-08 (comparability not verified) | 57.4 | 55.3 |
| LiveBench · source date Claude Sonnet 5: 2026-09-05 | ||
| LiveBench · source date Claude Sonnet 5: 2026-09-05 | 76 | Not verifiedUnverified |
| Artificial Analysis Intelligence Index · source date GLM 5.3 Flash: 2026-10-01 | ||
| Artificial Analysis Intelligence Index · source date GLM 5.3 Flash: 2026-10-01 | Not verifiedUnverified | 42 |
| DeepSWE 1.1 · source date GLM 5.3 Flash: 2026-08 | ||
| DeepSWE 1.1 · source date GLM 5.3 Flash: 2026-08 | Not verifiedUnverified | 63.4 |
Dates beside benchmark scores refer to the linked source’s publication or capture date unless that source explicitly states when it measured the result. A shared URL alone does not establish comparable runs; unverified setups are marked. Prices are USD per million tokens at standard rates, excluding batch and caching discounts. Values we could not confirm from the provider are shown as “Not verified” rather than estimated.
Benchmark receipts
Where each score comes from, and how far it can be compared across models.
- Source date2026-10-01Artificial Analysis (GLM-5.3-Flash)
Composite index blending reasoning, knowledge, and coding evals into one 0–100 score.
Comparable with caveatOnly same-version scores are comparable. v4.3.2 was rebaselined (the top score fell from 66 on v4.1.1 to ~58), so v4.1.1 figures must not be compared with v4.3.2 figures — check the cited source and its date.
- Source date2026-09-05LiveBench official leaderboard (benchmark-owned), xhigh effort
Contamination-resistant general capability across reasoning, coding, math, data analysis, and language, with monthly question refreshes.
Comparable with caveatCompare only observations confirmed to use the same exact question-set version. Date proximity (including within one month) does not establish identical questions; when the version is unavailable, treat the scores as unaligned.
- Source date2026-08GLM-5.3-Flash HF card (vendor, tools/full set; 300K context, 163,840 max generation, GPT-5.6-Luna medium judge)
Frontier-knowledge ceiling: extremely hard multi-domain questions written to be near-impossible without deep expertise.
Comparable with caveatSubset/tool configurations (text-only vs with-tools) differ between vendors and materially change scores; must match configuration to compare.
- Source date2026-08Z.ai GLM-5.3-Flash blog (vendor, mini-swe-agent, 400K context)
Agentic software engineering: pass@1 on real repo tasks with reported cost per completed task.
Directly comparable
- Source date2026-08GLM-5.3-Flash HF card (vendor; Claude Code 2.1.207, 65,536 max generation, 6h timeout)
Agentic terminal work: multi-step tasks executed in a sandboxed shell environment.
Comparable with caveatNot comparable with Terminal-Bench 3.0 or 4.0 (different task sets) or v1; harness configuration (container, time limits) also shifts results.
- Source date2026-06-30Anthropic announcement (vendor, with tools)
Frontier-knowledge ceiling: extremely hard multi-domain questions written to be near-impossible without deep expertise.
Comparable with caveatSubset/tool configurations (text-only vs with-tools) differ between vendors and materially change scores; must match configuration to compare.
- Source date2026-06-30Anthropic Claude Sonnet 5 system card, sections 8.1 and 8.3 (vendor-reported; mini-SWE-agent harness) (mini-SWE-agent; effort and experiment date not specified in the summary table)
Agentic terminal work: multi-step tasks executed in a sandboxed shell environment.
Comparable with caveatNot comparable with Terminal-Bench 3.0 or 4.0 (different task sets) or v1; harness configuration (container, time limits) also shifts results.
Pricing tiers
Claude Sonnet 5: Standard $2/$10 per MTok with no long-context surcharge. Cache reads $0.20; 5-minute writes $2.50 and 1-hour writes $4. Batch $1/$5. US-only inference adds 10% where supported. Batch supports 300K output with output-300k-2026-03-24; standard stays 128K. Knowledge cutoff Jan 2026; retirement not sooner than June 30, 2027.
GLM 5.3 Flash: Z.ai API $0.15/$0.50 per MTok; cached input $0.03 and limited-time free cache storage. Hosted docs advertise 1M context and 128K output; the checkpoint config sets 1,048,576 context. An exact endpoint-specific numeric output ceiling is not separately verified. FlashX is a distinct $0.37/$1.25 endpoint; third-party prices require their own checks.
Claude Sonnet 5
Claude Sonnet 5 is Anthropic's previous Sonnet generation for high-volume agentic work at $2/$10.
Best for
- Everyday generation
- High-volume agents
- Cost-sensitive work
Watch out
Active legacy. Sonnet 5.5 launched September 28 at the same token price, with breaking changes to thinking, forced tool use, computer use, advisor choices and progress blocks. Sonnet 5 rejects non-default temperature/top_p/top_k; test the exact target model before switching.
GLM 5.3 Flash
Z.ai's multimodal MIT-licensed 320B/18B MoE checkpoint and hosted Flash endpoint, with always-enabled reasoning and publisher coding/agent evaluations.
Best for
- Cost-efficient long-context
- Multimodal input
- Coding agents
Watch out
The 320B weights require substantial hardware; memory depends on quantization, runtime and context. Effort low/high/max defaults to max. Flash is on Coding Plan with three times GLM-5.3 quota; FlashX is not on the plan. Half-point off-peak/weekend use applies to plan quota, not per-token API prices. Publisher evaluation generation budgets are not hosted API output caps.
When the cheaper one wins
GLM 5.3 Flash is cheaper on output at $0.50 per million tokens against $10 for Claude Sonnet 5 — about 20×. Use the cheaper tier for classification, extraction, summarisation, and any task where the expensive model’s extra score does not change the accepted output. The expensive one only pays if your hardest task actually fails on the cheap tier. On DeepSWE 1.1, GLM 5.3 Flash is 63.4% Pass@1 at $0.48/task versus Claude Sonnet 5 at 53.8% / $26.4/task. This compares standard short-context token rates, not total cost per accepted task. Include input, cache, context tiers, schedules, retries and review in your pilot.
Run the model pickerEvidence confidence: Medium
How strong and complete the evidence behind this comparison is — not a prediction of which model is better.
- Pricing verified on both sides — Input and output rates are verified for both models.
- 3/5 core specs verified on both sides — Not published for at least one side: max output, parameter count.
- No directly aligned benchmark setup — No benchmark has matching cited sources, source dates, units, effort and recorded run details on both models.
- Verified within the last 90 days — Older of the two catalog checks was 25 days ago.
- Both models carry source citations — Each side has at least two catalog sources on record.
Source receipts
Each catalog figure was checked against the provider or an independent second source on the date shown.
- Claude Sonnet 5: Claude model overview — whole-profile source check October 1 (accessed 2026-10-01)
- Claude Sonnet 5: Claude current API pricing, caching and inference geography (accessed 2026-10-01)
- Claude Sonnet 5: Anthropic — Claude Sonnet 5 (accessed 2026-08-29)
- Claude Sonnet 5: Anthropic news — Claude Sonnet 5 (accessed 2026-08-29)
- Claude Sonnet 5: Current model documentation (accessed 2026-10-01)
- Claude Sonnet 5: Anthropic selectable effort levels (separate from adaptive thinking mode) (accessed 2026-10-01)
- GLM 5.3 Flash: GLM-5.3-Flash announcement (accessed 2026-10-01)
- GLM 5.3 Flash: Flash and FlashX hosted API scopes (accessed 2026-10-01)
- GLM 5.3 Flash: Z.ai first-party pricing (accessed 2026-10-01)
- GLM 5.3 Flash: Flash checkpoint settings and benchmark methods (accessed 2026-10-01)
- GLM 5.3 Flash: Flash exact MIT licence (accessed 2026-10-01)
- GLM 5.3 Flash: Flash checkpoint native context configuration (accessed 2026-10-01)
- GLM 5.3 Flash: Z.ai thinking controls and protocol mappings (accessed 2026-10-01)
Related comparisons
- Amazon Nova 2 Lite vs Claude Sonnet 5
- Amazon Nova 2 Lite vs GLM 5.3 Flash
- Amazon Nova 2 Pro vs Claude Sonnet 5
- Amazon Nova 2 Pro vs GLM 5.3 Flash
- Base 1 vs Claude Sonnet 5
- Base 1 vs GLM 5.3 Flash
Diving deeper on one model? Claude Sonnet 5 · GLM 5.3 Flash
Common questions
Claude Sonnet 5 vs GLM 5.3 Flash
Answered from the verified figures on this page rather than general guidance.
Is Claude Sonnet 5 or GLM 5.3 Flash cheaper for input?
Is Claude Sonnet 5 or GLM 5.3 Flash cheaper for output?
Which has the larger context window, Claude Sonnet 5 or GLM 5.3 Flash?
Do Claude Sonnet 5 and GLM 5.3 Flash support the same reasoning levels?
Should I use Claude Sonnet 5 or GLM 5.3 Flash?
Can I self-host Claude Sonnet 5 or GLM 5.3 Flash?
Next step
Choosing between them
The verified figures that separate this pair, computed from the catalog rather than restated boilerplate.
- Input price: GLM 5.3 Flash costs $0.15 per 1M tokens versus $2 for Claude Sonnet 5 — a 13.3x difference at the headline tier.
- Context: GLM 5.3 Flash takes 1.05M against 1M for Claude Sonnet 5 — only decisive if your prompts approach the smaller window.
- Deployment: GLM 5.3 Flash publishes weights you can self-host; the other is API-only.
Choosing a harness rather than a model — Cursor, Copilot, Claude Code, Windsurf, or Lovable? Compare agentic harnesses · Latest releases.