OpenAI API Pricing

Complete pricing breakdown for every OpenAI model — GPT-5, GPT-4o, GPT-4o mini, and more

6
Models
$0.10–$30
Per 1M tokens
128K–256K
Context window
Jul 2026
Pricing Verified

All OpenAI Models

Pricing per 1M tokens, as of Jul 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.4 nano NEW Budget $0.20 $1.25 400K
GPT-5 mini Budget $0.25 $2.00 272K
GPT-5.4 mini NEW Budget $0.75 $4.50 400K
GPT-4o Mid $2.50 $10.00 128K
GPT-5.4 NEW Mid $2.50 $15.00 400K
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
GPT-5.4 Pro NEW Premium $30.00 $180.00 400K

Which OpenAI Model Should You Use?

Match your use case to the right model and tier.

Chatbots & Customer Support

GPT-4o mini

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

GPT-4o

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

GPT-5 mini

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

GPT-4o

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

GPT-5

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

GPT-3.5 Turbo

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

Input cost $0.00
Output cost $0.00
Total tokens/month 0
Monthly Total $0.00

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 Google Input / Output
Budget GPT-4o mini $0.15 / $0.60 Claude Haiku 4.5 $1.00 / $5.00 Gemini 2.5 Flash-Lite $0.10 / $0.40
Mid-Range GPT-4o $2.50 / $10.00 Claude Sonnet 4.6 $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.

Compare OpenAI Models Side-by-Side

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.

Budget Showdown

DeepSeek V4 Pro vs GPT-5.4

DeepSeek V4 Pro ($0.44/$0.87) vs GPT-5.4 ($2.50/$15). 82% cheaper input, 94% cheaper output. Is the quality gap worth 6x the price?

Comparison

Fable 5 vs GPT-5.5: Premium API Showdown

Fable 5 ($10/$50) vs GPT-5.5 ($5/$30) — which premium AI API justifies its price? Real pricing and use-case breakdown.

Pricing Guide

GPT-5.6 API Pricing: Sol, Terra, Luna Costs Compared

GPT-5.6 Sol ($5/$30), Terra ($2.50/$15), Luna ($1/$6) — full pricing breakdown with competitor comparisons and real cost scenarios.

Pricing Guide

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.

Comparison

OpenAI 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.

Comparison

OpenAI 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 Look

GPT-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.

Pricing

OpenAI 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?

Pricing

Cheapest 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.

Guides

OpenAI API Alternatives: 7 Cheaper Options

Looking to switch from OpenAI? Compare 7 alternatives that save 60-97% on your API bill.

Comparison

GPT-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?

Guide

Best AI API for Production in 2026

Ranked: best AI APIs by reliability, cost, context, and speed. GPT-5, Claude, Gemini, DeepSeek compared.

Guide

7 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.

Teams

Team AI API Cost Management

Planning costs for a team? Model your engineering team's usage, compare providers, and generate budget reports for finance.

Stop guessing — get exact OpenAI costs

No signup required to 67-model comparison, migration code snippets, PDF reports, price alerts, and cost monitoring. ✅ All tools free.

Free Tools →

Calculate Your OpenAI Costs

Enter your usage, pick a model, and see exactly what you'll spend per month.

Try the APIpulse Calculator

🔔 Track OpenAI price changes

Get alerted when GPT-5.5, GPT-5.4 mini, or any OpenAI model changes price.

Set Up Free OpenAI Alerts →
Report a Pricing Error
This was a snapshot. What about next month?
Prices change. New models launch. Our tools catch what a one-time calculation can't — and saves you money every month.
Free Tools → 🔍 Free audit first

Related Tools