Atlas / Models / OpenAI / OpenAI: GPT-5.1-Codex-Max

OpenAI: GPT-5.1-Codex-Max✓ Catalog verified

openai/gpt-5.1-codex-max

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 workflows spanning software engineering, mathematics, and research. GPT-5.1-Codex-Max delivers faster performance, improved reasoning, and higher token efficiency across the development lifecycle.

Input price
$1.25 /1M
Output price
$10.00 /1M
Context
400K
Modalities
textimage
Released
Dec 4, 2025
Tool calling
✓ Yes
Atlas signal
94/100
01

Overview

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 workflows spanning software engineering, mathematics, and research. GPT-5.1-Codex-Max delivers faster performance, improved reasoning, and higher token efficiency across the development lifecycle.

Access: available through the official OpenAI API. Context window: 400K.

Pricing and metadata from the ModelsAtlas catalog.Last refreshed Aug 5, 2026
02

Specifications

API identifieropenai/gpt-5.1-codex-max
ProviderOpenAI
Model typeMultimodal LLM
Context window400K catalog
Input modalitiestext · image
Output modalitiestext
ReleasedDec 4, 2025
TokenizerGPT
ModeratedYes
Architecture modalitytext+image->text
Supported parameters
include_reasoningmax_tokensreasoningresponse_formatseedstructured_outputstool_choicetools
Source: provider documentation + catalog feedMethodology →

API defaults

Default parameters
{
  "top_k": null,
  "top_p": null,
  "temperature": null,
  "presence_penalty": null,
  "frequency_penalty": null,
  "repetition_penalty": null
}
03

Pricing

Live pricing components for openai/gpt-5.1-codex-max as published in the catalog.

$1.25
Input /1M
$10.00
Output /1M
Per request
Per image
Pricing componentRaw unit priceNormalizedUnit
Prompt tokens$0.00000125$1.25 / 1MPer input token
Completion tokens$0.00001$10.00 / 1MPer output token
Request feeN/AN/APer request
Image feeN/AN/APer image unit
Web search fee$0.01$0.010000Per search request
Source: catalog pricing feedCompare all pricing →Cheapest models →
04

Cost calculator

Estimate monthly spend from your own token volumes.

Scale / Volume

Estimated Total Cost

$2.63Calculated from current list pricing in the ModelsAtlas catalog.
05

Capabilities

CapabilityStatusWhat it means
Visual Understanding✓ SupportedImage and document analysis support
Audio ProcessingNot advertisedSpeech and voice aligned flows
Tool Calling✓ SupportedSupports tools / function calling
Self-HostingNot advertisedDeploy outside managed APIs
Derived from catalog capability tags and supported parameters
06

Capability signals

Directional signals derived from model metadata and capability tags — not official benchmark submissions.

OpenAI: GPT-5.1-Codex-Max
MMLU Signal (Reasoning)
97signal
Coding Signal (HumanEval proxy)
97signal
Math Signal (GSM8K proxy)
92signal
Science Signal (GPQA proxy)
91signal
Estimated from metadata — not an official benchmark runAll benchmarks →Methodology →
07

Quick start

Call OpenAI: GPT-5.1-Codex-Max through an OpenAI-compatible client.

from openai import OpenAI

client = OpenAI(
    base_url="https://openrouter.ai/api/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="openai/gpt-5.1-codex-max",
    messages=[{"role": "user", "content": "Explain quantum physics."}]
)

print(response.choices[0].message.content)
08

Alternatives

Closest models by context window from a different provider.

09

Sources & attribution

Pricing and metadata are maintained in the ModelsAtlas catalog.

Capability bars use metadata tags — directional estimates onlyHow we source and verify data →
10

Frequently asked questions

How much does OpenAI: GPT-5.1-Codex-Max cost?

$1.25 per 1M input tokens and $10.00 per 1M output tokens on the official OpenAI API.

What is the context window of OpenAI: GPT-5.1-Codex-Max?

OpenAI: GPT-5.1-Codex-Max supports up to 400K tokens of context.

Does OpenAI: GPT-5.1-Codex-Max support tool / function calling?

Yes, OpenAI: GPT-5.1-Codex-Max supports tool / function calling — you can register tools and the model will emit structured tool calls.

How do I access OpenAI: GPT-5.1-Codex-Max?

Use the official OpenAI API with the model id `openai/gpt-5.1-codex-max`. See the Quick start section above for code examples.