Skip to main content
idapt
HomeCodeAI ModelsPricing
Sign inStart free trial
  • Home
  • Pricing
  • AI Models
  • Image models
  • Voice models
  • Video models
  • Rankings
  • New models
  • Model status
  • Multi-Model Chat
  • Agents
  • Computers
  • Drive
  • Automations
  • AI Gateway
  • All features →
  • LLM cost calculator
  • Token counter
  • All free tools →
  • Blog
  • Use cases
  • Comparisons
  • Best of
  • Benchmarks
  • Changelog
  • Help center
  • FAQ
  • Privacy
  • Compare all models
  • Support
  • idapt Code
  • Developers
  • Quickstarts
  • API reference
  • API pricing
  • CLI
  • MCP
  • Downloads
  • Desktop
  • Badges and embeds
© idapt[email protected]TermsPrivacy PolicyLegal noticeReport content
X (Twitter)

GLM 5.2 vs Claude Sonnet 5

At a glance

Z.ai's frontier reasoning model for long-context agents and software engineering.

831.0M ctx$0.78/$2.44 per M#16/92

Anthropic's fifth-generation Sonnet — near-Opus intelligence at Sonnet speed and price.

801M ctx$2.00/$10.00 per M#26/92
Agent Demos
All agent demos

No shared agent demos for these models yet.

AI Output
All AI outputs

No captured outputs for these models yet.

Benchmarks
See rankings
Reasoning
AgenticInsufficient data
Sources:Epoch ECI·Epoch AI·OpenRouter· as of 2026-07-10
Smarter4%Cheaper70%
Capability
CapabilityECI4%83.4
Reasoning & Knowledge
Graduate Science1%91.9%Factual Recall52%38.1%
Math
Competition Math86.4%
Coding
Real-World Coding78.7%
Reasoning
CI 72.7-84.7
CodingInsufficient data
AgenticInsufficient data
Sources:Epoch ECI·Epoch AI·OpenRouter· as of 2026-07-10
Capability
CapabilityECI80.1
Reasoning & Knowledge
Graduate Science90.5%Factual Recall25.0%
Math
Competition Math10%94.7%
Coding
Real-World Coding—
Specs
1.0M
Context
131K
Max output
Jun 2026
Released
1M
Context
128K
Max output
Jun 2026
Released
Capabilities
Vision
Audio
Reasoning
Vision
Audio
Reasoning
Pricing
Live pricing, shown before you run
Input61%$0.78/M tokens
Output76%$2.44/M tokens
Cache read28%$0.14/M tokens
Live pricing, shown before you run
Input$2.00/M tokens
Output$10.00/M tokens
Cache read$0.20/M tokens
Cache write$2.50/M tokens
Web search$0.01/search
Chat with GLM 5.2Go to model
Chat with Claude Sonnet 5Go to model
Frequently Asked Questions: GLM 5.2 vs Claude Sonnet 5▼

Which is better, GLM 5.2 or Claude Sonnet 5?

▼

Based on the Capability Index, GLM 5.2 scores higher (83.4 vs 80.1). However, "better" depends on your use case — pricing, speed, context window, and specific capability needs all matter.

Which is cheaper, GLM 5.2 or Claude Sonnet 5?

▼

GLM 5.2 has a lower blended cost. GLM 5.2: $0.78 input / $2.44 output. Claude Sonnet 5: $2.00 input / $10.00 output.

Which has a larger context window, GLM 5.2 or Claude Sonnet 5?

▼

GLM 5.2 has a larger context window: GLM 5.2 supports 1M tokens vs Claude Sonnet 5 at 1M tokens.

Do both GLM 5.2 and Claude Sonnet 5 support vision?

▼

Claude Sonnet 5 supports vision/image input, but GLM 5.2 does not.

What are the key differences between GLM 5.2 and Claude Sonnet 5?

▼

Key differences: GLM 5.2 is significantly cheaper; only Claude Sonnet 5 supports vision input. Compare full specs on this page.

Which model should I choose for my use case?

▼

If cost is your priority, choose the cheaper option. If you need the highest intelligence for complex tasks, pick the higher-scoring model. For long documents or codebases, choose the larger context window. You can try both GLM 5.2 and Claude Sonnet 5 for free on idapt.app to see which performs better for your specific needs.

Open in App