OpenAI · Efficient
GPT 5.1 Codex Mini
Lightweight GPT-5.1 Codex path.
- Reasoning
- Vision
- Input
- Text, Images
- Output
- Text
- Discovery tier
- Efficient
Pricing
USD per 1M tokens- Input
- $0.25
- Output
- $2.00
- Cache read
- $0.025
Reference prices as published by the model provider. API example
Specifications
- Context window
- 400K
- Max output
- 128K
- Average output (7 days)
- 136 tokens
- Longer than 14% of 468 models
Side by side
GPT 5.1 Codex Mini compared
Specifications, prices, speed and benchmark scores next to each other. Benchmarks below show every compared model too.
| GPT 5.1 Codex MiniOpenAIThis model | MiniMax M2.1MiniMaxRemove | |
|---|---|---|
| Provider | OpenAI | MiniMax |
| Discovery tier | Efficient | Open weights |
| Added | Nov 13, 2025 | Jan 20, 2025 |
| Limits | ||
| Context window | 400KBest | 200K |
| Max output | 128K | 131.07KBest |
| Average output | 136 tokens | 359 tokens |
| Pricing, USD per 1M tokens | ||
| Input | $0.25Best | $0.30 |
| Output | $2.00 | $1.20Best |
| Cache read | $0.025Best | $0.03 |
| Benchmark indexes | ||
| Intelligence Index | 20.4 | 20.9Best |
| Math Index | 91.7Best | 82.7 |
| Capabilities | ||
| Reasoning | Yes | Yes |
| Tools | No | Yes |
| Vision | Yes | No |
| Structured output | No | Yes |
| Reasoning effort | — | — |
Public evaluations
Benchmarks
Independent evaluation results, with how each score ranks among the models in the Noumen catalog.
- GPT 5.1 Codex Mini
- MiniMax M2.1
Intelligence Index
- GPT 5.1 Codex Mini20.4
- MiniMax M2.120.9
GPT 5.1 Codex Mini tested at high reasoning effort
GPT 5.1 Codex Mini: Better than 50% of 326 scored models
Indexes
Math Index
Composite of the math evaluations
- GPT 5.1 Codex Mini: 91.7Top
- MiniMax M2.1: 82.7
Document reasoning
AA-LCRv1.1
Reasoning across long documents
- GPT 5.1 Codex Mini: 66.7%
- MiniMax M2.1: 67.7%Top
Reasoning and knowledge
Humanity’s Last Exam
Expert-level questions across academic fields
- GPT 5.1 Codex Mini: 18.5%
- MiniMax M2.1: 23.2%Top
GPQA Diamond
Graduate-level science questions
- GPT 5.1 Codex Mini: 81.3%
- MiniMax M2.1: 83.0%Top
MMLU-Pro
Multi-subject knowledge and reasoning
- GPT 5.1 Codex Mini: 82.0%
- MiniMax M2.1: 87.5%Top
IFBench
Following precise output instructions
- GPT 5.1 Codex Mini: 67.9%
- MiniMax M2.1: 69.9%Top
Coding
LiveCodeBench
Recent competitive programming problems
- GPT 5.1 Codex Mini: 83.6%Top
- MiniMax M2.1: 81.0%
Math
AIME 2025
Competition mathematics, 2025 problems
- GPT 5.1 Codex Mini: 91.7%Top
- MiniMax M2.1: 82.7%
Legacy evaluations
Terminal-Bench Hard
Earlier terminal task suite
- GPT 5.1 Codex Mini: 33.3%Top
- MiniMax M2.1: 28.8%
τ²-Bench Telecom
Tool use in a customer-support simulation
- GPT 5.1 Codex Mini: 62.9%
- MiniMax M2.1: 85.4%Top
AA-LCR (unversioned)
Long-context reasoning, earlier grading
- GPT 5.1 Codex Mini: 66.7%
- MiniMax M2.1: 67.7%Top
Scores from Artificial Analysis, updated Oct 26, 2026. GPT 5.1 Codex Mini was tested at high reasoning effort; compare scores measured at the same effort.Artificial Analysis
Developers
Use it through the API
Noumen’s API is OpenAI-compatible: any Chat Completions client works with a base URL and a key.
curl https://www.noumen.xyz/api/v1/chat/completions \
-H "Authorization: Bearer $NOUMEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-5.1-codex-mini",
"messages": [{ "role": "user", "content": "Explain this stack trace." }]
}'import os
from openai import OpenAI
client = OpenAI(base_url="https://www.noumen.xyz/api/v1", api_key=os.environ["NOUMEN_API_KEY"])
reply = client.chat.completions.create(
model="openai/gpt-5.1-codex-mini",
messages=[{"role": "user", "content": "Explain this stack trace."}],
)
print(reply.choices[0].message.content)OpenAI
Related models
Other OpenAI models, starting with the same family.