Claude Opus 4.7 vs GLM 4.6
Claude Opus 4.7 (Anthropic, April 2026) 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 13× less than Claude Opus 4.7 on a typical 3:1 input-to-output mix. Claude Opus 4.7 reads more at once: a 1M-token context window against 203K. 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
Zhipu AI
At a glance
- Tasks
Question answering
Language modeling
Language generation
Language modeling
Language generation
Question answering
Code generation
Quantitative reasoning
System control
- Released
- 16 April 2026
- 30 September 2025
- Access
- API access
- Open weights (unrestricted)
- Country
- United States of America
- China
Price and API
- Input, per 1M tokens
- $5.00on Anthropic
- $0.43on Hugging FaceLowest
- Output, per 1M tokens
- $25.00on Anthropic
- $1.75on Hugging FaceLowest
- Where to run it
- AnthropicGoogle Vertex AIAmazon BedrockAzure AI FoundryAll 5 providers
- Hugging FaceDeepInfraOpenRouterNovita AIAll 5 providers
- Official API id
anthropic/claude-opus-4-7zai/glm-4.6- Context window
- 1M tokensLargest
- 203K tokens
- Max output
- 128K tokens
- 131K tokensLargest
- Takes
- Text, Image, PDF
- Text
- Returns
- Text
- Text
- Knowledge cutoff
- January 2026
- 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
- Likely
- 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
- Not listed
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
- Claude Opus 4.7 · 1M tokens of context, 4.9× more than GLM 4.6.
- 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 Opus 4.7 · Accepts image input through the API.
Questions people ask
Is Claude Opus 4.7 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, Claude Opus 4.7 has the edge: 1M tokens of context, 4.9× more than GLM 4.6. 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 Opus 4.7 or GLM 4.6?
GLM 4.6: $0.43 in and $1.75 out per million tokens at Hugging Face. Claude Opus 4.7 starts at $5.00 in and $25.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?
Claude Opus 4.7, with 1M tokens; GLM 4.6 takes 203K. A larger window lets one request hold longer documents or conversations.
Where can I use Claude Opus 4.7 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 Opus 4.7 in April 2026 and GLM 4.6 in September 2025.