Compare AI models

Specifications
ParametersThe learned values that shape how a model responds. B means billion and T means trillion. For mixture-of-experts models, the total count is larger than the number active for each token. Parameter count alone does not measure quality.
22B9B
Context windowHow much information the model can work with in one request, measured in tokens — pieces of words or other data. This includes your question, attachments, conversation and reply. Limits can vary by model variant and provider.
32k128k
Overview
CompanyMistralZ.ai
Release dateMay 29 2024Jun 5 2024
AccessClosedOpen Weight
Model detailsView modelView model

Frequently asked questions

Codestral 22B and GLM-4-9B don't publish scores on any of the same benchmarks, so there's no direct head-to-head comparison. Codestral 22B shipped 7 days before GLM-4-9B, so benchmark comparisons should account for the intervening progress.

Codestral 22B has 22B parameters, while GLM-4-9B has 9B. Context windows are 32k (Codestral 22B) vs 128k (GLM-4-9B). Codestral 22B is closed, while GLM-4-9B is open weight.

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