Source · model-of
GPT-5.1-Codex → OpenAI
developers.openai.com
Captured
Saved source text · excerpt
# GPT-5.1-Codex > For the complete documentation index, see [llms.txt](/llms.txt). Markdown versions of documentation pages are available by appending `.md` to the page URL. > A version of GPT-5.1 optimized for agentic coding in Codex. Model ID: `gpt-5.1-codex` GPT-5.1-Codex is a version of GPT-5 optimized for agentic coding tasks in [Codex](https://developers.openai.com/codex) or similar environments. It's available in the [Responses API](/api/docs/api-reference/responses) only and the underlying model snapshot will be regularly updated. If you want to learn more about prompting GPT-5.1-Codex, refer to our [dedicated guide](/cookbook/examples/gpt-5/codex_prompting_guide) ## Model details - Default snapshot: `gpt-5.1-codex` - Input modalities: text, image - Output modalities: text - 400,000 context window - 128,000 max output tokens - Sep 30, 2024 knowledge cutoff - Reasoning token support ## Pricing Pricing is based on the number of tokens used, or other metrics based on the model type. For tool-specific models, like search and computer use, there’s a fee per tool call. See details in the [pricing page](/api/docs/pricing). ### Text tokens | Metric | Price | Unit | | --- | ---: | --- | | Input | $1.25 | 1M tokens | | Cached input | $0.125 | 1M tokens | | Output | $10 | 1M tokens | ## Endpoints | Endpoint | Route | Support | | --- | --- | --- | | Live | `v1/live/sessions` | Not supported | | Chat Completions | `v1/chat/completions` | Not supported | | Responses | `v1/responses` | Supported | | Realtime | `v1/realtime` | Not supported | | Realtime translation |
Textual presence is not independent verification of the claim.
History
- Recorded as of
- Added
- Status
- Sourced
These are record dates, not the date of the event or publication.
Source details
Entry ID
861fd133-5816-56b1-ba29-dd29916a8aeeCapture SHA-256
d9499b1a29ce9aa1e7c9f6de82f2f95a01e88884327c869e73dc8bc9fc8573c9Capture integrity: verified. Retained text; may be a collector extraction rather than original publisher bytes