OpenAI API Pricing Calculator
Use this OpenAI API pricing calculator to compare GPT-5, Codex, o3, and reasoning model costs. Codex Mini starts at $1.50/1M input and $6.00/1M output, while GPT-5.3 Codex costs $1.75/1M input and $14.00/1M output for deeper repo work.
OpenAI pricing quick answer
Use this OpenAI API pricing calculator to estimate GPT-5, Codex, and ChatGPT-style API workloads. Codex Mini starts at $1.50/1M input and $6.00/1M output, while GPT-5.3 Codex costs $1.75/1M input and $14.00/1M output for deeper repo work and stronger agentic coding.
OpenAI Recommendation
Use the OpenAI API pricing calculator on this page to budget GPT-5, Codex, and o-series usage. Start with Codex Mini at $1.50/1M input and $6.00/1M output, then move to GPT-5.3 Codex at $1.75/1M input and $14.00/1M output when code quality and deeper repo work matter more than absolute token savings. Choose GPT-5 nano for budget-heavy workloads, and step up to o1 Pro when quality matters more than token cost.
Compare OpenAI vs other providers
OpenAI Models & Pricing
| Model | Input Price | Output Price | Context Window | Max Output | Category | Capabilities |
|---|---|---|---|---|---|---|
GPT-5.5 Instant Latest Instant-class ChatGPT model with stronger factuality, clearer answers, and improved personalization via the chat-latest API alias. Released: 5/5/2026 | $5.00 per 1M tokens | $30.00 per 1M tokens | 1,050,000 tokens | 128,000 tokens | flagship | textvisioncodereasoning |
GPT-5.5 OpenAI frontier model for complex reasoning, coding, and professional work. Released: 4/24/2026 | $5.00 per 1M tokens | $30.00 per 1M tokens | 1,050,000 tokens | 128,000 tokens | flagship | textvisioncodereasoning |
GPT-5.5 Pro Higher-compute GPT-5.5 variant for tougher problems requiring smarter, more precise responses. Released: 4/24/2026 | $30.00 per 1M tokens | $180.00 per 1M tokens | 1,050,000 tokens | 128,000 tokens | reasoning | textvisioncodereasoning |
$2.50 per 1M tokens | $15.00 per 1M tokens | 1,050,000 tokens | 131,072 tokens | flagship | textvisioncodereasoning | |
GPT-5.4 Pro The smartest and most precise GPT-5.4 variant for the most demanding tasks Released: 3/6/2026 | $30.00 per 1M tokens | $180.00 per 1M tokens | 1,050,000 tokens | 131,072 tokens | reasoning | textvisioncodereasoning |
$0.75 per 1M tokens | $4.50 per 1M tokens | 1,050,000 tokens | 65,536 tokens | efficient | textvisioncode | |
$0.20 per 1M tokens | $1.25 per 1M tokens | 128,000 tokens | 8,192 tokens | efficient | text | |
GPT-5.3 Codex Optimized for terminal execution, code review, and token efficiency. 77.3% Terminal-Bench, 2-4x fewer tokens per task Released: 3/1/2026 | $1.75 per 1M tokens | $14.00 per 1M tokens | 256,000 tokens | 32,768 tokens | coding | textcode |
$1.50 per 1M tokens | $6.00 per 1M tokens | 200,000 tokens | 32,768 tokens | efficient | textcodereasoning | |
$1.75 per 1M tokens | $14.00 per 1M tokens | 1,000,000 tokens | 131,072 tokens | flagship | textvisionaudiocodereasoning | |
$21.00 per 1M tokens | $168.00 per 1M tokens | 1,000,000 tokens | 131,072 tokens | reasoning | textvisionaudiocodereasoning | |
$1.25 per 1M tokens | $10.00 per 1M tokens | 1,000,000 tokens | 131,072 tokens | flagship | textvisionaudiocodereasoning | |
$1.25 per 1M tokens | $10.00 per 1M tokens | 1,000,000 tokens | 131,072 tokens | flagship | textvisionaudiocode | |
GPT-5 Pro Most powerful GPT-5 variant for the most complex tasks, using scaled parallel compute for highest quality answers Released: 8/7/2025 | $15.00 per 1M tokens | $120.00 per 1M tokens | 200,000 tokens | 100,000 tokens | flagship | textvisioncodereasoning |
$0.25 per 1M tokens | $2.00 per 1M tokens | 500,000 tokens | 65,536 tokens | efficient | textvisioncode | |
$0.05 per 1M tokens | $0.40 per 1M tokens | 128,000 tokens | 8,192 tokens | efficient | text | |
o4-mini Deep Research Faster, more affordable deep research model for complex research tasks Released: 6/26/2025 | $2.00 per 1M tokens | $8.00 per 1M tokens | 200,000 tokens | 32,768 tokens | reasoning | textreasoningcode |
o3 Deep Research Powerful deep research model built on o3 for complex multi-step research tasks Released: 6/26/2025 | $10.00 per 1M tokens | $40.00 per 1M tokens | 200,000 tokens | 32,768 tokens | reasoning | textreasoningvisioncode |
$20.00 per 1M tokens | $80.00 per 1M tokens | 1,000,000 tokens | 131,072 tokens | reasoning | textreasoningcode | |
$2.00 per 1M tokens | $8.00 per 1M tokens | 1,000,000 tokens | 131,072 tokens | reasoning | textreasoningvisioncode | |
$1.10 per 1M tokens | $4.40 per 1M tokens | 2,000,000 tokens | 131,072 tokens | reasoning | textreasoningcode | |
$2.00 per 1M tokens | $8.00 per 1M tokens | 200,000 tokens | 32,768 tokens | flagship | textvisioncode | |
$0.40 per 1M tokens | $1.60 per 1M tokens | 200,000 tokens | 16,384 tokens | efficient | textvisioncode | |
$0.10 per 1M tokens | $0.40 per 1M tokens | 128,000 tokens | 8,192 tokens | efficient | text | |
$1.10 per 1M tokens | $4.40 per 1M tokens | 500,000 tokens | 65,536 tokens | reasoning | textreasoningcode | |
o1 Pro Most powerful o1 reasoning model with extended compute for the hardest problems Released: 12/17/2024 | $150.00 per 1M tokens | $600.00 per 1M tokens | 200,000 tokens | 100,000 tokens | flagship | textvisioncodereasoning |
$15.00 per 1M tokens | $60.00 per 1M tokens | 200,000 tokens | 65,536 tokens | reasoning | textreasoning | |
$1.10 per 1M tokens | $4.40 per 1M tokens | 128,000 tokens | 65,536 tokens | reasoning | textreasoning | |
$0.15 per 1M tokens | $0.60 per 1M tokens | 128,000 tokens | 16,384 tokens | efficient | textvision | |
$2.50 per 1M tokens | $10.00 per 1M tokens | 128,000 tokens | 16,384 tokens | flagship | textvisionaudio | |
$10.00 per 1M tokens | $30.00 per 1M tokens | 128,000 tokens | 4,096 tokens | flagship | textvisioncode |
Calculate OpenAI Costs
Use our calculator to estimate costs for any OpenAI model based on your usage patterns.
Compare OpenAI Models
GPT-5.5 Instant vs GPT-5.5
GPT-5.5 vs GPT-5.4
GPT-5.5 Pro vs GPT-5.4 Pro
GPT-5.4 vs GPT-5.2
GPT-5.4 Pro vs GPT-5.2 pro
GPT-5.4 mini vs GPT-5.4 nano
OpenAI Pricing FAQ
How much does the OpenAI API cost?
OpenAI API pricing on this page ranges from lower-cost GPT and Codex options up to premium reasoning models. For coding-specific routes, Codex Mini starts at $1.50 per million input tokens and $6.00 per million output tokens, while GPT-5.3 Codex costs $1.75 input and $14.00 output per million tokens.
Is there a ChatGPT or OpenAI pricing calculator?
Yes. This page includes an OpenAI API pricing calculator so you can estimate prompt cost, completion cost, cost per request, and monthly spend for GPT-5, Codex, o-series, and other OpenAI models without doing the token math by hand.
Which OpenAI model should I use for coding?
Start with Codex Mini when you want the lowest-cost OpenAI coding route for code review and lightweight edits. Step up to GPT-5.3 Codex when you need stronger coding quality or longer agentic sessions, and use the broader GPT-5 family when coding is only one part of a multimodal workflow.
What OpenAI models are on this page?
This page compares 31 OpenAI models including Codex Mini, GPT-5.3 Codex, GPT-5.5, GPT-5.4, GPT-5.2, GPT-5, and OpenAI reasoning models. The full table shows pricing, context window, and capabilities in one place.
How does OpenAI pricing compare to other providers?
Codex Mini starts at $1.50/1M input tokens, which keeps OpenAI competitive for coding-focused workloads. Use the comparison links on this page to stack OpenAI against Claude, Gemini, DeepSeek, and other providers on direct token cost, context window, and model tier.
Related Articles
OpenAI Previewed GPT-5.6 Sol: What It Means for AI API Pricing and Enterprise Budgets
OpenAI previewed GPT-5.6 Sol. Here is what its likely pricing tiers and access controls mean for API budgets.
6/27/2026
GPT-5.5 Pricing Guide 2026: Real Cost Math, Best Use Cases, and When It Beats GPT-5 Mini or Claude
GPT-5.5 costs $5/$30 per 1M tokens. See real task math, monthly scenarios, and when GPT-5.5 Pro is worth it.
6/25/2026
Open-Source vs Proprietary AI Models: A Complete Cost Comparison for 2026
Llama 4, DeepSeek, and Mistral are closing the quality gap with GPT-5 and Claude — at a fraction of the price. We bre...
3/24/2026
AI Content Generation Costs: How Much Does AI Writing Really Cost in 2026?
AI writing costs range from $0.002 to $3.40 per article depending on the model. Full cost breakdown for blog posts, e...
3/22/2026