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 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.