gpt-5.1-codex

Display Name: GPT-5.1 CodeX
OpenAI
OpenAI
Released on Nov 13 12:00 AM

GPT-5.1-Codex is a version of GPT-5 optimized for agentic coding tasks in Codex or similar environments. It's available in the Responses API only and the underlying model snapshot will be regularly updated. If you want to learn more about prompting GPT-5-Codex, refer to our dedicated guide

Specifications

Context400,000
Maximum Output128,000
Inputtext, image
Outputtext, json

Performance (7-day Average)

Uptime
TPS

Pricing

Standard
Input$1.38/MTokens
Output$11.00/MTokens
Cached Input$0.14/MTokens
Flex
Input$0.69/MTokens
Output$5.50/MTokens
Cached Input$0.07/MTokens
Batch
Input$0.69/MTokens
Output$5.50/MTokens
Cached Input$0.07/MTokens

Usage Statistics

No usage data available for this model during the selected period
View your usage statistics for this model

Documentation

No documentation available
This model (gpt-5.1-codex) uses a dedicated API. Please refer to the official documentation for usage examples.