Skip to content
  • Models
  • Rankings
  • Ori
Sign Up
Sign Up
OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Collections
  • Providers
  • Pricing
  • Business
  • Enterprise
  • Labs

Company

  • About
  • Blog
  • Careers
    Hiring
  • Privacy
  • Terms of Service
  • Trust Center
  • Support
  • Works With OR
  • Data
  • Brand

Developer

  • Documentation
  • API Reference
  • Developer Platform
  • Status

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube
  1. Home
  2. /
  3. Compare

Codestral 2508 vs GLM 4.6

Compare Codestral 2508 from Mistral AI and GLM 4.6 from Z.ai on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.

Codestral 2508 vs GLM 4.6: side-by-side summary

Codestral 2508 and GLM 4.6 are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.

Codestral 2508, from Mistral AI, has a 256,000-token context window and is priced at $0.30/M tokens input, $0.90/M tokens output on OpenRouter.

GLM 4.6, from Z.ai, has a 204,800-token context window and is priced at $0.43/M tokens input, $1.75/M tokens output on OpenRouter.

Context window
  • Codestral 2508: 256,000 tokens
  • GLM 4.6: 204,800 tokens
Price
  • Codestral 2508: $0.30/M tokens input, $0.90/M tokens output
  • GLM 4.6: $0.43/M tokens input, $1.75/M tokens output
Provided by
  • Codestral 2508: Mistral AI
  • GLM 4.6: Z.ai
  • Codestral 2508 model details, providers and pricing
  • GLM 4.6 model details, providers and pricing