# GPT-5.1 Codex

GPT-5.1 Codex is a specialised version of OpenAI's GPT-5.1 optimised for software engineering and coding workflows. It is designed for interactive development sessions as well as long, independent runs on complex engineering tasks, and is the base for the smaller GPT-5.1 Codex mini. Its published context window is 400,000 tokens. The advertised input rate is $1.25 per million input tokens. The advertised output rate is $10.00 per million output tokens.

- Model identifier: ` openai/gpt-5.1-codex `
- Creator: OpenAI
- Providers: Azure OpenAI
- Model type: Text generation
- Canonical model page: [GPT-5.1 Codex](<https://impossibl.com/openai/gpt-5.1-codex>)
- API availability: Listed as serving through Impossibl.
- Creator release date: 2025-11-13

## Providers

Azure OpenAI hosts GPT-5.1 Codex. Impossibl routes your request intelligently and handles failover automatically when a provider is down.

| Provider | Endpoint location | Routes | Verified context window | Tool calling |
| --- | --- | --- | --- | --- |
| Azure OpenAI | East US | 1 | Not verified | Not verified |

The model price applies whichever provider serves the request. Endpoint locations do not guarantee inference residency.

## Specs and Capabilities

- Context window: 400,000 tokens
- Maximum output tokens: Not published in the public catalog; this is separate from the context window.
- Inputs: text, image
- Outputs: text
- Tool calling: Not published

## API access

Use ` openai/gpt-5.1-codex ` as the model identifier through the Impossibl API.

Published API endpoints:

- ` /v1/chat/completions `

[API quickstart](<https://impossibl.com/docs/agent-quickstart>) · [Models and billing documentation](<https://impossibl.com/docs/models>)

## Published API prices

All rates are in USD. An unpublished rate is unknown, not zero. Workspace-specific pricing, taxes, balance-purchase fees, billing adjustments, and tool charges can affect the amount paid.

| Usage | Published base rate | Billing unit |
| --- | --- | --- |
| Input | $1.25 | per million input tokens |
| Output | $10.00 | per million output tokens |
| Cache read | $0.125 | per million cached input tokens |
| Cache write (default retention) | Not published | per million tokens |
| Cache write (one-hour retention) | Not published | per million tokens |
| Audio input | Not published | per million audio input tokens |

## Benchmarks

Last checked: 2026-11-17T21:31:51.340Z.
Configurations are evaluated separately. API scores retain their original units. Unmeasured scores are omitted.

### GPT-5.1 Codex (High)

Source: [Evaluation source](<https://artificialanalysis.ai/models/gpt-5-1-codex>)

| Benchmark | Score |
| --- | --- |
| GPQA | 85.96% |
| Humanity’s Last Exam | 25.72% |
| CritPt | 5.71% |
| Terminal-Bench Hard | 34.85% |
| AA-LCR | 69.33% |
| MMMU-Pro | 72.49% |
| IFBench | 70.00% |
| Tau2 | 83.04% |
| LiveCodeBench | 84.87% |
| AIME 2025 | 95.67% |
| intelligence index (API) | 23.7 |

Full benchmark data and breakdowns: [Complete benchmark snapshot](<https://api.impossibl.com/v1/models/openai/gpt-5.1-codex/benchmarks>).


## Availability and retirement

The model is listed as serving. No retirement is announced in the current public catalog.

## Frequently asked questions

### What is GPT-5.1 Codex?

GPT-5.1 Codex is a specialised version of OpenAI's GPT-5.1 optimised for software engineering and coding workflows. It is designed for interactive development sessions as well as long, independent runs on complex engineering tasks, and is the base for the smaller GPT-5.1 Codex mini.

Sources: [OpenRouter model listing](<https://openrouter.ai/openai/gpt-5.1-codex>); [OpenAI model documentation](<https://developers.openai.com/api/docs/models/gpt-5.1-codex>)

### How much does GPT-5.1 Codex cost?

GPT-5.1 Codex costs $1.25 per million input tokens and $10.00 per million output tokens through the Impossibl API. Cache reads cost $0.125 per million tokens. All rates are in USD.

### What is the context length of GPT-5.1 Codex?

GPT-5.1 Codex has a 400,000-token context window through the Impossibl API.

### What inputs and outputs does GPT-5.1 Codex support?

GPT-5.1 Codex accepts text and image as input. GPT-5.1 Codex returns text.

### How do I use GPT-5.1 Codex through an API?

GPT-5.1 Codex is available through the Impossibl API. Use openai/gpt-5.1-codex as the model identifier with /v1/chat/completions. The quickstart explains how to create an API key and send your first request.

### When was GPT-5.1 Codex released?

OpenAI released GPT-5.1 Codex on November 13, 2025.

Sources: [Creator release announcement](<https://openai.com/index/gpt-5-1-for-developers/>)

## Sources and related links

Prices, limits, capabilities, endpoints, and availability come from the public Impossibl catalog. Creator documentation supplies descriptions and release dates where available; it does not override the published API offering.

- [Public Impossibl model catalog](<https://api.impossibl.com/v1/models>)
- [Full model directory as JSON](<https://impossibl.com/models.json>)
- [GPT-5.1 Codex: model details and pricing](<https://impossibl.com/openai/gpt-5.1-codex>)
- [Model directory](<https://impossibl.com/models>)
- [OpenRouter model listing](<https://openrouter.ai/openai/gpt-5.1-codex>)
- [OpenAI model documentation](<https://developers.openai.com/api/docs/models/gpt-5.1-codex>)
