Compare AI models

Specifications
Parameters
22B9B/32B
Context window
32k128k
API pricing
Input price
—$0.1032B checkpoint
Output price
—$0.10
—$25.00Z.ai list price
These models have no shared benchmark scores.
Overview
CompanyMistralZ.ai
Release dateMay 29 2024Apr 14 2025
AccessOpen WeightOpen Weight
Model detailsView modelView model

Frequently asked questions

Codestral 22B and GLM-4-0414 don't publish scores on any of the same benchmarks, so there's no direct head-to-head comparison. Only GLM-4-0414 has a verified first-party price for an available API: $0.10 per million input tokens and $0.10 per million output tokens. No currently available pay-as-you-go API rate is tracked for Codestral 22B. The listed GLM-4-0414 rates use the “32B checkpoint” pricing scope. Codestral 22B shipped 320 days before GLM-4-0414, so benchmark comparisons should account for the intervening progress.

Codestral 22B has 22B parameters, while GLM-4-0414 has 9B/32B. Context windows are 32k (Codestral 22B) vs 128k (GLM-4-0414).

Direct benchmark comparisons are unavailable — Codestral 22B and GLM-4-0414 don't publish scores on any of the same benchmarks.