Skip to content

OpenAI: GPT-5.1-Codex provider comparison

openai/gpt-5.1-codex

GPT-5.1-Codex is a specialized version of GPT-5.1 optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks....

Endpoints:
3
Context:
400K
Input:
text, image
Output:
text
Compare this model in a set →

At a glance

Comparison winners

Based on 1,000 input and 500 output tokens using the latest published median speed data.

Best cost/speed trade-off

OpenAIopenai

$4.1667 / 1M tokens

8.46 s estimated response

Cheapest

Azureazure

$4.1667 / 1M tokens

$0.00625 for the sample request

Fastest

OpenAIopenai

8.46 s estimated response

$4.1667 / 1M tokens

Visual comparison

Price and performance charts

Compare published endpoint pricing and estimated response time visually.

Effective price by endpoint

USD per 1 million tokens for input and output. Lower is better.

Azure has the lowest estimated cost for 1,000 input and 500 output tokens at $0.00625.

Estimated cost vs. response time

Based on 1,000 input and 500 output tokens. Cost is shown in USD per 1 million tokens. Lower and further left is better; the single best cost/speed trade-off appears at full opacity.

2 providers have complete pricing and speed data. OpenAI is closest to the ideal combination of lowest cost and fastest response.

Server-rendered comparison

Provider endpoints

Prompt and completion prices are effective USD per token as published by OpenRouter. Missing speed data never removes an endpoint.

Endpoint comparison for OpenAI: GPT-5.1-Codex
Provider / routeCurrent pricing ↗Speed measurementsEndpoint details
Provider / route
Azureazure
Cheapest
Current pricing
Input price
$1.25 / 1M tokens
Output price
$10 / 1M tokens
Sample cost
$0.00625
Speed measurements
500-token response
25.75 s
Response starts
20.62 s
Output speed
97.5 tok/s
Endpoint details
Uptime (30 min)
Insufficient recent data
Context
400K
Model format
unknown
Max output
128K
9 parameters

include_reasoning, max_completion_tokens, reasoning, reasoning_effort, response_format, seed, structured_outputs, tool_choice, tools

Provider / route
OpenAIopenai
FastestBest cost/speed trade-off
Current pricing
Input price
$1.25 / 1M tokens
Output price
$10 / 1M tokens
Sample cost
$0.00625
Speed measurements
500-token response
8.46 s
Response starts
2.48 s
Output speed
83.5 tok/s
Endpoint details
Uptime (30 min)
94.12%
Context
400K
Model format
unknown
Max output
128K
9 parameters

include_reasoning, max_tokens, reasoning, reasoning_effort, response_format, seed, structured_outputs, tool_choice, tools

Provider / route
OpenAIopenai/priority
Current pricing
Input price
$2.5 / 1M tokens
Output price
$20 / 1M tokens
Sample cost
$0.0125
Speed measurements
500-token response
Insufficient recent data
Response starts
Insufficient recent data
Output speed
Insufficient recent data
Endpoint details
Uptime (30 min)
94.12%
Context
400K
Model format
unknown
Max output
128K
9 parameters

include_reasoning, max_tokens, reasoning, reasoning_effort, response_format, seed, structured_outputs, tool_choice, tools

Endpoint data fetched .

GPT-5.1-Codex deployment guide

How to choose a GPT-5.1-Codex inference provider

GPT-5.1-Codex is indexed here as a text model by OpenAI, with 3 provider endpoints from Azure, OpenAI. The comparison preserves each exact OpenRouter routing tag so pricing and performance observations can be connected to the route an application would actually request.

Match the endpoint to the workload

The model publishes a 400K-token context window. It accepts text, image input and returns text output. 10 distinct supported parameters appear across the listed routes. Confirm limits on the specific endpoint rather than assuming every host exposes the same configuration.

Compare the real request economics

Azure currently has the lowest estimated cost for the standard 1,000-input/500-output-token sample at $0.00625. Input-heavy and output-heavy applications can produce a different result, so review both per-million-token prices in the endpoint table.

Balance response start and generation speed

OpenAI currently has the shortest estimated 500-token response at 8.46 seconds. OpenAI is the single endpoint closest to the current ideal cost/speed combination. Recent observations can change, so validate finalists with your own prompts.