Codestral 25.01vsGPT-4
Codestral 25.01 | GPT-4 | |
|---|---|---|
| Specifications | ||
Context windowHow much text the model can hold in mind at once — your question, any documents you attach, the conversation so far, and its own reply. Go past it and the earliest part falls out of view. | 256k | 8k |
| API pricingUSD per 1M tokens · lower wins | ||
Input priceWhat you pay for everything you send the model — your question, plus any documents or earlier conversation you include with it. | — | $30.00 |
Output priceWhat you pay for the text the model writes back. It is normally the dearer half: producing an answer costs more than reading one. | — | $60.00 |
Cheapest inputLowest input rate across third-party providers, excluding the lab itself. The cheapest endpoint may run a quantised build or a shorter context — see "Available from" on the model page. | — | $30.00Azure |
Cheapest outputLowest output rate across third-party providers, excluding the lab itself. May come from a different provider than the cheapest input. | — | $60.00Azure |
| BenchmarksPublished by one model only | ||
HumanEvalFunction synthesis — 164 small Python problems: the AI is given a function's description and has to write the working function. This was the coding benchmark of the GPT-3.5 and GPT-4 era, before the field moved to fixing real bugs in real repositories. Higher is better. | — | 67% |
MMLUGeneral knowledge — A 57-subject multiple-choice exam — history, law, medicine, maths — that was the standard measure of how much a model knows from 2020 until roughly 2024, when frontier scores crowded into the high 80s and labs moved on to harder tests. The scores here were published years apart under different testing setups, so read them as a historical record rather than a like-for-like ranking. Higher is better. | — | 86.4% |
GSM8KGrade-school math — Grade-school maths word problems that take a few steps of arithmetic to work through. It separated the models of 2022 and 2023 sharply, then saturated. One caveat on the historical numbers: OpenAI included part of the GSM8K training set in GPT-4's pre-training mix, so GPT-4's score is not a clean few-shot result. Higher is better. | — | 92% |
| Overview | ||
| Company | Mistral | OpenAI |
| Release date | Jan 13 2025 | Mar 14 2023 |
| Access | Proprietary | Proprietary |
Other comparisons
Frequently asked questions
Codestral 25.01 and GPT-4 don't publish scores on any of the same benchmarks, so there's no direct head-to-head comparison. Only GPT-4 has a verified first-party API price: $30.00 per million input tokens and $60.00 per million output tokens. No pay-as-you-go API rate is tracked for Codestral 25.01. GPT-4 shipped 671 days before Codestral 25.01, so benchmark comparisons should account for the intervening progress.
Context windows are 256k (Codestral 25.01) vs 8k (GPT-4).
Direct benchmark comparisons are unavailable — Codestral 25.01 and GPT-4 don't publish scores on any of the same benchmarks.
Codestral 25.01 was released by Mistral on Jan 13 2025.
GPT-4 was released by OpenAI on Mar 14 2023.
Only GPT-4 has a verified first-party API price: $30.00 per million input tokens and $60.00 per million output tokens. No pay-as-you-go API rate is tracked for Codestral 25.01. Rates are pay-as-you-go API prices verified on August 18, 2026.
Codestral 25.01 has a 256k context window; GPT-4 has 8k.