OpenAI API pricing

OpenAI API prices run from $0.10 input / $0.50 output per 1M tokens (GPT-6 Luna) to $10.00 / $50.00 (GPT-6 Astra). The newest, GPT-6.1 Terra, costs $1.00 / $5.00. Batch requests cost 50% less, and cached input starts at $0.01. ChatGPT Plus’s $20 a month buys about 1,250 typical GPT-6.1 Sol messages on the API.

OpenAI charges per million tokens, with a lower rate for the tokens you send than for the tokens the model writes. Below are all 8 OpenAI models we track, with cached, batch and long-context rates.

Prices from OpenAI’s official pricing page, verified November 17, 2026.

Every OpenAI model, cheapest first

USD per 1M tokens, standard tier.

ModelInputCached inputOutputLong contextBatchContext
GPT-6 Luna
gpt-6-luna
$0.10$0.01$0.50$0.20 in / $0.75 out on long-context requests50% off1.05M tokens
GPT-5.6 Luna
gpt-5.6-luna
$0.20$0.02$1.20$0.40 in / $1.80 out on long-context requests50% off1.05M tokens
GPT-6.1 Terra
gpt-6.1-terra
$1.00$0.05$5.00$2.00 in / $7.50 out above 272K prompt tokens50% off1.05M tokens
GPT-6 Sol
gpt-6-sol
$2.00$0.20$10.00$4.00 in / $15.00 out on long-context requests50% off1.05M tokens
GPT-6.1 Sol
gpt-6.1-sol
$2.00$0.10$10.00$4.00 in / $15.00 out above 272K prompt tokens50% off1.05M tokens
GPT-5.6 Terra
gpt-5.6-terra
$2.00$0.20$12.00$4.00 in / $18.00 out on long-context requests50% off1.05M tokens
GPT-5.6 Sol
gpt-5.6-sol
$4.00$0.40$20.00$8.00 in / $30.00 out on long-context requests50% off1.05M tokens
GPT-6 Astra
gpt-6-astra
$10.00$1.00$50.00$20.00 in / $75.00 out on long-context requests50% off1.05M tokens

OpenAI API or a ChatGPT subscription?

A subscription is a flat monthly price with usage limits; the API bills every token. A typical message here is about 4,000 tokens in and 800 out, which costs $0.02 on GPT-6.1 Sol.

PlanPrice a monthWhat you getSame money on the API
ChatGPT Plus$20GPT-6.1 Sol and GPT-6 Astra (limited); Codex on the web, CLI, IDE extension and iOS~1,250 GPT-6.1 Sol messages
ChatGPT Pro 100$100Pro reasoning with GPT-6 Astra; No five-hour limit on Codex~6,250 GPT-6.1 Sol messages
ChatGPT Pro 200$200More Work and Codex usage than Pro 100; $200 a month in API credits~12,500 GPT-6.1 Sol messages
ChatGPT Pro 500$500Highest usage of the Pro plans; GPT-6 Astra and GPT-6.1 Sol Ultrafast~31,250 GPT-6.1 Sol messages

If you send fewer messages than that each month, the API costs less. Try your own numbers in the subscription vs API calculator, or see ChatGPT pricing, OpenAI Codex pricing.

Is there a free OpenAI API tier? No.

OpenAI’s pricing page lists no free tier for its models: every request is billed per token. A few tools are free, such as the moderation endpoint and the first 1 GB of file-search storage. Source ↗

OpenAI API cost calculator

Standard-tier list prices. Long-context rates apply automatically where the provider publishes a threshold. Excludes cache-write surcharges, taxes, batch and volume discounts.

Pricing details by model

GPT-6 Luna
  • Cache writes are billed at $0.125 per 1M tokens.
  • Fast mode costs 2x the standard rate; Flex costs half.
  • Regional (data residency) endpoints add a 10% uplift, and EU data residency is available only with standard processing.
GPT-5.6 Luna
  • Cache writes are billed at $0.25 per 1M tokens.
  • Fast mode costs 2x the standard rate; Flex costs half.
GPT-6.1 Terra
  • Cache writes are billed at $1.25 (30-minute) or $2.50 (12-hour) per 1M tokens.
  • Prompts over 272K input tokens use the long-context rates.
  • Fast mode costs 2x the standard rate; Flex costs half.
GPT-6 Sol
  • Cache writes are billed at $2.50 per 1M tokens.
  • Fast mode costs 2x the standard rate; Flex costs half.
  • Regional (data residency) endpoints add a 10% uplift, and EU data residency is available only with standard processing.
GPT-6.1 Sol
  • Cached input costs $0.10 per 1M tokens, half of GPT-6 Sol’s $0.20.
  • Cache writes are billed at $2.50 per 1M tokens.
  • Prompts over 272K input tokens use the long-context rates.
  • Fast mode costs 2x the standard rate; Flex costs half.
GPT-5.6 Terra
  • Cache writes are billed at $2.50 per 1M tokens.
  • Fast mode costs 2x the standard rate; Flex costs half.
GPT-5.6 Sol
  • Promotional pricing, available at least through November 21, 2026.
  • Cache writes are billed at $5 per 1M tokens.
  • Regional (data residency) endpoints add a 10% uplift.
GPT-6 Astra
  • Cache writes are billed at $12.50 per 1M tokens.
  • Fast mode costs 2x the standard rate; Flex costs half.
  • Regional (data residency) endpoints add a 10% uplift.

Recent OpenAI pricing changes

  • GPT-5.6 Sol promotional pricing guaranteed through this date

    OpenAI says GPT-5.6 Sol’s promotional pricing ($4 input / $20 output per 1M tokens) is available at least through November 21, 2026.

  • GPT-6.1 Terra added

    OpenAI’s GPT-6.1 Terra costs $1 input / $5 output per 1M tokens, half of GPT-6.1 Sol, with the same 1.05M-token context window and long-context rates above 272K tokens.

  • GPT-6.1 Sol added

    OpenAI’s GPT-6.1 Sol keeps GPT-6 Sol’s $2 input / $10 output per 1M tokens but halves cached input to $0.10. OpenAI describes it as near-Astra performance at a lower cost.

  • ChatGPT Pro adds a $500 plan

    Pro is now offered at $100, $200 or $500 a month. The $500 plan includes access to GPT-6 Astra Ultrafast mode.

  • OpenAI removes Sora 2 and Sora 2 Pro from the API

    The sora-2 and sora-2-pro video models and the Videos API were shut down on September 24, 2026, as announced in March. They had cost $0.10 and $0.30 per second of 720p video.

All pricing changes

Frequently asked questions

Is the OpenAI API free?
No. OpenAI’s pricing page lists no free tier for its models: every request is billed per token. A few tools are free, such as the moderation endpoint and the first 1 GB of file-search storage.
How much does the OpenAI API cost?
OpenAI API prices range from $0.10 input / $0.50 output per 1M tokens for GPT-6 Luna to $10.00 / $50.00 for GPT-6 Astra. A support chatbot handling 100,000 replies a month costs about $35.00 on GPT-6 Luna.
What is the cheapest OpenAI model?
GPT-6 Luna, at a blended $0.20 per 1M tokens (3 input : 1 output), 99% less per token than GPT-6 Astra.
Does the OpenAI API have a batch discount?
Yes. Batch requests, which return results within a window of up to 24 hours instead of immediately, cost 50% less on the OpenAI models that support it.
Is the OpenAI API cheaper than a ChatGPT subscription?
It depends on how much you use. A typical message (about 4,000 tokens in and 800 out) costs about $0.02 on GPT-6.1 Sol, so ChatGPT Plus at $20 a month equals about 1,250 such messages. Send fewer and the API is cheaper; send more and the subscription is, within its usage limits.
Which OpenAI model is the most capable?
GPT-6 Astra has the highest Epoch Capabilities Index of the OpenAI models we track (166.4), at $10.00 input / $50.00 output per 1M tokens.