Compare AI models

Specifications
Parameters
24B6B
Context window
128k8k
API pricing
Cheapest input
$0.351Cloudflare—
Cheapest output
$0.555Cloudflare—
$97.95Cloudflare—
Benchmarks
HumanEval
88.41%35.9%
Overview
CompanyMistralZ.ai
Release dateMar 17 2025Jul 25 2023
AccessOpen WeightOpen Weight
Model detailsView modelView model

Frequently asked questions

Mistral Small 3.1 leads CodeGeeX2-6B on 1 of the 1 benchmark they both report (HumanEval). CodeGeeX2-6B shipped 601 days before Mistral Small 3.1, so benchmark comparisons should account for the intervening progress.

Mistral Small 3.1 has 24B parameters, while CodeGeeX2-6B has 6B. Context windows are 128k (Mistral Small 3.1) vs 8k (CodeGeeX2-6B).

On HumanEval, Mistral Small 3.1 leads at 88.41% vs CodeGeeX2-6B at 35.9%.