Context Window
400,000
Tokens
Model Cost Profile
Developer: openai
Pricing updated Mar 11, 2026
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.
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
Standardized evaluation scores for OpenAI: GPT-5.1-Codex.
| Usage Type | Price / 1M Tokens |
|---|---|
| Input (Prompt) | $1.25 |
| Output (Completion) | $10.00 |
Price History
Current Input / 1M
$1.25
Current Output / 1M
$10.00
Estimate monthly spend for OpenAI: GPT-5.1-Codex based on your workload.
Estimated Monthly Cost
$151
25M input + 12M output tokens
Quick links for cost-down decisions before production rollout.
Common pricing and benchmark questions for OpenAI: GPT-5.1-Codex.
OpenAI: GPT-5.1-Codex input pricing is $1.25 per 1M tokens based on the latest synced provider data.
OpenAI: GPT-5.1-Codex output pricing is $10.00 per 1M tokens based on the latest synced provider data.
OpenAI: GPT-5.1-Codex supports a context window of 400,000 tokens.
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.