Mistral AICodestral 22BVSZ.ai (Zhipu AI)GLM-5
Our Take
Standardized reasoning and coding benchmarks are currently pending verification for one or both of these models. We recommend testing Codestral 22B and GLM-5 directly in their respective provider playgrounds to see which fits your specific prompt styles best.
Was this recommendation helpful?
Benchmarks & Scores
Coding (human-eval)
81.1%basic standalone code completion and simple functions
Reasoning (gpqa-diamond)
N/Agraduate-level science QA
Cost & Context
Cost (per 1M tokens)3.4x cheaper
$0.45Input: $0.30 | Output: $0.90Context Window
32.77k tokensFrequently Asked Questions about Codestral 22B vs GLM-5
Codestral 22B is cheaper than GLM-5. Codestral 22B has a blended cost of $0.45/1M tokens, which is about 3.4x cheaper than GLM-5 at $1.55/1M tokens.
For coding tasks, Codestral 22B scores 81.1% on human-eval (basic standalone code completion and simple functions), while GLM-5 scores 77.8% on swe-bench-verified (multi-file code and clearly defined tasks).
Related Matchups
Explore similar comparisons for Codestral 22B and GLM-5.
Do you want to find a model for your constraints?
Use our interactive model finder to filter LLMs by reasoning capability, coding performance, cost, and context length.