Home Pricing OpenAI

OpenAI API Pricing (May 2026)

Last updated:

How much does the OpenAI API cost? OpenAI prices now span $0.10 per 1M tokens (GPT-4.1 nano input) to $30.00 per 1M tokens (GPT-5.5 Pro input). The new flagship GPT-5.5 costs $5.00 input / $30.00 output per 1M, while GPT-5.5 Pro lands at $30/$180 for highest-stakes reasoning. Cached inputs still drop 90% on GPT-5.5 and GPT-5.4, which matters a lot for repeated system prompts and long-context agents.

OpenAI remains the largest AI API provider in 2026, with a pricing ladder that now runs from GPT-4.1 nano at $0.10 per million input tokens to GPT-5.5 Pro at $30.00 per million input tokens. That spread gives teams room to route cheap classification, standard generation, and frontier reasoning inside one vendor stack.

The biggest OpenAI pricing story right now is the launch of the GPT-5.5 family. GPT-5.5 doubles GPT-5.4's flagship rate to $5/$30, but it also jumps to a 1,050,000-token context window and positions itself explicitly for coding, research, and high-value professional work.

GPT-5.5 Family

The new GPT-5.5 lineup covers two premium tiers:

  • GPT-5.5 ($5.00 input / $30.00 output, $0.50 cached input) — new flagship for complex professional work, coding, and long-context agents.
  • GPT-5.5 Pro ($30.00 input / $180.00 output) — highest-precision variant for expensive-but-important workloads. No cached-input discount.

GPT-5.4 Family

GPT-5.4 remains live as the cheaper mainstream frontier family:

  • GPT-5.4 ($2.50 input / $15.00 output) — strong general-purpose frontier model at half the price of GPT-5.5.
  • GPT-5.4 mini ($0.75 input / $4.50 output) — still one of the best price/performance picks for production apps.
  • GPT-5.4 nano ($0.20 input / $1.25 output) — budget option for routing, extraction, and high-volume backend tasks.

o-Series Reasoning Models

OpenAI's reasoning models use internal "thinking tokens" that increase actual costs beyond the listed per-token rates. The o3 model ($2.00/M input) replaced the expensive o1 ($15.00/M) as the primary reasoning model — an 87% price cut with improved performance.

o4-mini at $1.10/M input tokens offers the most cost-effective reasoning capability in OpenAI's lineup.

GPT-4.1 Family

The GPT-4.1 family still matters for developers who want a 1M-token context window at lower cost than GPT-5.5:

  • GPT-4.1 ($2.00 input / $8.00 output) — 1M context, strong for long-document processing
  • GPT-4.1 mini ($0.40 input / $1.60 output) — Best value for large context needs
  • GPT-4.1 nano ($0.10 input / $0.40 output) — Cheapest model in OpenAI's lineup

Cached Input Pricing

GPT-5.5, GPT-5.4, and GPT-4.1 all support prompt caching on their standard tiers, which can cut repeated-input costs by 75-90%. For example, GPT-5.5's cached input rate is $0.50/M and GPT-5.4's is just $0.25/M — a major lever for agent workflows with big repeated prefixes.

How OpenAI Compares

OpenAI now covers more price bands than Anthropic, but not always at the cheapest rate. GPT-5.5 sits above Claude Opus 4.7 on output cost, while GPT-5.4 mini ($0.75 input) is still dramatically cheaper than Claude Sonnet 4.6 ($3.00 input). DeepSeek still undercuts everyone at the flagship tier on pure token price.

For budget use cases, GPT-4.1 nano ($0.10/M) and GPT-4o mini ($0.15/M) compete directly with Google's Gemini 3.1 Flash-Lite ($0.10/M).

All OpenAI Models — Price per 1M Tokens

Showing 6 current models. .
  • GPT-4o mini
    GPT-4o
    OpenAI
    Input
    $0.15
    Cached
    $0.075
    Output
    $0.60
  • GPT-4.1 mini
    GPT-4.1
    OpenAI
    Input
    $0.40
    Cached
    $0.10
    Output
    $1.60
  • o3-pro
    o-series
    OpenAI
    Input
    $20.00
    Cached
    Output
    $80.00
  • GPT-5.2 Pro
    GPT-5
    OpenAI
    Input
    $21.00
    Cached
    Output
    $168.00
  • GPT-5.4 Pro
    GPT-5.4
    OpenAI
    Input
    $30.00
    Cached
    Output
    $180.00
  • GPT-5.5 Pro
    GPT-5.5
    OpenAI
    Input
    $30.00
    Cached
    Output
    $180.00
Showing 6 of 21 models · USD per 1M tokens
Last synced:

Price History

Track how OpenAI API pricing has changed over time.

GPT-4.1

GPT-4.1 mini

GPT-4.1 nano

GPT-4o

GPT-4o mini

GPT-5.4

GPT-5.4 mini

GPT-5.4 nano

GPT-5.2

GPT-5.2 Pro

GPT-5.1

GPT-5

GPT-5 Pro

GPT-5 mini

GPT-5 nano

o3-pro

GPT-5.4 Pro

GPT-5.5

GPT-5.5 Pro

o3

o4-mini

Price history tracking started April 2026. Charts will appear after the first price change is detected.
View pricing changelog →

Frequently asked questions

How much does GPT-5.5 cost per token?

GPT-5.5 costs $5.00 per 1M input tokens and $30.00 per 1M output tokens. Cached input drops to $0.50 per 1M — a 90% discount. GPT-5.5 Pro costs $30/$180 per 1M tokens with no cached-input discount.

Does OpenAI have a free tier?

OpenAI does not offer an ongoing free API tier for production use. New accounts typically receive starter credits, but serious usage is paid. For free experimentation, Google Gemini still offers limited Flash and Flash-Lite access — see our Google AI pricing page.

How does OpenAI compare to Anthropic?

At the flagship tier, GPT-5.5 ($5/$30) is now priced slightly above Claude Opus 4.7 on output ($25) while matching it on input. GPT-5.4 remains the cheaper OpenAI flagship-adjacent option at $2.50/$15, and GPT-5.4 mini is still one of the best value production models on the market.

What models does OpenAI offer?

OpenAI now spans four main layers: GPT-5.5 and GPT-5.5 Pro at the top end, GPT-5.4 plus mini/nano for mainstream production, GPT-4.1 for 1M-context workloads, and the o-series reasoning models like o3 and o4-mini. GPT-4o and GPT-4o mini remain available for legacy and multimodal use cases.

What's GPT-5.5's context window?

GPT-5.5 supports a 1,050,000-token context window with 128K max output. Prompts above 272K tokens trigger higher pricing for the full session, so long-context workloads should be modeled carefully before rollout.

How cheap is GPT-4.1 nano?

GPT-4.1 nano remains OpenAI's cheapest model at $0.10 per 1M input tokens and $0.40 per 1M output tokens. That keeps it competitive for routing, extraction, and lightweight classification even after the GPT-5.5 launch.

Methodology

Pricing sourced from https://openai.com/api/pricing/ on . All prices in USD per 1 million tokens. Raw data: /api/pricing.json. API docs.

Compare All Providers

See how OpenAI stacks up against Anthropic, Google, DeepSeek, and more.

Further reading: OpenAI vs Anthropic pricing · ChatGPT vs Claude · Best AI API for developers.