GPT-5.1-Codex-Max

openai/gpt-5.1-codex-max
by OpenAI · text+image in · text out · 400K ctx · 2025-12-04

GPT-5.1-Codex-Max is OpenAI’s latest agentic coding model, designed for long-running, high-context s…

INPUT$1.25/ 1M tokens
OUTPUT$10.00/ 1M tokens
p50 TTFT28.00 s7d
p95 TTFT32.00 s7d
TRAFFIC367tokens / 7d
Code samples
from openai import OpenAI

client = OpenAI(
    base_url="https://orcarouter.ai/v1",
    api_key="$ORCAROUTER_API_KEY",
)

response = client.chat.completions.create(
    model="openai/gpt-5.1-codex-max",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)
Pricing
Input / 1M tokens$1.25
Output / 1M tokens$10.00
Cache read / 1M$0.125
CurrencyUSD
Performance
TTFT p50
28.00 s
Output speed
TTFT p95
32.00 s
Error rate
95.8%
Public benchmarks
No public benchmark scores ingested yet.
FAQ
How much does OpenAI: GPT-5.1-Codex-Max cost on OrcaRouter?
OpenAI: GPT-5.1-Codex-Max is priced at $1.25 per 1M input tokens and $10.00 per 1M output tokens via OrcaRouter. Pricing is pulled live from the routing layer.
What is OpenAI: GPT-5.1-Codex-Max's context window?
OpenAI: GPT-5.1-Codex-Max supports a context window of 400K tokens. Use long-context features (RAG, summarisation) up to that limit.
How do I call OpenAI: GPT-5.1-Codex-Max via the OpenAI SDK?
Set OpenAI base_url to https://orcarouter.ai/v1, supply your OrcaRouter API key, and pass model="openai/gpt-5.1-codex-max" in the chat.completions.create call.
Does OrcaRouter rate-limit OpenAI: GPT-5.1-Codex-Max?
Per-model rate limits follow your OrcaRouter plan. Free tiers ship with conservative caps; paid tiers lift them. Check /pricing for current quotas.
Embed this badge
OpenAI: GPT-5.1-Codex-Max$1.25/M in28000ms p50via OrcaRouter
HTML <a href="https://www.orcarouter.ai/models/openai/gpt-5.1-codex-max" target="_blank"> <img src="https://www.orcarouter.ai/embed/openai/gpt-5.1-codex-max.svg" alt="OpenAI: GPT-5.1-Codex-Max on OrcaRouter" /> </a>
Markdown [![OpenAI: GPT-5.1-Codex-Max](https://www.orcarouter.ai/embed/openai/gpt-5.1-codex-max.svg)](https://www.orcarouter.ai/models/openai/gpt-5.1-codex-max)