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 Codex is designed for advanced programming tasks, enabling developers to generate code snippets, automate debugging, and enhance software development workflows with its extensive 400,000-token context window. Teams utilizing this API model can efficiently handle large codebases and complex queries, making it suitable for applications in machine learning, web development, and data analysis. With an input price of $1.25 per million tokens and an output price of $10.00 per million tokens, organizations can strategically manage costs based on their usage patterns and project requirements.
Context Window
400,000
Tokens
Input Price / 1M
$1.25
Prompt tokens
Output Price / 1M
$10.00
Completion tokens
Intelligence (MMLU)
86.5
Massive Multitask Language Understanding
Standardized evaluation scores for OpenAI: GPT-5 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 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 Codex.
OpenAI: GPT-5 Codex input pricing is $1.25 per 1M tokens based on the latest synced provider data.
OpenAI: GPT-5 Codex output pricing is $10.00 per 1M tokens based on the latest synced provider data.
OpenAI: GPT-5 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.