Model Cost Profile

OpenAI: GPT-5.1-Codex

Developer: openai

Pricing updated Mar 11, 2026

Input rank: #263Output rank: #295

Live Pricing

Input: $1.25

Output: $10.00

Pricing via OpenRouter API ยท Last synced Mar 11, 2026 ยท MMLU score via public benchmark data

OpenAI's GPT-5.1-Codex model supports a substantial context window of 400,000 tokens, making it ideal for complex coding tasks, large document processing, and interactive applications that require extensive context retention. Teams leveraging this API can expect input costs of $1.25 per million tokens and output costs of $10.00 per million tokens, which necessitates careful budget planning for projects involving high-volume text generation. This model is particularly useful for software development, automated documentation, and real-time code assistance, providing a versatile tool for developers and businesses aiming to enhance productivity and innovation.

๐Ÿ‘ Vision๐Ÿ”ง Tool Calling๐Ÿ“‹ Structured Output๐Ÿง  Reasoning

Context Window

400,000

Tokens

Input Price / 1M

$1.25

Prompt tokens

Output Price / 1M

$10.00

Completion tokens

Intelligence (MMLU)

86.0

Massive Multitask Language Understanding

Benchmark Scores

Standardized evaluation scores for OpenAI: GPT-5.1-Codex.

BenchmarkScoreRankSource
GPQA86.0#4 of 118artificial_analysis
MMLU86.0#8 of 121artificial_analysis

Price History

OpenAI: GPT-5.1-Codex Pricing Trend

Input / 1M tokens0.0%Output / 1M tokens0.0%
Mar 7 โ€” Mar 11
$1.25$5.63$10.00Mar 7Mar 8Mar 9Mar 10Mar 11

Current Input / 1M

$1.25

Current Output / 1M

$10.00

Cheaper Alternatives to Compare

Quick links for cost-down decisions before production rollout.

FAQ

Common pricing and benchmark questions for OpenAI: GPT-5.1-Codex.

How much does OpenAI: GPT-5.1-Codex cost per 1M input tokens?

OpenAI: GPT-5.1-Codex input pricing is $1.25 per 1M tokens based on the latest synced provider data.

How much does OpenAI: GPT-5.1-Codex cost per 1M output tokens?

OpenAI: GPT-5.1-Codex output pricing is $10.00 per 1M tokens based on the latest synced provider data.

What context window does OpenAI: GPT-5.1-Codex support?

OpenAI: GPT-5.1-Codex supports a context window of 400,000 tokens.

How can I compare OpenAI: GPT-5.1-Codex with cheaper alternatives?

Use the comparison links on this page to open direct model-vs-model pricing and benchmark pages, then evaluate monthly spend projections for your workload.