Claude Sonnet 5 vs GLM-5.3-Flash
Claude Sonnet 5 (Anthropic, June 2026) and GLM-5.3-Flash (Z.ai Zhipu AI, August 2026), compared on price, context window, access and specs. GLM-5.3-Flash is the cheaper API at $0.037 in and $0.13 out per million tokens, about 67× less than Claude Sonnet 5 on a typical 3:1 input-to-output mix. GLM-5.3-Flash reads more at once: a 1.05M-token context window against 1M. GLM-5.3-Flash has open weights, so you can also run it on your own hardware.
Updated 5 December 2026 · read each row across; the best value in a row is marked
Z.ai Zhipu AI
At a glance
- Tasks
Language modeling
Language generation
Question answering
Language modeling
Language generation
Question answering
- Released
- 30 June 2026
- 20 August 2026
- Access
- API access
- Open weights (unrestricted)
- Country
- United States of America
- China
Price and API
- Input, per 1M tokens
- $2.00on Anthropic
- $0.037on Hugging FaceLowest
- Output, per 1M tokens
- $10.00on Anthropic
- $0.13on Hugging FaceLowest
- Where to run it
- AnthropicGoogle Vertex AIAmazon BedrockAzure AI FoundryAll 5 providers
- Hugging FaceOpenRouterMistral AIZ.aiAll 10 providersMost choice
- Official API id
anthropic/claude-sonnet-5mistral/zai-glm-5-3-flash- Context window
- 1M tokens
- 1.05M tokensLargest
- Max output
- 128K tokens
- 131K tokensLargest
- Takes
- Text, Image, PDF
- Text, Image, PDF
- Returns
- Text
- Text
- Knowledge cutoff
- January 2026
- Not listed
- Supports
- ReasoningTool callingStructured outputFile input
- ReasoningTool callingStructured outputFile inputOpen weights
Scale and training
- Parameters
- Not listed
- 320B320,000,000,000
- Training compute
- Not listed
- 3.2 × 10²⁴ FLOP
- Training code
- Unreleased
- Not listed
- Confidence
- Confident
- Likely
Notes
- Parameters
- Not listed
- 320B total, 18B active.
- Training compute
- Not listed
- 6 * 18e9 active parameters * 30e12 tokens = 3.24e24 FLOP. https://docs.z.ai/guides/vlm/glm-5.3-flash says "Combined with our latest 30T-token multimodal pre-training corpus, these changes let GLM-5.3-Flash produce more intelligence with less compute.", which is not definitive in saying that all 30T tokens were used exactly once; likely confidence.
In their own words
- Abstract
Claude Sonnet 5 is built to be the most agentic Sonnet model yet. It can make plans, use tools like browsers and terminals, and run autonomously at a level that, just a few months ago, required larger and more expensive models. For many developers, the agentic AI era began with Sonnet-class models: Claude Sonnet 3.5, 3.6, and 3.7 were the first models that showed impressive skills in coding and tool use. More recently, though, the clearest gains in agentic capabilities have been in our Opus-class models. Sonnet 5 narrows the gap: its performance is close to that of Opus 4.8, but at lower prices. It’s a substantial improvement over its predecessor, Sonnet 4.6, on important aspects of agentic performance like reasoning, tool use, coding, and knowledge work:Read all
We introduce GLM-5.3-Flash, the first natively multimodal model in the GLM-5 series. With 320B total parameters and just 18B active parameters, it outperforms GLM-5.2 across benchmarks and real-world workloads at one-tenth the price, while approaching Claude Opus 4.8 on coding and agentic benchmarks.Read all
Which should you pick?
- High-volume or budget workloads
- GLM-5.3-Flash · Lowest list price: $0.037 in and $0.13 out per million tokens via Hugging Face.
- Long documents, codebases or transcripts
- GLM-5.3-Flash · 1.05M tokens of context, 5% more than Claude Sonnet 5.
- Long answers in one response
- GLM-5.3-Flash · Up to 131K output tokens per response.
- Self-hosting or fine-tuning
- GLM-5.3-Flash · Open weights: you can download them and run them on your own GPUs.
Questions people ask
Is Claude Sonnet 5 better than GLM-5.3-Flash?
It depends on the job. For high-volume or budget workloads, GLM-5.3-Flash has the edge: lowest list price: $0.037 in and $0.13 out per million tokens via Hugging Face. For long documents, codebases or transcripts, GLM-5.3-Flash has the edge: 1.05M tokens of context, 5% more than Claude Sonnet 5. For long answers in one response, GLM-5.3-Flash has the edge: up to 131K output tokens per response. Try them on your own prompts in the AIPortalX playground before you commit.
Which is cheaper: Claude Sonnet 5 or GLM-5.3-Flash?
GLM-5.3-Flash: $0.037 in and $0.13 out per million tokens at Hugging Face. Claude Sonnet 5 starts at $2.00 in and $10.00 out per million tokens. These are list prices from the cheapest provider we track, and they change often.
Which has the bigger context window?
GLM-5.3-Flash, with 1.05M tokens; Claude Sonnet 5 takes 1M. A larger window lets one request hold longer documents or conversations.
Where can I use Claude Sonnet 5 and GLM-5.3-Flash through one API?
OpenRouter serves all of them, so you can switch models without opening another account.
When were they released?
Claude Sonnet 5 in June 2026 and GLM-5.3-Flash in August 2026.