LLM Reference

GLM-5 vs Grok-3

GLM-5 (2026) and Grok-3 (2025) are frontier-tier reasoning models from Zhipu AI and xAI. GLM-5 ships a 200k-token context window, while Grok-3 ships a 131k-token context window. On MMLU PRO, GLM-5 leads by 6.1 pts. On pricing, GLM-5 costs $0.60/1M input tokens versus $0.80/1M for the alternative. This comparison covers specs, pricing, API access, capabilities, benchmarks, input and output token costs, and production fit for coding and agent workloads.

GLM-5 is safer overall; choose Grok-3 when vision-heavy evaluation matters.

Decision scorecard

Local evidence first
SignalGLM-5Grok-3
Best forreasoning-heavy apps, tool-calling agents, and provider-routed productionreasoning-heavy apps, multimodal apps, and tool-calling agents
Decision fitCoding, RAG, and AgentsCoding, RAG, and Agents
Context window200k131k
Cheapest output$2.08/1M tokens$2.40/1M tokens
Provider routes7 tracked4 tracked
Shared benchmarksMMLU PRO leader4 shared

Decision tradeoffs

Choose GLM-5 when...
  • GLM-5 holds a shared-benchmark lead on MMLU PRO, ahead by 6.1 points.
  • GLM-5 has the larger context window for long prompts, retrieval packs, or transcript analysis.
  • GLM-5 has the lower cheapest tracked output price at $2.08/1M tokens.
  • GLM-5 has broader tracked provider coverage for fallback and route flexibility.
  • Local decision data tags GLM-5 for Coding, RAG, and Agents.
Choose Grok-3 when...
  • Grok-3 holds a shared-benchmark lead on AIME 2025, ahead by 0.6 points.
  • Grok-3 uniquely exposes Vision and Multimodal in local model data.
  • Local decision data tags Grok-3 for Coding, RAG, and Agents.

Monthly cost at traffic

Estimate token spend from the cheapest tracked input and output route or tier on this page.

Lower estimate GLM-5

GLM-5

$1,000

Cheapest tracked route/tier: OpenRouter

Grok-3

$1,240

Cheapest tracked route/tier: Chutes AI

Estimated monthly gap: $240. Batch, cache, alternate speed tiers, and negotiated pricing are excluded from this local estimate.

Switch friction

GLM-5 -> Grok-3
  • Provider overlap exists on OpenRouter; start route-level A/B tests there.
  • Grok-3 is $0.32/1M tokens higher on cheapest tracked output pricing, so quality gains need to justify the spend.
  • Grok-3 adds Vision and Multimodal in local capability data.
Grok-3 -> GLM-5
  • Provider overlap exists on OpenRouter; start route-level A/B tests there.
  • GLM-5 is $0.32/1M tokens lower on cheapest tracked output pricing before cache, batch, or negotiated discounts.
  • Check replacement coverage for Vision and Multimodal before moving production traffic.

Specs

Specification
Released2026-02-112025-02-17
Context window200k131k
Parameters744B total, 40B active
ArchitectureMixture of Experts-
LicenseMITOSI-approvedProprietary
OpennessOpen sourceProprietary
WeightsAvailableNot released
CodeUnknownUnknown
Commercial useCommercial use: permittedCommercial use: conditional
Knowledge cutoff2025-112025-04

Pricing and availability

Pricing attributeGLM-5Grok-3
Input price$0.60/1M tokens$0.80/1M tokens
Output price$2.08/1M tokens$2.40/1M tokens
Providers

Capabilities

CapabilityGLM-5Grok-3
VisionNoYes
MultimodalNoYes
ReasoningYesYes
JSON / Tool useYesYes
Structured outputsYesYes
Code executionNoNo
IDE integrationNoNo
Computer useNoNo
Parallel agentsNoNo

Benchmarks

BenchmarkGLM-5Grok-3
MMLU PRO86.079.9
Google-Proof Q&A86.084.6
AIME 202592.793.3
LiveCodeBench81.979.4

Continue comparing

Last reviewed: 2026-07-10. Data sourced from public model cards and provider documentation.