AI model comparison
Grok Build 0.1 vs GLM 5
Pricing, context window, benchmarks, and features compared side by side. Or skip the guesswork and send one prompt to both.
Grok Build 0.1 is SpaceXAI’s fast coding model trained specifically for agentic software engineering workflows.
- Input / 1M
- $1
- Output / 1M
- $2
- Context
- 256K
Z.ai
GLM 5
GLM-5 is Z.ai’s flagship open-source foundation model engineered for complex systems design and long-horizon agent workflows.
- Input / 1M
- $0.60
- Output / 1M
- $1.92
- Context
- 205K
At a glance
Quick verdict
How the two models stack up on the things people ask about most.
Lower price
GLM 5
1.4x cheaper for a typical chat
Higher intelligence score
GLM 5
27.9 vs 27.2 on Artificial Analysis
Larger context window
Grok Build 0.1
256K vs 205K tokens
Newer release
Grok Build 0.1
Released May 20, 2026
Benchmarks
Benchmark scores
Independent scores from Artificial Analysis. Higher is better.
Intelligence index
Coding index
Agentic index
Pricing
Grok Build 0.1 vs GLM 5 API pricing
Per-token API rates. Cheaper option highlighted.
| Metric | ||
|---|---|---|
| Input tokensPer 1M tokens | $1 | $0.60 |
| Output tokensPer 1M tokens | $2 | $1.92 |
| Cached input (read)Per 1M tokens | $0.20 | $0.12 |
| Cache writePer 1M tokens | Not available | Not available |
| Long-context pricingPer 1M tokens, for very long prompts | $2 in / $4 out above 200K | Same rate at any length |
| Web searchPer request | $0.005 | Not available |
What it costs in practice
Estimated cost per 1,000 requests at standard rates. Coding and long-document figures also show the cost when the input is already cached.
Chat message
2K in, 500 out
Coding task
30K in, 4K out
Long document summary
150K in, 2K out
Specs
Context window and capabilities
How much each model can read, how much it can write, and what it accepts as input.
| Metric | ||
|---|---|---|
| Context window | 256K tokens | 205K tokens |
| Max output | 230K tokens | 128K tokens |
| Input types | File, Image, Text | Text |
| Output types | Text | Text |
| Reasoning effort levels | Not available | Not available |
| Default reasoning effort | Not available | Not available |
| Release date | May 20, 2026 | February 11, 2026 |
Features
Supported features
API features available for each model.
| Metric | ||
|---|---|---|
| Tool calling | Supported | Supported |
| Structured outputs | Supported | Supported |
| JSON mode | Supported | Supported |
| Reasoning | Supported | Supported |
| Temperature | Supported | Supported |
| Stop sequences | Not supported | Supported |
| Deterministic seed | Supported | Supported |
| Verbosity control | Not supported | Not supported |
Our take
GLM 5 is 1.4x cheaper for a typical chat. GLM 5 scores higher on the Artificial Analysis Intelligence Index (27.9 vs 27.2). Grok Build 0.1 has the larger context window (256K vs 205K tokens). The right pick depends on your workload, so the quickest way to settle it is to send the same prompt to both and compare.
FAQ
Frequently asked questions
Is Grok Build 0.1 or GLM 5 cheaper?
GLM 5 is cheaper for a typical chat (2K input tokens and 500 output tokens). GLM 5 costs $0.60 per 1M input tokens and $1.92 per 1M output tokens, while Grok Build 0.1 costs $1 per 1M input tokens and $2 per 1M output tokens.
Which has a bigger context window, Grok Build 0.1 or GLM 5?
Grok Build 0.1 supports up to 256K tokens of context, compared with 205K for GLM 5.
Is Grok Build 0.1 smarter than GLM 5?
On the Artificial Analysis Intelligence Index, Grok Build 0.1 scores 27.2 and GLM 5 scores 27.9, putting GLM 5 ahead. Benchmarks don't capture everything, so the best test is running your own prompts through both.
Can I use Grok Build 0.1 and GLM 5 at the same time?
Yes. Shortcut Chat sends one prompt to multiple models at once, so you can see Grok Build 0.1 and GLM 5 answer side by side and keep the better response.
Why choose? Ask both.
Send one prompt to Grok Build 0.1 and GLM 5 at the same time. Compare the answers side by side and keep the best one.