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
Apr 2026
Pricing Verified

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

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

Compare OpenAI Models Side-by-Side

See how OpenAI models stack up against Anthropic, Google, and more

Calculate Your OpenAI Costs

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

Try the APIpulse Calculator
Report a Pricing Error