Skip to content

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.

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?'
})

Playground

Try out GPT 5.1 Codex Max by OpenAI. Usage is billed to your team at API rates. Free users (those who haven't made a payment) get $5 of credits every 30 days.