GLM 5.1 vs Grok 4 20 Non Reasoning
API pricing, context window and capabilities for GLM 5.1 and Grok 4 20 Non Reasoning, side by side. Prices are the cheapest listed serving route per 1M tokens, from LiteLLM and OpenRouter.
Verdict
computed from the published numbersGLM 5.1 wins on intelligence. Grok 4 20 Non Reasoning wins on context window. Benchmark data is unavailable for one or both models.
Price
Tied
Terminal-Bench
Not called
Intelligence
GLM 5.1
Context window
Grok 4 20 Non Reasoning
Key takeaways
who wins on what, from the published numbersGLM 5.1 wins
- Cheaper input ($1.05 vs $1.25 /1M)
- More serving providers (12 vs 5)
Grok 4 20 Non Reasoning wins
- Cheaper output ($3.50 vs $2.50 /1M)
- Larger context window (205K vs 2M)
- Higher max output (203K vs 2M)
- Supports vision
- Has web search
Cheaper overall
Grok 4 20 Non Reasoning
$1.25 + $2.50 /1M
Larger context
Grok 4 20 Non Reasoning
2M
More providers
GLM 5.1
12 providers
Pricing & specs
cheapest listed route · per 1M tokensOn-demand listed rates, OpenRouter routed quotes and Vercel reseller quotes. Enterprise commitments can be materially lower.
| GLM 5.1 | Grok 4 20 Non Reasoning | |
|---|---|---|
| Input $/1M | $1.05via DeepInfra best | $1.25via xAI |
| Output $/1M | $3.50via DeepInfra | $2.50via xAI best |
| Context window | 205K | 2M best |
| Max output | 203K | 2M best |
| Serving providers | 12 best | 5 |
| Date | Released Apr 7, 2026 | Released Mar 9, 2026 |
Benchmarks
Benchmark scores, side by side| GLM 5.1 | Grok 4 20 Non Reasoning | |
|---|---|---|
| Intelligence | 26.1 best | 14.2 |
| Terminal-Bench | 62% | Not available |
| GPQA Diamond | 87% best | 78% |
| Output speed | 66 t/s | 94 t/s best |
| Latency (TTFT) | 1.71s | 0.62s best |
Cost calculator
choose a serving route for each sideInput tokens / month
Output tokens / month
GLM 5.1
via DeepInfra
$8.75
Grok 4 20 Non Reasoning
via Azure
$8.75
Capabilities
feature support, side by side| Feature | GLM 5.1 | Grok 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.1 or Grok 4 20 Non Reasoning?
GLM 5.1 is cheaper for input ($1.05 vs $1.25 per 1M tokens) from DeepInfra. Grok 4 20 Non Reasoning is cheaper for output ($3.50 vs $2.50 per 1M tokens) from xAI.
What is the context window difference between GLM 5.1 and Grok 4 20 Non Reasoning?
GLM 5.1 has a 205K-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.1 and Grok 4 20 Non Reasoning compare on benchmarks?
On the tracked benchmarks, GLM 5.1 leads on intelligence.
Listed prices from LiteLLM, OpenRouter and Vercel · last checked Oct 14, 2026
Every weekday
AI moves fast. Here's your debrief.
News, analysis, tools, and more.
For people who build with AI