Skip to main content

OpenAI API Pricing (2026)

OpenAI is the creator of the GPT series and o-series reasoning models, offering the industry's most widely used AI APIs with broad ecosystem support. Founded in 2015 and headquartered in San Francisco, CA, OpenAI offers 25 active models through their API. All pricing data below is sourced directly from the OpenAI pricing page and is updated regularly.

Prices verified May 6, 2026

OpenAI Model Pricing — All Models

All prices are in USD per 1 million tokens ($/M tokens). Input tokens are the text you send to the model; output tokens are the generated response.

ModelTierInputOutputCached InputBatch InputBatch Output
GPT-5.4
OpenAI's most capable model combining advanced reasoning, coding, and native computer use.
Premium$2.50/M$15.00/M$0.25/M
GPT-5.4 Pro
Enterprise-grade GPT-5.4 for automation workloads with maximum capability.
Premium$30.00/M$180.00/M$15.00/M$90.00/M
GPT-5.3
High-capability OpenAI model with coding and reasoning improvements over GPT-5.2.
Premium$1.75/M$14.00/M$0.18/M
GPT-5.2
High-capability OpenAI model with advanced reasoning, coding, and multimodal capabilities.
Premium$1.75/M$14.00/M$0.18/M
GPT-5.2 Pro
Enterprise-grade GPT-5.2 with extended reasoning for complex automation.
Premium$21.00/M$168.00/M$10.50/M$84.00/M
GPT-5.1
A high-capability model with a 1M token context window and strong instruction following.
Premium$1.25/M$10.00/M$0.13/M
GPT-5
OpenAI's GPT-5 flagship model with a 1M token context window and excellent performance across tasks.
Premium$1.25/M$10.00/M$0.13/M
GPT-5 Pro
Enterprise-grade GPT-5 with extended reasoning capabilities.
Premium$15.00/M$120.00/M$7.50/M$60.00/M
GPT-5 mini
A cost-efficient GPT-5 series model optimized for fast, affordable intelligence across a wide range of tasks.
Mid$0.25/M$2.00/M$0.03/M
GPT-5 nano
OpenAI's smallest and cheapest GPT-5 model, optimized for high-throughput classification and extraction.
Budget$0.05/M$0.40/M$0.01/M
GPT-4o
OpenAI's flagship multimodal model combining high intelligence with fast response times. Supports vision, audio, and text with function calling and JSON mode.
Premium$2.50/M$10.00/M$1.25/M$1.25/M$5.00/M
GPT-4o mini
A cost-efficient small model that is smarter and cheaper than GPT-3.5 Turbo. Ideal for lightweight tasks requiring fast, affordable intelligence.
Budget$0.15/M$0.60/M$0.08/M$0.08/M$0.30/M
GPT-4.1
OpenAI's GPT-4.1 flagship model with improved instruction following and a 1 million token context window.
Premium$2.00/M$8.00/M$0.50/M$1.00/M$4.00/M
GPT-4.1 mini
A smaller, faster, and cheaper version of GPT-4.1 with a 1 million token context window.
Mid$0.40/M$1.60/M$0.10/M$0.20/M$0.80/M
GPT-4.1 nano
OpenAI's smallest and most affordable model, optimized for high-throughput classification and extraction tasks.
Budget$0.10/M$0.40/M$0.03/M$0.05/M$0.20/M
o3
OpenAI's most powerful reasoning model, achieving breakthrough performance on complex scientific and mathematical benchmarks.
Reasoning$2.00/M$8.00/M$0.50/M
o4-mini
OpenAI's latest compact reasoning model with strong STEM and coding performance at lower cost than o3.
Reasoning$1.10/M$4.40/M$0.28/M$0.55/M$2.20/M
o3-mini
A compact reasoning model balancing strong STEM performance with lower cost than o3.
Reasoning$1.10/M$4.40/M$0.55/M
GPT-3.5 Turbo(deprecated)
Legacy model superseded by GPT-4o mini. Still available but not recommended for new deployments.
Budget$0.50/M$1.50/M$0.25/M$0.75/M
GPT-5.4 Nano
GPT-5.4 Nano by OpenAI.
Budget$0.20/M$1.25/M
GPT-5.4 Mini
GPT-5.4 Mini by OpenAI.
Budget$0.75/M$4.50/M
GPT-5.3 Chat
GPT-5.3 Chat by OpenAI.
Mid$1.75/M$14.00/M
GPT-5.4 Image 2
GPT-5.4 Image 2 by OpenAI.
Premium$8.00/M$15.00/M
GPT-5.5 Pro
GPT-5.5 Pro by OpenAI.
Premium$30.00/M$180.00/M
GPT-5.5
GPT-5.5 by OpenAI.
Premium$5.00/M$30.00/M
GPT Chat Latest
GPT Chat Latest by OpenAI.
Premium$5.00/M$30.00/M

Prices last verified: 2026-05-06. Always confirm on the official pricing page before production use.

OpenAI Model Capabilities

Key technical capabilities across all OpenAI models. Use this table to identify which models support the features your application requires.

ModelContextMax OutputVisionFunctionsJSON ModeCachingBatch APIReasoning
GPT-5.41,050,000128,000
GPT-5.4 Pro1,050,000128,000
GPT-5.3128,00016,384
GPT-5.2400,000128,000
GPT-5.2 Pro400,000128,000
GPT-5.1400,000128,000
GPT-5400,000128,000
GPT-5 Pro400,000272,000
GPT-5 mini400,000128,000
GPT-5 nano400,000128,000
GPT-4o128,00016,384
GPT-4o mini128,00016,384
GPT-4.11,047,57632,768
GPT-4.1 mini1,047,57632,768
GPT-4.1 nano1,047,57632,768
o3200,000100,000
o4-mini200,000100,000
o3-mini200,000100,000
GPT-5.4 Nano400,000128,000
GPT-5.4 Mini400,000128,000
GPT-5.3 Chat128,00016,384
GPT-5.4 Image 21,050,000128,000
GPT-5.5 Pro1,050,000128,000
GPT-5.51,050,000128,000
GPT Chat Latest400,000128,000

When to Choose OpenAI

Cost-sensitive workloads

Use GPT-5 nano OpenAI's most affordable model at $0.05/M input / $0.40/M output. Estimated cost at 100K requests/month: $25.00.

Complex or high-accuracy tasks

Use o3 OpenAI's most capable model (reasoning tier) with a 200,000-token context window. Priced at $2.00/M input / $8.00/M output.

High-volume pipelines

OpenAI models are well-suited for high-throughput workloads. Consider batch API (where supported) for an additional 50% cost reduction on asynchronous pipelines. Check the pricing table above for batch pricing availability.

See detailed cost comparisons between OpenAI models and models from other providers, including side-by-side pricing tables and monthly cost projections.

Browse use case guides where OpenAI models are recommended, including cost-effective model rankings and monthly cost estimates for each workload.

Deprecated OpenAI Models

The following OpenAI models are deprecated and should not be used in new projects. Historical pricing is shown for reference only.

  • GPT-3.5 Turbo — deprecated 2025-07-01

Frequently Asked Questions: OpenAI API Pricing

What is the cheapest OpenAI model?

The cheapest OpenAI model by input token price is GPT-5 nano, priced at $0.05/M for input tokens and $0.40/M for output tokens. It is best suited for high-volume, cost-sensitive workloads where speed and price matter most.

What is the most capable OpenAI model?

o3 is OpenAI's most capable model, classified as a reasoning-tier model. It supports a context window of 200,000 tokens and is priced at $2.00/M input / $8.00/M output per million tokens.

How does OpenAI API pricing work?

OpenAI charges per token consumed — separately for input tokens (the text you send) and output tokens (the text the model generates). Prices are listed in USD per 1 million tokens ($/M). OpenAI was founded in 2015 and is headquartered in San Francisco, CA. All pricing shown here is sourced from the official OpenAI pricing page.

Does OpenAI offer batch API pricing?

Yes — 9 OpenAI models support batch processing at reduced rates: GPT-5.4 Pro, GPT-5.2 Pro, GPT-5 Pro, and others. Batch API is ideal for asynchronous workloads like bulk data extraction, document processing, or offline classification pipelines. Batch pricing is shown in the pricing table above.

Which OpenAI models support prompt caching?

15 OpenAI models support prompt caching: GPT-5.4, GPT-5.3, GPT-5.2, GPT-5.1, GPT-5, GPT-5 mini, GPT-5 nano, GPT-4o, GPT-4o mini, GPT-4.1, GPT-4.1 mini, GPT-4.1 nano, o3, o4-mini, o3-mini. Prompt caching stores repeated context (system prompts, knowledge base content) in memory and applies a discount to cached input tokens, making it highly effective for applications that reuse the same context across many requests.

Which OpenAI models support vision / image inputs?

21 OpenAI models support vision (image input): GPT-5.4, GPT-5.4 Pro, GPT-5.3, GPT-5.2, GPT-5.2 Pro, GPT-5.1, GPT-5, GPT-5 Pro, GPT-5 mini, GPT-5 nano, GPT-4o, GPT-4o mini, GPT-4.1, GPT-4.1 mini, GPT-4.1 nano, o3, o4-mini, GPT-5.4 Image 2, GPT-5.5 Pro, GPT-5.5, GPT Chat Latest. These models can analyze images, charts, screenshots, and documents alongside text prompts.

OpenAI pricing data last verified: 2026-05-06. Prices may change — verify on the official OpenAI pricing page before production use.