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. | 7B | — |
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. | 256k | 400k |
| 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. | — | $0.25 |
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. | — | $2.00 |
Cached input priceA reduced rate for text you send over and over. If every request starts with the same instructions or the same document, the provider keeps a copy ready and charges less to read it again. | — | $0.025 |
Cheapest inputLowest input rate across every provider on OpenRouter, the lab included. The cheapest endpoint may run a quantised build or a shorter context — see "Available from" on the model page. | — | $0.125OpenAI |
Cheapest outputLowest output rate across every provider on OpenRouter, the lab included. May come from a different provider than the cheapest input. | — | $1.00OpenAI |
| — | $150OpenAI list price | |
| These models have no shared benchmark scores. | ||
ProgramBenchProgram reconstruction — The AI receives a working program and its documentation, then builds a replacement from scratch without the original source code, internet access or decompilation. The score is the percentage of 200 programs that pass every behavioral test. We record each model's best published mini-SWE-agent result, including higher reasoning efforts where available. Partial test-pass rates and almost-solved programs do not count toward this score. Equal scores share a rank here; the official board also uses partial progress to break ties. Higher is better. | — | 0% |
| Overview | ||
| Company | Mistral | OpenAI |
| Release date | Jul 16 2024 | Aug 7 2025 |
| Access | Open Weight | Closed |
| Model details | View model | View model |
Other comparisons
Codestral Mamba 7BvsClaude Haiku 5.5GPT-5 minivsClaude Haiku 5.5Codestral Mamba 7BvsGemini 4 ArgonGPT-5 minivsGemini 4 ArgonCodestral Mamba 7BvsMuse Spark OpenGPT-5 minivsMuse Spark OpenCodestral Mamba 7BvsGrok 4.7GPT-5 minivsGrok 4.7Codestral Mamba 7BvsDeepSeek-V4.1-Flash-1017GPT-5 minivsDeepSeek-V4.1-Flash-1017Codestral Mamba 7BvsKimi K3GPT-5 minivsKimi K3Frequently asked questions
Codestral Mamba 7B and GPT-5 mini don't publish scores on any of the same benchmarks, so there's no direct head-to-head comparison. Only GPT-5 mini has a verified first-party API price: $0.25 per million input tokens and $2.00 per million output tokens. No pay-as-you-go API rate is tracked for Codestral Mamba 7B. Codestral Mamba 7B shipped 387 days before GPT-5 mini, so benchmark comparisons should account for the intervening progress.
Context windows are 256k (Codestral Mamba 7B) vs 400k (GPT-5 mini). Codestral Mamba 7B is open weight, while GPT-5 mini is closed.
Direct benchmark comparisons are unavailable — Codestral Mamba 7B and GPT-5 mini don't publish scores on any of the same benchmarks.