Skip to main content
Glama

glm-5.2 vs grok-build-0.1

Pricing, Performance & Features Comparison

Authorzai
Context Length1M
Reasoning
Providers1
ReleasedJun 2026
Knowledge Cutoff
License

Z.ai’s flagship (744B MoE, MIT open weights) with a 1M-token context window and adjustable reasoning effort, built for long-horizon coding and agentic tasks.

Input$1.4
Output$4.4
Latency (p50)7.1s
Output Limit131K
Function Calling
JSON Mode
InputText
OutputText
in$1.4out$4.4cache$0.26
Latency (24h)
Success Rate (24h)
Authorxai
Context Length256K
Reasoning
Providers1
ReleasedMay 2026
Knowledge Cutoff
License

xAI’s agentic coding model and the successor to grok-code-fast-1; also suited to inexpensive general tool-calling.

Input$1
Output$2
Latency (p50)5.7s
Output Limit
Function Calling
JSON Mode
-
InputText, Image
OutputText
in$1out$2cache$0.2
Latency (24h)
Success Rate (24h)