Claude Haiku 4.5 vs GLM 4.6
Claude Haiku 4.5 (Anthropic, October 2025) and GLM 4.6 (Zhipu AI, September 2025), compared on price, context window, access and specs. GLM 4.6 is the cheaper API at $0.43 in and $1.75 out per million tokens, about 2.6× less than Claude Haiku 4.5 on a typical 3:1 input-to-output mix. GLM 4.6 reads more at once: a 203K-token context window against 200K. GLM 4.6 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
At a glance
- Tasks
Chat
Code generation
Language modeling
Language generation
Question answering
Language modeling
Language generation
Question answering
Code generation
Quantitative reasoning
System control
- Released
- 15 October 2025
- 30 September 2025
- Access
- API access
- Open weights (unrestricted)
- Country
- United States of America
- China
Price and API
- Input, per 1M tokens
- $1.00on Anthropic
- $0.43on Hugging FaceLowest
- Output, per 1M tokens
- $5.00on Anthropic
- $1.75on Hugging FaceLowest
- Where to run it
- AnthropicGoogle Vertex AIAzure AI FoundryOpenRouterAll 5 providers
- Hugging FaceDeepInfraOpenRouterNovita AIAll 5 providers
- Official API id
anthropic/claude-haiku-4-5zai/glm-4.6- Context window
- 200K tokens
- 203K tokensLargest
- Max output
- 64K tokens
- 131K tokensLargest
- Takes
- Text, Image, PDF
- Text
- Returns
- Text
- Text
- Knowledge cutoff
- February 2025
- April 2025
- Supports
- ReasoningTool callingStructured outputFile input
- ReasoningTool callingOpen weights
Scale and training
- Parameters
- Not listed
- 357B357,000,000,000
- Training compute
- Not listed
- 4.4 × 10²⁴ FLOP
- Training time
- Not listed
- 2,880 hours
- Training code
- Unreleased
- Unreleased
- Confidence
- Unknown
- Likely
Notes
- Parameters
- Not listed
- Similarly to GLM 4.5: 355 billion total parameters (reported) with 32 billion active parameters (assumed)
- Training compute
- Not listed
- 6 FLOP/parameter/token * 32000000000 active parameters [very likely assumption - everything else is reported to be same as at GLM 4.5] * 23000000000000 tokens = 4.42e24 FLOP
- Dataset size
- Not listed
- 23T tokens (from Jaime's correspondence with the GLM team)
- Access
- Not listed
- MIT license https://huggingface.co/zai-org/GLM-4.6
In their own words
- Abstract
Claude Haiku 4.5, our latest small model, is available today to all users. What was recently at the frontier is now cheaper and faster. Five months ago, Claude Sonnet 4 was a state-of-the-art model. Today, Claude Haiku 4.5 gives you similar levels of coding performance but at one-third the cost and more than twice the speed.Read all
Today, we are releasing the latest version of our flagship model: GLM-4.6. Compared with GLM-4.5, this generation brings several key improvements: Longer context window: The context window has been expanded from 128K to 200K tokens, enabling the model to handle more complex agentic tasks. Superior coding performance: The model achieves higher scores on code benchmarks and demonstrates better real-world performance in applications such as Claude Code、Cline、Roo Code and Kilo Code, including improvements in generating visually polished front-end pages. Advanced reasoning: GLM-4.6 shows a clear improvement in reasoning performance and supports tool use during inference, leading to stronger overall capability. More capable agents: GLM-4.6 exhibits stronger performance in tool using and search-based agents, and integrates more effectively within agent frameworks. Refined writing: Better aligns with human preferences in style and readability, and performs more naturally in role-playing scenarios. We evaluated GLM-4.6 across eight public benchmarks covering agents, reasoning, and coding. Results show clear gains over GLM-4.5, with GLM-4.6 also holding competitive advantages over leading domestic and international models such as DeepSeek-V3.2-Exp and Claude Sonnet 4, but still lags behind Claude Sonnet 4.5 in coding ability.Read all
Which should you pick?
- High-volume or budget workloads
- GLM 4.6 · Lowest list price: $0.43 in and $1.75 out per million tokens via Hugging Face.
- Long documents, codebases or transcripts
- GLM 4.6 · 203K tokens of context, 1% more than Claude Haiku 4.5.
- Long answers in one response
- GLM 4.6 · Up to 131K output tokens per response.
- Self-hosting or fine-tuning
- GLM 4.6 · Open weights: you can download them and run them on your own GPUs.
- Reading images and screenshots
- Claude Haiku 4.5 · Accepts image input through the API.
Questions people ask
Is Claude Haiku 4.5 better than GLM 4.6?
It depends on the job. For high-volume or budget workloads, GLM 4.6 has the edge: lowest list price: $0.43 in and $1.75 out per million tokens via Hugging Face. For long documents, codebases or transcripts, GLM 4.6 has the edge: 203K tokens of context, 1% more than Claude Haiku 4.5. For long answers in one response, GLM 4.6 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 Haiku 4.5 or GLM 4.6?
GLM 4.6: $0.43 in and $1.75 out per million tokens at Hugging Face. Claude Haiku 4.5 starts at $1.00 in and $5.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 4.6, with 203K tokens; Claude Haiku 4.5 takes 200K. A larger window lets one request hold longer documents or conversations.
Where can I use Claude Haiku 4.5 and GLM 4.6 through one API?
OpenRouter serves all of them, so you can switch models without opening another account.
When were they released?
Claude Haiku 4.5 in October 2025 and GLM 4.6 in September 2025.