OpenAI API Pricing

Complete pricing breakdown for all 31 OpenAI models — GPT-5.6 Sol, GPT-5.5, o3 Pro, GPT-4.1, and more

31
Models (28 active)
$0.08–$180
Per 1M tokens
128K–1.05M
Context window
Jul 2026
Pricing Verified

All OpenAI Models (28 Active)

Pricing per 1M tokens, as of Jul 2026. Sorted by input price (lowest to highest). 3 deprecated models excluded.

Model Tier Input (per 1M tokens) Output (per 1M tokens) Context Window
GPT-5 nano Budget $0.05 $0.40 128K
GPT-oss 20B Budget $0.08 $0.35 128K
GPT-4.1 nano Oct 23 Budget $0.10 $0.40 1M
GPT-oss 120B Budget $0.15 $0.60 128K
GPT-5.4 nano Budget $0.20 $1.25 400K
GPT-5 mini Dec 11 Budget $0.25 $2.00 272K
GPT-4.1 mini Budget $0.40 $1.60 1M
GPT Audio Mini Budget $0.60 $2.40 128K
GPT-5.4 mini Budget $0.75 $4.50 400K
GPT-5.6 Luna Budget $0.20 $1.20 1.05M
o3-mini Oct 23 Budget $1.10 $4.40 200K
o4-mini Oct 23 Budget $1.10 $4.40 200K
GPT-5 Dec 11 Premium $1.25 $10.00 272K
GPT-5.1 Mid $1.25 $10.00 272K
GPT-5.3 Codex Mid $1.75 $14.00 400K
GPT-5.2 Mid $1.75 $14.00 400K
GPT-4.1 Mid $2.00 $8.00 1M
o3 Dec 11 Mid $2.00 $8.00 200K
GPT-5.6 Terra Mid $2.00 $12.00 1.05M
GPT-5.4 Mid $2.50 $15.00 400K
GPT Audio Mid $2.50 $10.00 128K
GPT-5.6 Sol Premium $4.00 $20.00 1.05M
GPT-5.5 Premium $5.00 $30.00 1.05M
GPT-5 Pro Premium $15.00 $120.00 272K
o3 Pro Dec 11 Premium $20.00 $80.00 200K
GPT-5.2 Pro Premium $21.00 $168.00 400K
GPT-5.5 Pro Premium $30.00 $180.00 1.05M
GPT-5.4 Pro Premium $30.00 $180.00 400K

● Oct 23 / Dec 11 = sunset date. These models will be removed on that date. 3 deprecated models (GPT-4o, GPT-4o mini, o4 Mini Deep Research) excluded.

Which OpenAI Model Should You Use?

Match your use case to the right model and tier.

Chatbots & Customer Support

GPT-5.4 nano

Fast, modern, and extremely cheap at $0.20/$1.25 per 1M tokens. 400K context handles long conversations. Best budget option for most conversational tasks.

Content Generation & Marketing

GPT-5.4

Excellent balance of quality and cost at $2.50/$15.00. Produces high-quality long-form content, blog posts, and marketing copy with strong reasoning. 400K context.

Data Analysis & Summarization

GPT-5.6 Luna

Modern 1.05M context at $0.20/$1.20. Ideal for analyzing large documents, summarizing reports, and processing structured data that doesn'''t fit in smaller windows.

Code Generation & Debugging

GPT-5.3 Codex

Purpose-built for code at $1.75/$14.00. 400K context handles multi-file codebases, reviews, and refactoring. Strongest OpenAI model for programming tasks.

Complex Reasoning & Research

GPT-5.5

OpenAI'''s most capable general model at $5.00/$30.00. Best for multi-step reasoning, complex analysis, and tasks requiring the highest accuracy. 1.05M context.

Bulk Processing & ETL

GPT-oss 20B

Cheapest OpenAI model at $0.08/$0.35. Open-weight, 128K context. Perfect for classification, extraction, and high-volume lightweight processing at minimal cost.

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-5.4 nano $0.20 / $1.25 Claude Haiku 4.5 $1.00 / $5.00 Gemini 3.5 Flash-Lite $0.30 / $2.50
Mid-Range GPT-5.4 $2.50 / $15.00 Claude Sonnet 5 $2.00 / $10.00 Gemini 2.5 Pro $1.25 / $10.00
Premium GPT-5.5 $5.00 / $30.00 Claude Opus 5 $5.00 / $25.00 Gemini 3.1 Pro $2.00 / $12.00

Prices per 1M tokens as of Jul 2026. 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 →

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

Pricing data last verified: Sep 8, 2026

Related Tools