Home Pricing OpenAI

OpenAI API Pricing (July 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 GPT-5.6 family starts at $1.00 input / $6.00 output per 1M for Luna, rises to $2.50/$15 for Terra, and tops out at $5.00/$30 for Sol. Cached-input reads still drop 90% on supported GPT models, 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 limited-preview launch of the GPT-5.6 family. GPT-5.6 Sol matches GPT-5.5 at $5/$30, Terra matches GPT-5.4 at $2.50/$15, and Luna creates a new $1/$6 production tier for cheaper high-volume workloads.

GPT-5.6 Family

The new GPT-5.6 lineup covers three limited-preview tiers:

  • GPT-5.6 Sol ($5.00 input / $30.00 output, $0.50 cached input reads) — flagship model for hard reasoning, coding, cybersecurity, and agentic tasks.
  • GPT-5.6 Terra ($2.50 input / $15.00 output, $0.25 cached input reads) — balanced tier for premium production workloads.
  • GPT-5.6 Luna ($1.00 input / $6.00 output, $0.10 cached input reads) — lower-cost tier for faster everyday usage.

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.6 Sol and GPT-5.5 sit above Claude Opus 4.8 on output cost, while GPT-5.4 mini ($0.75 input) is still cheaper than Claude Sonnet 5's current $2.00 intro input rate. 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 7 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
  • GPT-5.2
    GPT-5
    OpenAI
    Input
    $1.75
    Cached
    $0.175
    Output
    $14.00
  • GPT-5.6 Terra
    GPT-5.6
    OpenAI
    Input
    $2.50
    Cached
    $0.25
    Output
    $15.00
  • o3-pro
    o-series
    OpenAI
    Input
    $20.00
    Cached
    Output
    $80.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 7 of 24 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.6 Sol

GPT-5.6 Terra

GPT-5.6 Luna

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.6 cost?

GPT-5.6 has three tiers: Sol costs $5.00 per 1M input tokens and $30.00 per 1M output tokens, Terra costs $2.50/$15, and Luna costs $1.00/$6. Cached-input reads are 90% cheaper, while cache writes for GPT-5.6 and later models are billed at 1.25x the normal input rate.

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.6 Sol and GPT-5.5 both cost $5/$30, while Claude Opus 4.8 is $5/$25. GPT-5.6 Terra and GPT-5.4 both sit at $2.50/$15, close to Claude Sonnet 5 standard pricing at $3/$15 after its launch discount ends.

What models does OpenAI offer?

OpenAI now spans GPT-5.6 Sol/Terra/Luna, GPT-5.5 and GPT-5.5 Pro, 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. Looking for voice/TTS API pricing? Compare ElevenLabs, Speechify, OpenAI audio, Google TTS, and Amazon Polly.