Skip to content
Dashboard

GPT 5.1 Codex Max

GPT 5.1 Codex Max applies maximum compute to the GPT-5.1 codex architecture, delivering the deepest reasoning and most thorough code analysis available in OpenAI's coding agent lineup for the most demanding software engineering tasks. Your use subject to OpenAI's Terms & Privacy Policies.

ReasoningFile InputTool UseVision (Image)Web SearchImplicit Caching
index.ts
import { streamText } from 'ai'
const result = streamText({
model: 'openai/gpt-5.1-codex-max',
prompt: 'Why is the sky blue?'
})

Providers

Route requests across multiple providers. Copy a provider slug to set your preference. Visit the docs for more info. Using a provider means you agree to their terms, listed under Legal.

Provider
Context
Max Output
Latency
Throughput
Input
Output
Cache
Web Search
Capabilities
ZDR
No Training
Release Date
OpenAI
Legal:TermsPrivacy
400K128K
$1.25/M
$10/M
Read:$0.13/M
Write:
$10/K
+ input costs
+3
11/19/2025
Azure
Legal:TermsPrivacy
400K128K
3.3s
$1.25/M
$10/M
Read:$0.13/M
Write:
$14/K
+ input costs
+3
11/19/2025