← model directory

openai

OpenAI: GPT-5.1-Codex-Max

openai/gpt-5.1-codex-max

⚙ tool calling

GPT-5.1-Codex-Max is OpenAI’s latest agentic coding model, designed for long-running, high-context software development tasks. It is based on an updated version of the 5.1 reasoning stack and trained on agentic...

specs & pricing
Type
text
Provider
openai
Model ID
openai/gpt-5.1-codex-max
Capabilities
vision, tools, reasoning
Context window
400K tokens
Input price
$1.38 / 1M tokens
Output price
$11.00 / 1M tokens

Cloud price is billed from prepaid credits when a request fails over to the cloud. Open-weight models run free on GPUs you own — the gateway routes to your nodes first.

What it costs to run

cloud · 1M in + 1M out

$12.38

$1.38 for a million input tokens plus $11.00 for a million output tokens, billed from credits only when a request fails over to the cloud.

your hardware

cloud only

OpenAI: GPT-5.1-Codex-Max is a hosted model, so it is always served from the cloud. Route easy traffic to an open model on your own hardware and keep this one for the requests that need it.

/// initialize

Call OpenAI: GPT-5.1-Codex-Max through one OpenAI-compatible endpoint.

Mix it with open models on your own hardware — the gateway routes each request to the cheapest place that can serve it.

no credit card · 2 nodes free · openai-compatible

Frequently asked questions

What is the context window of OpenAI: GPT-5.1-Codex-Max?
OpenAI: GPT-5.1-Codex-Max accepts up to 400,000 tokens (400K) of context per request.
How much does OpenAI: GPT-5.1-Codex-Max cost per million tokens?
Through Wide Area Intelligence, OpenAI: GPT-5.1-Codex-Max costs $1.38 per 1M input tokens and $11.00 per 1M output tokens when served from the cloud, billed from prepaid credits. A workload of 1M input plus 1M output tokens costs $12.38.

More from openai

← browse all models