Context Window
400,000
Input tokens
Full-context input β $0.50
Model Cost Profile
Developer: openaiΒ· Tokenizer: GPT Β· Quantization: unknown
Canonical ID: openai/gpt-5-codex
Pricing updated Apr 24, 2026
Live Pricing
Input: $1.25
Output: $10.00
Last synced Apr 24, 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.
Provider Compliance
Context Window
400,000
Input tokens
Full-context input β $0.50
Max Output
128,000
Completion tokens
Input Price / 1M
$1.25
Prompt tokens
Output Price / 1M
$10.00
Completion tokens
Top Benchmark
86.0
MMLU score β highest of MMLU, GPQA, MATH, HumanEval
Evaluation scores for OpenAI: GPT-5 Codex. The βTop Benchmarkβ shown above is the highest score across MMLU, GPQA, MATH & HumanEval.
Price History
Current Input / 1M
$1.25
Current Output / 1M
$10.00
Performance History
Current TPS
0.00
Current Latency
0ms
Uptime
100.0%
| Usage Type | Price / 1M Tokens |
|---|---|
| Input (Prompt) | $1.25 |
| Output (Completion) | $10.00 |
| Cache Read | $0.1250 |
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.