OpenAI · Balanced
GPT 5.1 Codex
Coding-focused GPT-5.1 variant with optimized routing.
- Reasoning
- Vision
- Input
- Text, Images
- Output
- Text
- Discovery tier
- Balanced
Pricing
USD per 1M tokens- Input
- $1.25
- Output
- $10.00
- Cache read
- $0.13
Reference prices as published by the model provider. API example
Specifications
- Context window
- 400K
- Max output
- 128K
- Average output (7 days)
- 22 tokens
- Longer than 0% of 465 models
Side by side
GPT 5.1 Codex compared
Specifications, prices, speed and benchmark scores next to each other. Benchmarks below show every compared model too.
| GPT 5.1 CodexOpenAIThis model | GLM 5V Turbo ThinkingZ.aiRemove | |
|---|---|---|
| Provider | OpenAI | Z.ai |
| Discovery tier | Balanced | Open weights |
| Added | Nov 13, 2025 | Apr 2, 2026 |
| Limits | ||
| Context window | 400KBest | 202.8K |
| Max output | 128K | 131.07KBest |
| Average output | 22 tokens | 942 tokens |
| Pricing, USD per 1M tokens | ||
| Input | $1.25 | $1.20Best |
| Output | $10.00 | $4.00Best |
| Cache read | $0.13Best | $0.24 |
| Performance | ||
| Throughput | — | 42.3 tok/s |
| Time to first token | — | 5.1 s |
| Request success (24h) | — | 97.7% |
| Benchmark indexes | ||
| Intelligence Index | 23.7Best | 23.5 |
| Math Index | 95.7 | — |
| Capabilities | ||
| Reasoning | Yes | Yes |
| Tools | No | Yes |
| Vision | Yes | Yes |
| Structured output | No | Yes |
| Video input | 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
- GLM 5V Turbo Thinking
Intelligence Index
- GPT 5.1 Codex23.7
- GLM 5V Turbo Thinking23.5
GPT 5.1 Codex tested at high reasoning effort
GPT 5.1 Codex: Better than 58% of 326 scored models
Indexes
Math Index
Composite of the math evaluations
- GPT 5.1 Codex: 95.7
- GLM 5V Turbo Thinking: —
Document reasoning
AA-LCRv1.1
Reasoning across long documents
- GPT 5.1 Codex: 69.3%
- GLM 5V Turbo Thinking: 70.3%Top
Reasoning and knowledge
Humanity’s Last Exam
Expert-level questions across academic fields
- GPT 5.1 Codex: 25.7%Top
- GLM 5V Turbo Thinking: 17.1%
GPQA Diamond
Graduate-level science questions
- GPT 5.1 Codex: 86.0%Top
- GLM 5V Turbo Thinking: 80.9%
MMLU-Pro
Multi-subject knowledge and reasoning
- GPT 5.1 Codex: 86.0%
- GLM 5V Turbo Thinking: —
IFBench
Following precise output instructions
- GPT 5.1 Codex: 70.0%Top
- GLM 5V Turbo Thinking: 61.1%
Coding
LiveCodeBench
Recent competitive programming problems
- GPT 5.1 Codex: 84.9%
- GLM 5V Turbo Thinking: —
Math
AIME 2025
Competition mathematics, 2025 problems
- GPT 5.1 Codex: 95.7%
- GLM 5V Turbo Thinking: —
Legacy evaluations
Terminal-Bench Hard
Earlier terminal task suite
- GPT 5.1 Codex: 34.8%Top
- GLM 5V Turbo Thinking: 32.6%
τ²-Bench Telecom
Tool use in a customer-support simulation
- GPT 5.1 Codex: 83.0%
- GLM 5V Turbo Thinking: 98.5%Top
AA-LCR (unversioned)
Long-context reasoning, earlier grading
- GPT 5.1 Codex: 69.3%
- GLM 5V Turbo Thinking: 70.3%Top
Scores from Artificial Analysis, updated Oct 26, 2026. GPT 5.1 Codex 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",
"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",
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.