GLM 5.2 vs Mercury 2

API pricing, context window and capabilities for GLM 5.2 and Mercury 2, side by side. Prices are the cheapest serving route per 1M tokens, verified against LiteLLM and OpenRouter.

Verdict

computed from the published numbers

GLM 5.2 wins on intelligence and on context window. Mercury 2 wins on price. Benchmark data is unavailable for one or both models.

Price
Mercury 2
Coding
Not called
Intelligence
GLM 5.2
Context window
GLM 5.2

Key takeaways

who wins on what, from the published numbers

GLM 5.2 wins

  • Larger context window (262K vs 128K)
  • Higher max output (262K vs 50K)
  • Has reasoning mode

Mercury 2 wins

  • Cheaper input ($1.40 vs $0.25 /1M)
  • Cheaper output ($4.40 vs $0.75 /1M)
  • Supports prompt caching
  • Supports structured output
Cheaper overall
Mercury 2
$0.25 + $0.75 /1M
Larger context
GLM 5.2
262K
More providers
Tied

Pricing & specs

cheapest serving route · per 1M tokens
GLM 5.2Mercury 2
Input $/1M$1.40 $0.25 best
Output $/1M$4.40 $0.75 best
Context window262K best128K
Max output262K best50K
Serving providers1 1
Released2026-06-13 2026-02-24

Benchmarks

Artificial Analysis indices, side by side
GLM 5.2Mercury 2
Intelligence51.1 best25.3
Coding68.8 Not available
GPQA Diamond89% best77%
Output speed200 t/s 602 t/s best
Latency (TTFT)6.32s 2.73s best

Cost calculator

choose a serving route for each side
Input tokens / month
Output tokens / month
GLM 5.2
via Cloudflare
$11
Mercury 2
via Inception
$2.00

Capabilities

feature support, side by side
FeatureGLM 5.2Mercury 2
Vision
Tool use
Reasoning
Audio
Prompt caching
Structured output
Web search

Related comparisons

Frequently asked questions

Which is cheaper, GLM 5.2 or Mercury 2?
Mercury 2 is cheaper for input ($1.40 vs $0.25 per 1M tokens). Mercury 2 is cheaper for output ($4.40 vs $0.75 per 1M tokens).
What is the context window difference between GLM 5.2 and Mercury 2?
GLM 5.2 has a 262K-token context window and Mercury 2 has 128K tokens, so GLM 5.2 can take a larger prompt.
How do GLM 5.2 and Mercury 2 compare on benchmarks?
On the tracked Artificial Analysis indices, GLM 5.2 leads on intelligence.
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI