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 coding, on intelligence and on context window. Mercury 2 wins on price.

Price
Mercury 2
Coding
GLM 5.2
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 (1M vs 128K)
  • Higher max output (1M vs 50K)
  • More serving providers (10 vs 2)
  • Has reasoning mode

Mercury 2 wins

  • Cheaper input ($0.61 vs $0.25 /1M)
  • Cheaper output ($1.98 vs $0.75 /1M)
Cheaper overall
Mercury 2
$0.25 + $0.75 /1M
Larger context
GLM 5.2
1M
More providers
GLM 5.2
10 providers

Pricing & specs

cheapest serving route · per 1M tokens
GLM 5.2Mercury 2
Input $/1M$0.61 $0.25 best
Output $/1M$1.98 $0.75 best
Context window1M best128K
Max output1M best50K
Serving providers10 best2
Released2026-06-13 2026-02-24

Benchmarks

Artificial Analysis indices, side by side
GLM 5.2Mercury 2
Intelligence52.6 best21.9
Coding68.8 best31.1
GPQA Diamond89% best77%
Output speed70 t/s 939 t/s best
Latency (TTFT)1.56s best3.44s

Cost calculator

choose a serving route for each side
Input tokens / month
Output tokens / month
GLM 5.2
via Scx AI
$5.03
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 ($0.61 vs $0.25 per 1M tokens). Mercury 2 is cheaper for output ($1.98 vs $0.75 per 1M tokens).
What is the context window difference between GLM 5.2 and Mercury 2?
GLM 5.2 has a 1M-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 coding, and 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