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

4 benchmarks

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.

Sat Mar 14 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

GLM-4.7 costs less

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

Lowest available price from all providers
Sat Mar 14 2026 • llm-stats.com
Anthropic
Claude Sonnet 4
Input tokens$3.00
Output tokens$15.00
Best providerAnthropic
Zhipu AI
GLM-4.7
Input tokens$0.60
Output tokens$2.20
Best providerFireworks
Notice missing or incorrect data?Start an Issue

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.

Anthropic
Claude Sonnet 4
Input200,000 tokens
Output64,000 tokens
Zhipu AI
GLM-4.7
Input202,800 tokens
Output131,072 tokens
Sat Mar 14 2026 • llm-stats.com

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

Text
Images
Audio
Video

GLM-4.7

Text
Images
Audio
Video

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.

Claude Sonnet 4

Proprietary

Closed source

GLM-4.7

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.

Claude Sonnet 4

May 22, 2025

9 months ago

GLM-4.7

Dec 22, 2025

2 months ago

7mo newer

Knowledge Cutoff

When training data ends

Neither model specifies a knowledge cutoff date.

Unable to compare the recency of their training data.

No cutoff dates available

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

anthropic logo
Anthropic
Input Price:Input: $3.00/1MOutput Price:Output: $15.00/1M
bedrock logo
AWS Bedrock
Input Price:Input: $3.00/1MOutput Price:Output: $15.00/1M
google logo
Google
Input Price:Input: $3.00/1MOutput Price:Output: $15.00/1M

GLM-4.7

fireworks logo
Fireworks
Input Price:Input: $0.60/1MOutput Price:Output: $2.20/1M
novita logo
Novita
Input Price:Input: $0.60/1MOutput Price:Output: $2.20/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Higher Terminal-Bench score (35.5% vs 33.3%)
Larger context window (202,800 tokens)
Less expensive input tokens
Less expensive output tokens
Has open weights
Higher AIME 2025 score (95.7% vs 70.5%)
Higher GPQA score (85.7% vs 75.4%)
Higher SWE-Bench Verified score (73.8% vs 72.7%)
AnthropicClaude Sonnet 4
Zhipu AIGLM-4.7

Detailed Comparison

AI Model Comparison Table
Feature
Anthropic
Claude Sonnet 4
Zhipu AI
GLM-4.7