API pricing · 29 models

OpenAI API pricing

What every OpenAI model costs per 1M tokens through the API, with the extra charges and discounts that change the bill.

Prices from OpenAI's pricing page as of

Prices per 1M tokens

US dollars, standard processing. The last column is what one request with 1,000 input and 500 output tokens costs; try your own volumes in the cost calculator.

ModelInputCached inputCache writeOutput1K in + 500 out
GPT-6
GPT-6 Astragpt-6-astra$10.00$1.00$12.50$50.00$0.035
GPT-5.6
GPT-5.6 Solpromo pricegpt-5.6-sol$4.00$0.40$5.00$20.00$0.014
GPT-5.6 Terragpt-5.6-terra$2.00$0.20$2.50$12.00$0.008
GPT-5.6 Lunagpt-5.6-luna$0.20$0.02$0.25$1.20$0.0008
GPT-5.5
GPT-5.5gpt-5.5$5.00$0.50$30.00$0.02
GPT-5.5 Progpt-5.5-pro$30.00$180.00$0.12
GPT-5.4
GPT-5.4gpt-5.4$2.50$0.25$15.00$0.01
GPT-5.4 Progpt-5.4-pro$30.00$180.00$0.12
GPT-5.4 minigpt-5.4-mini$0.75$0.075$4.50$0.003
GPT-5.4 nanogpt-5.4-nano$0.20$0.02$1.25$0.00083
GPT-5.3 and 5.2
GPT-5.3 Codexgpt-5.3-codex$1.75$0.175$14.00$0.0088
GPT-5.2gpt-5.2$1.75$0.175$14.00$0.0088
GPT-5.2 Progpt-5.2-pro$21.00$168.00$0.11
GPT-5.1 and 5
GPT-5.1gpt-5.1$1.25$0.125$10.00$0.0063
GPT-5gpt-5$1.25$0.125$10.00$0.0063
GPT-5 Progpt-5-pro$15.00$120.00$0.075
GPT-5 minigpt-5-mini$0.25$0.025$2.00$0.0013
GPT-5 nanogpt-5-nano$0.05$0.005$0.40$0.00025
GPT-4.1 and GPT-4o
GPT-4.1gpt-4.1$2.00$0.50$8.00$0.006
GPT-4.1 minigpt-4.1-mini$0.40$0.10$1.60$0.0012
GPT-4.1 nanogpt-4.1-nano$0.10$0.025$0.40$0.0003
GPT-4ogpt-4o$2.50$1.25$10.00$0.0075
GPT-4o minigpt-4o-mini$0.15$0.075$0.60$0.00045
o-series reasoning
o3o3$2.00$0.50$8.00$0.006
o3-proo3-pro$20.00$80.00$0.06
o3-minio3-mini$1.10$0.55$4.40$0.0033
o4-minio4-mini$1.10$0.275$4.40$0.0033
o1o1$15.00$7.50$60.00$0.045
o1-proo1-pro$150.00$600.00$0.45

Long-context prices

Rates that apply once a request passes the threshold, per 1M tokens.

ModelApplies aboveInputCached inputOutput
GPT-6 Astra272K$20.00$2.00$75.00
GPT-5.6 Sol272K$8.00$0.80$30.00
GPT-5.6 Terra272K$4.00$0.40$18.00
GPT-5.6 Luna272K$0.40$0.04$1.80
GPT-5.5272K$10.00$1.00$45.00
GPT-5.4272K$5.00$0.50$22.50

When promotional prices end

These models are on launch or promotional pricing. The table shows the current rate next to the rate OpenAI has announced for afterwards.

ModelCurrent price untilInput now → laterOutput now → later
GPT-5.6 Solat least Nov 21, 2026$4.00 → not announced$20.00 → not announced

Recent OpenAI changes

Model launches, price changes and retirements, newest first.

  1. Retirement

    GPT-5.5 to leave ChatGPT, ChatGPT Work and Codex on October 14

    Announced by OpenAI's @ChatGPT account. The OpenAI API is not affected: the deprecations page lists no shutdown for gpt-5.5.

  2. Deprecation

    gpt-5.4-cyber deprecated, removal on October 1, 2026

    Replacement: gpt-5.6-cyber.

  3. New model

    GPT-6 Astra released at $10 / $50 per 1M tokens

    $20 / $75 above 272K input tokens. Batch and Flex at half price, Fast mode at double.

  4. Price cut

    GPT-5.6 Sol cut to $4 / $20 on a promotion

    20% lower input and 33% lower output. The promotional price runs at least through November 21, 2026.

  5. Price cut

    GPT-5.6 Luna 80% cheaper, Terra 20% cheaper; Fast mode replaces Priority

    Luna now costs $0.20 / $1.20 and Terra $2 / $12. Fast mode costs twice the standard rate.

Billing rules that change the price

  • GPT-5.6 Sol's $4 / $20 price is promotional and available at least through November 21, 2026. OpenAI cut it on August 21, 2026, by 20% on input and 33% on output, and has not said what it will cost after the promotion.
  • Batch API: 50% off both input and output. Flex processing is priced like Batch on select models.
  • Fast mode costs 2x the standard rate. It is the new name for Priority processing since July 30, 2026, and requests tagged priority still work.
  • Cache writes are listed for GPT-6 Astra and the GPT-5.6 family at 1.25x the input price.
  • Regional processing (data residency) endpoints add 10% for eligible models released on or after March 5, 2026.
  • GPT-6 Astra, the GPT-5.6 family, GPT-5.5 and GPT-5.4 switch to long-context rates once a prompt exceeds 272K input tokens.
  • Pro models have no cached-input discount.
  • The gpt-5.6 alias routes requests to gpt-5.6-sol.

Questions

How much does the OpenAI API cost?

OpenAI lists 29 models. Input costs from $0.05 (GPT-5 nano) to $150.00 (o1-pro) per 1M tokens, and output from $0.40 (GPT-5 nano) to $600.00 (o1-pro). A request with 1,000 input and 500 output tokens costs between $0.00025 and $0.45.

What is the cheapest OpenAI API model?

By the cost of a 1,000-input, 500-output request, GPT-5 nano is the cheapest: $0.05 input and $0.40 output per 1M tokens, about $0.00025 per request.

Does the OpenAI API have a batch discount?

Yes. The Batch API costs 50% less than standard rates, for both input and output.

Where these numbers come from

Prices are copied from the vendor's own pages; the vendor page is the authority on what you are billed. Per-request costs are our arithmetic.

FieldSourceObserved
API prices per 1M tokens, all modelsvendorOpenAI API pricingSep 16, 2026
Shutdown schedulevendorOpenAI deprecationsSep 16, 2026
Cost of 1,000 input + 500 output tokensderivedCalculated from the prices aboveSep 16, 2026