Skip to content
OpenKey

Grok 4.3 vs GLM 5

xAIZ.aiboth via one key, provider price + 3%

Grok 4.3 (xAI, released April 2026) and GLM 5 (Z.ai, released February 2026) both target agentic and coding workloads but land in different spots on price and input handling. Grok 4.3 accepts text, image, and file input with a 1M-token context window; GLM 5 is text-only at 202,752 tokens but built specifically for long-horizon agent workflows and large-scale programming. The gap that matters most for most builders: GLM 5 costs less than half as much per input token.

Spec vs spec

SpecGrok 4.3GLM 5
Context window1M203K
Input modalitiestext, image, filetext
Output modalitiestexttext
ReleasedApr 30, 2026Feb 11, 2026
Reasoningoptionaloptional

Pricing

Per 1M tokens. Provider price plus the flat 3% fee — the sum is what you pay.

openkey.ai

x-ai/grok-4.3

Input · 1M tokens

$1.25 + 3%$1.29

Output · 1M tokens

$2.50 + 3%$2.58

Cache read · 1M tokens

$0.200 + 3%$0.206

FEE — FLAT, EVERY MODEL3%

openkey.ai

z-ai/glm-5

Input · 1M tokens

$0.600 + 3%$0.618

Output · 1M tokens

$1.92 + 3%$1.98

Cache read · 1M tokens

$0.120 + 3%$0.124

FEE — FLAT, EVERY MODEL3%

One workload, priced on both

10M input + 2M output tokens at each model's price, flat 3% fee included.

x-ai/grok-4.3

$18.03

$17.50 provider + 3%

z-ai/glm-5Cheaper

$10.14

$9.84 provider + 3%

Benchmarks

Design Arena categories where both models have results. Higher Elo and lower rank win.

Grok 4.3GLM 5
CategoryEloRankEloRank
3D1202#431307#15
androidnative1074#231244#6
ASCII art1189#271192#26
Code1243#311295#16
Data viz1234#351269#22
Full-stack1072#261190#13
Game dev1242#341299#15
godotgamedev1134#161237#3
Mobile apps1146#261222#10
SVG1140#441225#19
UI components1250#311287#21
Websites1244#311290#18

Head-to-head preference voting. How we filter and rank

Pricing math

Grok 4.3 lists at $1.25/M input and $2.50/M output from xAI; on OpenKey that's $1.25 x 1.03 = $1.2875/M input and $2.50 x 1.03 = $2.575/M output. GLM 5 lists at $0.60/M input and $1.92/M output; on OpenKey that's $0.60 x 1.03 = $0.618/M input and $1.92 x 1.03 = $1.9776/M output. Grok 4.3's input price is 2.08x GLM 5's. Run the numbers on a real workload — 10M input tokens plus 2M output tokens — and Grok 4.3 costs $17.50 versus GLM 5's $9.84. That's a fixed gap you pay on every batch job, not a one-time difference. Both models are billed through OpenKey with a single key and the same flat 3% fee on top of provider list price, so there's no platform markup difference to factor in — the price gap is entirely between xAI and Z.ai's own list prices.

Agentic and coding benchmarks

On the Design Arena categories both models are scored in, GLM 5 leads across the board: androidnative (elo 1244, rank 6, 62% win rate) versus Grok 4.3 (elo 1074, rank 23, 28.6% win rate); fullstack (GLM 5 elo 1190 rank 13 vs Grok 4.3 elo 1072 rank 26); godotgamedev (GLM 5 elo 1237 rank 3 vs Grok 4.3 elo 1134 rank 16); mobileapps (GLM 5 elo 1222 rank 10 vs Grok 4.3 elo 1146 rank 26). The pattern repeats in model-level categories like codecategories (GLM 5 elo 1295 rank 16 vs Grok 4.3 elo 1243 rank 31) and gamedev (GLM 5 elo 1299 rank 15 vs Grok 4.3 elo 1242 rank 34). Grok 4.3 does hold its own on Artificial Analysis metrics not measured for GLM 5: intelligence index 37.6, coding index 42.2, agentic index 24.1 — but there's no matching GLM 5 score to compare directly.

Context and modality

Grok 4.3 supports 1,000,000 tokens of context against GLM 5's 202,752 — a 4.93x ratio. If you're feeding in full codebases, long transcripts, or multi-document retrieval sets, Grok 4.3 has meaningfully more room before you need to chunk or summarize. Grok 4.3 also accepts image and file inputs alongside text; GLM 5 is text-in, text-out only. If your pipeline needs to read screenshots, PDFs, or diagrams, GLM 5 is out regardless of its price or benchmark advantages. Neither model publishes a max completion token cap in this data, and neither has a listed knowledge cutoff date.

When to pick each

Pick Grok 4.3 when the task involves images, files, or documents beyond 202K tokens — the 1M context window and multimodal input are the whole reason to pay more. Pick GLM 5 for pure coding and agent workloads at scale: it wins on every shared Design Arena benchmark and costs $9.84 versus $17.50 on the same 10M/2M workload, a difference that compounds fast in CI pipelines or batch agent runs. Both are available on OpenKey under one key with the standard 3% fee, so switching between them for different jobs doesn't mean managing two sets of credentials.

Which model for which job

Use casePickWhy
Long-document analysis (>200K tokens)Grok 4.31M context window vs GLM 5's 202,752
Image or file-based agent tasksGrok 4.3Only Grok 4.3 accepts image and file input; GLM 5 is text-only
High-volume coding agentsGLM 5Leads Grok 4.3 in codecategories (elo 1295 vs 1243) and costs less
Mobile or Android app generationGLM 5androidnative elo 1244, rank 6, vs Grok 4.3's elo 1074, rank 23
Cost-sensitive batch jobsGLM 5$9.84 vs $17.50 on a 10M-input/2M-output workload
Full-stack web app scaffoldingGLM 5fullstack elo 1190, rank 13, vs Grok 4.3's elo 1072, rank 26

Questions

Which is cheaper, Grok 4.3 or GLM 5?
GLM 5. On OpenKey it's $0.618/M input and $1.9776/M output versus Grok 4.3's $1.2875/M input and $2.575/M output — Grok 4.3's input price is 2.08x GLM 5's. On a 10M-input/2M-output workload, that's $9.84 for GLM 5 versus $17.50 for Grok 4.3.
Which model has a bigger context window?
Grok 4.3, by a wide margin: 1,000,000 tokens versus GLM 5's 202,752, a ratio of 4.93x. If your workload needs more than 200K tokens of context in a single call, GLM 5 can't handle it and Grok 4.3 is the only option here.
Can GLM 5 process images?
No. GLM 5's modality is text-to-text only. Grok 4.3 accepts text, image, and file inputs and outputs text, so any workload involving screenshots, PDFs, or diagrams has to go to Grok 4.3.
Which model wins on coding benchmarks?
GLM 5, on every shared Design Arena category. In codecategories GLM 5 scores elo 1295 (rank 16) versus Grok 4.3's elo 1243 (rank 31). In fullstack GLM 5 hits elo 1190 (rank 13) against Grok 4.3's elo 1072 (rank 26).

Go deeper