Home Pricing OpenAI

OpenAI API Pricing (July 2026)

Last updated:

How much does the OpenAI API cost? The current OpenAI price card is led by the GPT-5.6 family: Luna starts at $1.00 input / $6.00 output per 1M tokens, Terra is $2.50/$15, and Sol tops out at $5.00/$30. Older GPT-5.5, GPT-5.4, GPT-4.1, GPT-4o, and o-series rows are retained below as legacy history when they no longer appear on OpenAI's current pricing page.

All OpenAI Models — Price per 1M Tokens

Creator
Host labelsHosted only
Showing 14 current models. .
Showing 14 grouped models from 14 offers · USD per 1M tokens
Last synced:

Sponsored links may earn us a commission at no extra cost to you. Affiliate status never changes model ordering.

All product names, logos, and brands are property of their respective owners and are used for identification purposes only.

OpenAI remains the largest AI API provider in 2026. Its current published GPT-5.6 ladder runs from GPT-5.6 Luna at $1.00 per million input tokens to GPT-5.6 Sol at $5.00 per million input tokens. Older GPT rows stay in our table as legacy history so migrations and old budgets remain explainable.

The biggest OpenAI pricing story right now is the limited-preview launch of the GPT-5.6 family. GPT-5.6 Sol holds the $5/$30 flagship tier, Terra lands at $2.50/$15, and Luna creates a new $1/$6 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.

Legacy GPT-5.5 Family

GPT-5.5 is no longer present in the latest official OpenAI pricing acquisition, so we keep these rows as legacy history:

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

Legacy GPT-5.4 Family

GPT-5.4 is also retained as legacy history after the current OpenAI pricing page moved to GPT-5.6:

  • GPT-5.4 ($2.50 input / $15.00 output) — superseded in defaults by GPT-5.6 Terra.
  • GPT-5.4 mini ($0.75 input / $4.50 output) — retained for old budget comparisons.
  • GPT-5.4 nano ($0.20 input / $1.25 output) — retained for old routing and extraction comparisons.

Legacy o-Series Reasoning Models

OpenAI's older reasoning rows remain useful for historical cost comparisons, but they are hidden behind the legacy toggle when they are no longer part of the current default price card.

Legacy GPT-4.1 Family

The GPT-4.1 family is now treated as legacy in AI Pricing Guru defaults because it no longer appears in the latest OpenAI pricing acquisition:

  • 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.6 supports cached-input reads at 90% off the standard input rate. Terra's cached read rate is $0.25/M and Luna's is $0.10/M, which is a major lever for agent workflows with big repeated prefixes.

How OpenAI Compares

OpenAI now covers several premium price bands, but not always at the cheapest rate. GPT-5.6 Sol sits above Claude Opus 4.8 on output cost, while GPT-5.6 Luna is 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, compare GPT-5.6 Luna with Google's Gemini Flash tiers, DeepSeek, and hosted open models before choosing a default route.

Price History

Only models with a recorded price change are charted here.

Price history tracking started April 2026. Flat model charts stay hidden until a 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?

The last retained GPT-5.5 price in our history is $5.00 per 1M input tokens and $30.00 per 1M output tokens. OpenAI no longer publishes GPT-5.5 on the current API pricing page, so it is shown as legacy in the table.

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 costs $5/$30, while Claude Opus 4.8 is $5/$25. GPT-5.6 Terra sits 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 publishes GPT-5.6 Sol/Terra/Luna on its current API pricing page. Older GPT-5.5, GPT-5.4, GPT-4.1, GPT-4o, and o-series rows remain in AI Pricing Guru as legacy history and compatibility references.

What's GPT-5.6's context window?

GPT-5.6 starts as a limited-preview family. Use the provider docs for final context and quota limits before production migration, and model long-context workloads carefully because cache behavior and output length drive the real bill.

How cheap is GPT-5.6 Luna?

GPT-5.6 Luna is the cheapest current GPT-5.6 tier at $1.00 per 1M input tokens and $6.00 per 1M output tokens. It is the current OpenAI budget choice in the published GPT-5.6 family.

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.