Claude Sonnet 4 vs GLM-4.7 Comparison
Comparing Claude Sonnet 4 and GLM-4.7 across benchmarks, pricing, and capabilities.
Performance Benchmarks
Comparative analysis across standard metrics
Claude Sonnet 4 outperforms in 1 benchmarks (Terminal-Bench), while GLM-4.7 is better at 3 benchmarks (AIME 2025, GPQA, SWE-Bench Verified).
GLM-4.7 shows notably better performance in the majority of benchmarks.
Arena Performance
Human preference votes
Pricing Analysis
Price comparison per million tokens
For input processing, Claude Sonnet 4 ($3.00/1M tokens) is 5.0x more expensive than GLM-4.7 ($0.60/1M tokens).
For output processing, Claude Sonnet 4 ($15.00/1M tokens) is 6.8x more expensive than GLM-4.7 ($2.20/1M tokens).
In conclusion, Claude Sonnet 4 is more expensive than GLM-4.7.*
* Using a 3:1 ratio of input to output tokens
Context Window
Maximum input and output token capacity
GLM-4.7 accepts 202,800 input tokens compared to Claude Sonnet 4's 200,000 tokens. GLM-4.7 can generate longer responses up to 131,072 tokens, while Claude Sonnet 4 is limited to 64,000 tokens.
Input Capabilities
Supported data types and modalities
Both Claude Sonnet 4 and GLM-4.7 support multimodal inputs.
They are both capable of processing various types of data, offering versatility in application.
Claude Sonnet 4
GLM-4.7
License
Usage and distribution terms
Claude Sonnet 4 is licensed under a proprietary license, while GLM-4.7 uses MIT.
License differences may affect how you can use these models in commercial or open-source projects.
Proprietary
Closed source
MIT
Open weights
Release Timeline
When each model was launched
Claude Sonnet 4 was released on 2025-05-22, while GLM-4.7 was released on 2025-12-22.
GLM-4.7 is 7 months newer than Claude Sonnet 4.
May 22, 2025
9 months ago
Dec 22, 2025
2 months ago
7mo newerKnowledge Cutoff
When training data ends
Neither model specifies a knowledge cutoff date.
Unable to compare the recency of their training data.
Provider Availability
Claude Sonnet 4 is available from Anthropic, Bedrock, Google. GLM-4.7 is available from Fireworks, Novita. The availability of providers can affect quality of the model and reliability.
Claude Sonnet 4
GLM-4.7
Outputs Comparison
Key Takeaways
Claude Sonnet 4
View detailsAnthropic
GLM-4.7
View detailsZhipu AI
Detailed Comparison
| Feature |
|---|