GLM 5.2 vs Grok 4 20 Non Reasoning

API pricing, context window and capabilities for GLM 5.2 and Grok 4 20 Non Reasoning, 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 price and on intelligence. Grok 4 20 Non Reasoning wins on context window. Benchmark data is unavailable for one or both models.

Price
GLM 5.2
Coding
Not called
Intelligence
GLM 5.2
Context window
Grok 4 20 Non Reasoning

Key takeaways

who wins on what, from the published numbers

GLM 5.2 wins

  • Cheaper input ($1.40 vs $2.00 /1M)
  • Cheaper output ($4.40 vs $6.00 /1M)
  • Has reasoning mode

Grok 4 20 Non Reasoning wins

  • Larger context window (262K vs 2M)
  • Higher max output (262K vs 2M)
  • Supports vision
  • Supports structured output
  • Has web search
Cheaper overall
GLM 5.2
$1.40 + $4.40 /1M
Larger context
Grok 4 20 Non Reasoning
2M
More providers
Tied

Pricing & specs

cheapest serving route · per 1M tokens
GLM 5.2Grok 4 20 Non Reasoning
Input $/1M$1.40 best$2.00
Output $/1M$4.40 best$6.00
Context window262K 2M best
Max output262K 2M best
Serving providers1 1
Released2026-06-13 2026-03-09

Benchmarks

Artificial Analysis indices, side by side
GLM 5.2Grok 4 20 Non Reasoning
Intelligence51.1 best21.8
Coding68.8 Not available
GPQA Diamond89% best78%
Output speed200 t/s best163 t/s
Latency (TTFT)6.32s 4.54s best

Cost calculator

choose a serving route for each side
Input tokens / month
Output tokens / month
GLM 5.2
via Cloudflare
$11
Grok 4 20 Non Reasoning
via Vertex AI
$16

Capabilities

feature support, side by side
FeatureGLM 5.2Grok 4 20 Non Reasoning
Vision
Tool use
Reasoning
Audio
Prompt caching
Structured output
Web search

Related comparisons

Frequently asked questions

Which is cheaper, GLM 5.2 or Grok 4 20 Non Reasoning?
GLM 5.2 is cheaper for input ($1.40 vs $2.00 per 1M tokens). GLM 5.2 is cheaper for output ($4.40 vs $6.00 per 1M tokens).
What is the context window difference between GLM 5.2 and Grok 4 20 Non Reasoning?
GLM 5.2 has a 262K-token context window and Grok 4 20 Non Reasoning has 2M tokens, so Grok 4 20 Non Reasoning can take a larger prompt.
How do GLM 5.2 and Grok 4 20 Non Reasoning 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