Skip to content

OpenAI: GPT-5.2-Codex provider comparison

openai/gpt-5.2-codex

GPT-5.2-Codex is an upgraded version of GPT-5.1-Codex 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

$5.8333 / 1M tokens

16.10 s estimated response

Cheapest

OpenAIopenai

$5.8333 / 1M tokens

$0.00875 for the sample request

Fastest

OpenAIopenai

16.10 s estimated response

$5.8333 / 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.

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

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.2-Codex
Provider / routeCurrent pricing ↗Speed measurementsEndpoint details
Provider / route
OpenAIopenai
CheapestFastestBest cost/speed trade-off
Current pricing
Input price
$1.75 / 1M tokens
Output price
$14 / 1M tokens
Sample cost
$0.00875
Speed measurements
500-token response
16.10 s
Response starts
0.95 s
Output speed
33.0 tok/s
Endpoint details
Uptime (30 min)
Insufficient recent data
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
$3.5 / 1M tokens
Output price
$28 / 1M tokens
Sample cost
$0.0175
Speed measurements
500-token response
Insufficient recent data
Response starts
Insufficient recent data
Output speed
Insufficient recent data
Endpoint details
Uptime (30 min)
Insufficient recent data
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
Azureazure
Current pricing
Input price
$1.75 / 1M tokens
Output price
$14 / 1M tokens
Sample cost
$0.00875
Speed measurements
500-token response
38.00 s
Response starts
0.96 s
Output speed
13.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

Endpoint data fetched .

GPT-5.2-Codex deployment guide

How to choose a GPT-5.2-Codex inference provider

GPT-5.2-Codex is indexed here as a text model by OpenAI, with 3 provider endpoints from OpenAI, Azure. 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

OpenAI currently has the lowest estimated cost for the standard 1,000-input/500-output-token sample at $0.00875. 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 16.10 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.