Price Per TokenPrice Per Token
Xai
Xai
vs
Z-ai

Grok Code Fast 1 vs GLM 5

A detailed comparison of pricing, benchmarks, and capabilities

Get our weekly newsletter on pricing changes, new releases, and tools.

Join the Price Per Token Community

Key Takeaways

Grok Code Fast 1 wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Larger context window
  • Faster response time
  • Better at math

GLM 5 wins:

  • Higher intelligence benchmark
  • Better at coding
Price Advantage
Grok Code Fast 1
Benchmark Advantage
GLM 5
Context Window
Grok Code Fast 1
Speed
Grok Code Fast 1

Pricing Comparison

Benchmark Comparison

Context & Performance

Capabilities

Feature Comparison

FeatureGrok Code Fast 1GLM 5
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyGrok Code Fast 1GLM 5
LicenseProprietaryOpen Source
AuthorXaiZ-ai
ReleasedAug 2025Feb 2026

Grok Code Fast 1 Modalities

Input
text
Output
text

GLM 5 Modalities

Input
text
Output
text

Frequently Asked Questions

Grok Code Fast 1 has cheaper input pricing at $0.20/M tokens. Grok Code Fast 1 has cheaper output pricing at $1.50/M tokens.
GLM 5 scores higher on coding benchmarks with a score of 39.0, compared to Grok Code Fast 1's score of 23.7.
Grok Code Fast 1 has a 256,000 token context window, while GLM 5 has a 202,752 token context window.
Grok Code Fast 1 does not support vision. GLM 5 does not support vision.