GLM 5.1 vs Grok 4.3

API pricing, context window and capabilities for GLM 5.1 and Grok 4.3, 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.1 wins on coding and on intelligence. Grok 4.3 wins on context window.

Price
Tied
Coding
GLM 5.1
Intelligence
GLM 5.1
Context window
Grok 4.3

Key takeaways

who wins on what, from the published numbers

GLM 5.1 wins

  • Cheaper input ($1.05 vs $1.25 /1M)
  • More serving providers (2 vs 1)

Grok 4.3 wins

  • Cheaper output ($3.50 vs $2.50 /1M)
  • Larger context window (203K vs 1M)
  • Higher max output (128K vs 1M)
  • Supports vision
  • Supports structured output
  • Has web search
Cheaper overall
Grok 4.3
$1.25 + $2.50 /1M
Larger context
Grok 4.3
1M
More providers
GLM 5.1
2 providers

Pricing & specs

cheapest serving route · per 1M tokens
GLM 5.1Grok 4.3
Input $/1M$1.05 best$1.25
Output $/1M$3.50 $2.50 best
Context window203K 1M best
Max output128K 1M best
Serving providers2 best1
Released2026-04-07 2026-04-18

Benchmarks

Artificial Analysis indices, side by side
GLM 5.1Grok 4.3
Intelligence40.2 best37.6
Coding55.8 best42.3
GPQA Diamond87% 90% best
Output speed91 t/s 113 t/s best
Latency (TTFT)10.49s best17.26s

Cost calculator

choose a serving route for each side
Input tokens / month
Output tokens / month
GLM 5.1
via OpenRouter
$8.75
Grok 4.3
via xAI
$8.75

Capabilities

feature support, side by side
FeatureGLM 5.1Grok 4.3
Vision
Tool use
Reasoning
Audio
Prompt caching
Structured output
Web search

Related comparisons

Frequently asked questions

Which is cheaper, GLM 5.1 or Grok 4.3?
GLM 5.1 is cheaper for input ($1.05 vs $1.25 per 1M tokens). Grok 4.3 is cheaper for output ($3.50 vs $2.50 per 1M tokens).
What is the context window difference between GLM 5.1 and Grok 4.3?
GLM 5.1 has a 203K-token context window and Grok 4.3 has 1M tokens, so Grok 4.3 can take a larger prompt.
How do GLM 5.1 and Grok 4.3 compare on benchmarks?
On the tracked Artificial Analysis indices, GLM 5.1 leads on coding, and GLM 5.1 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