Price Per TokenPrice Per Token
Mistral AI
Mistral AI
vs
Z-ai

Codestral 2508 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

Codestral 2508 wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Larger context window

GLM 5 wins:

  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
  • Has reasoning mode
Price Advantage
Codestral 2508
Benchmark Advantage
GLM 5
Context Window
Codestral 2508
Speed
GLM 5

Pricing Comparison

Benchmark Comparison

Context & Performance

Capabilities

Feature Comparison

FeatureCodestral 2508GLM 5
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyCodestral 2508GLM 5
LicenseOpen SourceOpen Source
AuthorMistral AIZ-ai
ReleasedAug 2025Feb 2026

Codestral 2508 Modalities

Input
text
Output
text

GLM 5 Modalities

Input
text
Output
text

Frequently Asked Questions

Codestral 2508 has cheaper input pricing at $0.30/M tokens. Codestral 2508 has cheaper output pricing at $0.90/M tokens.
Codestral 2508 has a 256,000 token context window, while GLM 5 has a 202,752 token context window.
Codestral 2508 does not support vision. GLM 5 does not support vision.