Compare AI models

Specifications
Parameters
119B9B
Context window
256k128k
API pricing
Input price
$0.15—
Output price
$0.60—
Cached input price
$0.015—
Cheapest input
$0.15Mistral—
Cheapest output
$0.60Mistral—
$60.00Mistral list price—
Benchmarks
LiveCodeBench
63.6%28.5%
Overview
CompanyMistralZ.ai
Release dateMar 16 2026Jul 5 2024
AccessOpen WeightOpen Weight
Model detailsView modelView model

Frequently asked questions

Mistral Small 4 leads CodeGeeX4-ALL-9B on 1 of the 1 benchmark they both report (LiveCodeBench). Only Mistral Small 4 has a verified first-party price for an available API: $0.15 per million input tokens and $0.60 per million output tokens. No currently available pay-as-you-go API rate is tracked for CodeGeeX4-ALL-9B. CodeGeeX4-ALL-9B shipped 619 days before Mistral Small 4, so benchmark comparisons should account for the intervening progress.

Mistral Small 4 has 119B parameters, while CodeGeeX4-ALL-9B has 9B. Context windows are 256k (Mistral Small 4) vs 128k (CodeGeeX4-ALL-9B).

On LiveCodeBench, Mistral Small 4 leads at 63.6% vs CodeGeeX4-ALL-9B at 28.5%.