OpenAI API Pricing
Complete pricing breakdown for every OpenAI model — GPT-5, GPT-4o, GPT-4o mini, and more
All OpenAI Models
Pricing per 1M tokens, as of May 2026. Sorted by price (lowest to highest).
| Model | Tier | Input (per 1M tokens) | Output (per 1M tokens) | Context Window |
|---|---|---|---|---|
| GPT-4o mini | Budget | $0.15 | $0.60 | 128K |
| GPT-5 mini | Budget | $0.25 | $2.00 | 272K |
| GPT-4o | Mid | $2.50 | $10.00 | 128K |
| GPT-5 | Premium | $10.00 | $30.00 | 256K |
| GPT-4 Turbo | Premium | $10.00 | $30.00 | 128K |
| GPT-3.5 Turbo | Budget | $0.50 | $1.50 | 16K |
Which OpenAI Model Should You Use?
Match your use case to the right model and tier.
Chatbots & Customer Support
Fast, affordable, and good enough for most conversational tasks. At $0.15/$0.60 per 1M tokens, it handles FAQs and simple support queries at minimal cost.
Content Generation & Marketing
Excellent balance of quality and cost. Produces high-quality long-form content, blog posts, and marketing copy with strong reasoning at $2.50/$10.00 per 1M tokens.
Data Analysis & Summarization
Modern reasoning with 272K context at a budget price. Ideal for analyzing large documents, summarizing reports, and processing structured data at $0.25/$2.00.
Code Generation & Debugging
Strong coding performance with 128K context. Handles multi-file codebases, reviews, and refactoring reliably for $2.50/$10.00 per 1M tokens.
Complex Reasoning & Research
OpenAI's most capable model. Best for multi-step reasoning, complex analysis, and tasks requiring the highest accuracy. 272K context at $1.25/$10.00.
Bulk Processing & ETL
The cheapest OpenAI option for high-volume, simple tasks. Good for classification, extraction, and lightweight processing at $0.50/$1.50 per 1M tokens.
OpenAI Cost Calculator
Estimate your monthly spend for any OpenAI model.
Monthly Cost Estimate
Based on published OpenAI API pricing. Actual costs may vary.
OpenAI vs Competitors
How do OpenAI's prices compare to Anthropic and Google for equivalent model tiers?
| Tier | OpenAI | Input / Output | Anthropic | Input / Output | Input / Output | |
|---|---|---|---|---|---|---|
| Budget | GPT-4o mini | $0.15 / $0.60 | Claude Haiku 4.5 | $1.00 / $5.00 | Gemini 2.0 Flash | $0.10 / $0.40 |
| Mid-Range | GPT-4o | $2.50 / $10.00 | Claude Sonnet 4 | $3.00 / $15.00 | Gemini 2.5 Pro | $1.25 / $10.00 |
| Premium | GPT-5 | $1.25 / $10.00 | Claude 4 Opus | $15.00 / $75.00 | Gemini 2.5 Pro | $1.25 / $10.00 |
Prices per 1M tokens. Google Gemini models have larger context windows (up to 1M tokens) but different capability profiles.
See how OpenAI models stack up against Anthropic, Google, and more
Compare OpenAI vs Other Providers →Related Reading
Deep dives on OpenAI pricing, comparisons, and model reviews.
OpenAI API Pricing Guide: Every Model Explained
A complete walkthrough of OpenAI's pricing tiers, hidden costs, and strategies to optimize your spend across GPT-5, GPT-4o, and more.
ComparisonOpenAI vs Gemini: Which Is Cheaper in 2026?
We compare OpenAI and Google Gemini pricing model-by-model to find the most cost-effective option for your specific workload.
ComparisonOpenAI vs Anthropic vs Google: Full Pricing Breakdown
A three-way comparison of the major LLM API providers. We analyze pricing, performance, and cost-per-quality across all tiers.
First LookGPT-5 First Look: Is It Worth the Premium Price?
GPT-5 costs 4x more than GPT-4o. We benchmark its capabilities to see where the extra spend is justified — and where it isn't.
PricingOpenAI GPT-oss Pricing: Open-Source Models at $0.08/1M
GPT-oss 120B and 20B pricing breakdown. How do OpenAI's open-weight models compare to Llama and DeepSeek?
PricingCheapest GPT-5 API: Complete Cost Breakdown
All 6 GPT-5 family models ranked by price. Find the cheapest option from $0.08 to $30 per million tokens.
GuidesOpenAI API Alternatives: 7 Cheaper Options
Looking to switch from OpenAI? Compare 7 alternatives that save 60-97% on your API bill.
ComparisonGPT-oss vs Llama 4: Open-Source Showdown
OpenAI's GPT-oss vs Meta's Llama 4: Which open-source LLM API gives you the best price-to-performance ratio?
GuideBest AI API for Production in 2026
Ranked: best AI APIs by reliability, cost, context, and speed. GPT-5, Claude, Gemini, DeepSeek compared.
Guide7 AI API Pricing Mistakes That Cost Developers Thousands
Avoid these 7 common mistakes that cause developers to overpay by 3-10x on OpenAI, Anthropic, and Google APIs.
Calculate Your OpenAI Costs
Enter your usage, pick a model, and see exactly what you'll spend per month.
Try the APIpulse CalculatorGet notified when API prices change
No spam. Only pricing updates and new features. Unsubscribe anytime.