Very long inputs
Choose GPT-5-Codex
GPT-5-Codex reads up to 400k tokens per request, against 256k for Ministral 3 8B.
Choose GPT-5-Codex for very long inputs, agentic coding, tool use and support agents and reasoning over long documents. Choose Ministral 3 8B for self-hosting and data control and the latest release.
Each answer below comes straight from the published prices, specifications and independent benchmark results.
Choose GPT-5-Codex
GPT-5-Codex reads up to 400k tokens per request, against 256k for Ministral 3 8B.
Choose GPT-5-Codex
GPT-5-Codex scores 37.9% on Terminal-Bench Hard, against 4.5% for Ministral 3 8B.
Choose GPT-5-Codex
GPT-5-Codex scores 86.8% on τ²-Bench (agentic tool use), against 26.6% for Ministral 3 8B.
Choose GPT-5-Codex
GPT-5-Codex scores 71.7% on Long-context reasoning (AA-LCR), against 25.7% for Ministral 3 8B.
Choose Ministral 3 8B
Ministral 3 8B has open weights, so you can run it on your own servers; GPT-5-Codex is only available through its provider.
Choose Ministral 3 8B
Ministral 3 8B is the newer release (December 2025, against Sep 23, 2025 for GPT-5-Codex).
| GPT-5-Codex | Ministral 3 8B | |
|---|---|---|
| Provider | OpenAI | Mistral AI |
| Category | Language models | Language models |
| Status | Deprecated | Generally available |
| Headline price | No data | No data |
| Input | No data | No data |
| Output | No data | No data |
| Cached input | No data | No data |
| Context window | 400k | 256k |
| Max output | 128k | No data |
| Released | Sep 23, 2025 | December 2025 |
| Knowledge cutoff | September 2024 | No data |
| Licence | Proprietary | Open weights |
| Capabilities | Vision, Reasoning, Tool calling, Structured output, Batch API | Vision, Tool calling, Self-hostable |
| API model id | gpt-5-codex | ministral-8b-2512 |
Leader in bold.
| Benchmark | GPT-5-Codex | Ministral 3 8B |
|---|---|---|
| Terminal-Bench Hard | 37.9% | 4.5% |
| GPQA Diamond | 83.7% | 47.1% |
| Humanity's Last Exam | 27.8% | 4.3% |
| IFBench (instruction following) | 74.1% | 29.1% |
| τ²-Bench (agentic tool use) | 86.8% | 26.6% |
| MMMU-Pro (visual reasoning) | 73.8% | 46% |
| Long-context reasoning (AA-LCR) | 71.7% | 25.7% |
| Intelligence Index | No data | 5.5 |
| SciCode | No data | 20.7% |
Independent evaluations by Artificial Analysis, run the same way for every model, at the reasoning setting shown. Percentages unless marked as an index.
Choose GPT-5-Codex for very long inputs, agentic coding, tool use and support agents and reasoning over long documents. Choose Ministral 3 8B for self-hosting and data control and the latest release.
A price comparison is not possible: one of them has no comparable published price.
GPT-5-Codex reads more per request: 400k tokens against 256k.
GPT-5-Codex is made by OpenAI and Ministral 3 8B by Mistral AI. A price comparison is not possible: one of them has no comparable published price. GPT-5-Codex reads more per request: 400k tokens against 256k. Ministral 3 8B is the newer model (December 2025, against Sep 23, 2025). Only GPT-5-Codex offers reasoning, structured output, batch api. Only Ministral 3 8B offers self-hostable.
GPT-5-Codex scores 37.9% on Terminal-Bench Hard, against 4.5% for Ministral 3 8B.
Ministral 3 8B was released on December 2025 and GPT-5-Codex on Sep 23, 2025.