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

Devstral Medium 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

Devstral Medium wins:

  • Cheaper input tokens
  • Cheaper output tokens
  • Faster response time
  • Better at math

GLM 5 wins:

  • Larger context window
  • Higher intelligence benchmark
  • Better at coding
  • Has reasoning mode
Price Advantage
Devstral Medium
Benchmark Advantage
GLM 5
Context Window
GLM 5
Speed
Devstral Medium

Pricing Comparison

Benchmark Comparison

Context & Performance

Capabilities

Feature Comparison

FeatureDevstral MediumGLM 5
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyDevstral MediumGLM 5
LicenseOpen SourceOpen Source
AuthorMistral AIZ-ai
ReleasedJul 2025Feb 2026

Devstral Medium Modalities

Input
text
Output
text

GLM 5 Modalities

Input
text
Output
text

Frequently Asked Questions

Devstral Medium has cheaper input pricing at $0.40/M tokens. Devstral Medium has cheaper output pricing at $2.00/M tokens.
GLM 5 scores higher on coding benchmarks with a score of 39.0, compared to Devstral Medium's score of 15.9.
Devstral Medium has a 131,072 token context window, while GLM 5 has a 202,752 token context window.
Devstral Medium does not support vision. GLM 5 does not support vision.