AI model comparison

Grok Build 0.1 vs GLM 5.1

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

GLM-5.1 delivers a major leap in coding capability, with particularly significant gains in handling long-horizon tasks.

Input / 1M
$0.97
Output / 1M
$3.04
Context
205K

At a glance

Quick verdict

How the two models stack up on the things people ask about most.

Lower price

x-ai logo

Grok Build 0.1

1.1x cheaper for a typical chat

Higher intelligence score

x-ai logo

Grok Build 0.1

27.2 vs 26.1 on Artificial Analysis

Larger context window

x-ai logo

Grok Build 0.1

256K vs 205K tokens

Newer release

x-ai logo

Grok Build 0.1

Released May 20, 2026

Benchmarks

Benchmark scores

Independent scores from Artificial Analysis. Higher is better.

Intelligence index

x-ai logoGrok Build 0.127.2
z-ai logoGLM 5.126.1

Coding index

x-ai logoGrok Build 0.151.5
z-ai logoGLM 5.155.8

Agentic index

x-ai logoGrok Build 0.1Not available
z-ai logoGLM 5.123.9

Pricing

Grok Build 0.1 vs GLM 5.1 API pricing

Per-token API rates. Cheaper option highlighted.

Metricx-ai logoGrok Build 0.1z-ai logoGLM 5.1
Input tokensPer 1M tokens$1$0.97
Output tokensPer 1M tokens$2$3.04
Cached input (read)Per 1M tokens$0.20$0.18
Cache writePer 1M tokensNot availableNot available
Long-context pricingPer 1M tokens, for very long prompts$2 in / $4 out above 200KSame rate at any length
Web searchPer request$0.005Not 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

x-ai logoGrok Build 0.1$3
z-ai logoGLM 5.1$3.45

Coding task

30K in, 4K out

x-ai logoGrok Build 0.1$38$14 cached
z-ai logoGLM 5.1$41.12$17.53 cached

Long document summary

150K in, 2K out

x-ai logoGrok Build 0.1$154$34 cached
z-ai logoGLM 5.1$150.97$32.98 cached

Specs

Context window and capabilities

How much each model can read, how much it can write, and what it accepts as input.

Metricx-ai logoGrok Build 0.1z-ai logoGLM 5.1
Context window256K tokens205K tokens
Max output230K tokens128K tokens
Input typesFile, Image, TextText
Output typesTextText
Reasoning effort levelsNot availableNot available
Default reasoning effortNot availableNot available
Release dateMay 20, 2026April 7, 2026

Features

Supported features

API features available for each model.

Metricx-ai logoGrok Build 0.1z-ai logoGLM 5.1
Tool callingSupportedSupported
Structured outputsSupportedSupported
JSON modeSupportedSupported
ReasoningSupportedSupported
TemperatureSupportedSupported
Stop sequencesNot supportedSupported
Deterministic seedSupportedSupported
Verbosity controlNot supportedNot supported

Our take

Grok Build 0.1 is 1.1x cheaper for a typical chat. Grok Build 0.1 scores higher on the Artificial Analysis Intelligence Index (27.2 vs 26.1). 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.1 cheaper?

Grok Build 0.1 is cheaper for a typical chat (2K input tokens and 500 output tokens). Grok Build 0.1 costs $1 per 1M input tokens and $2 per 1M output tokens, while GLM 5.1 costs $0.97 per 1M input tokens and $3.04 per 1M output tokens.

Which has a bigger context window, Grok Build 0.1 or GLM 5.1?

Grok Build 0.1 supports up to 256K tokens of context, compared with 205K for GLM 5.1.

Is Grok Build 0.1 smarter than GLM 5.1?

On the Artificial Analysis Intelligence Index, Grok Build 0.1 scores 27.2 and GLM 5.1 scores 26.1, putting Grok Build 0.1 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.1 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.1 answer side by side and keep the better response.

x-ai logoz-ai logo

Why choose? Ask both.

Send one prompt to Grok Build 0.1 and GLM 5.1 at the same time. Compare the answers side by side and keep the best one.