Skip to the programs
startupcredits.fyi

OpenAI API pricing (December 2026): cost per million tokens

OpenAI API pricing for December 2026: GPT-6.2 Astra costs $8 input and $40 output per million tokens. Every model, cached input, Batch and a worked cost example.

OpenAI's flagship API model, GPT-6.2 Astra, costs $8 per million input tokens and $40 per million output tokens. GPT-6.2 Sol costs $2 input and $10 output, and the cheapest current model, GPT-6 Luna, costs $0.10 input and $0.50 output. Cached input on the newest models is 95% cheaper than fresh input, and the Batch API halves every price.

All prices below come from OpenAI's API pricing page as of December 4, 2026, in US dollars per 1 million tokens at standard speed.

OpenAI API prices for current models

These are the current GPT-6.2, GPT-6.1, GPT-6 and GPT-5.6 models. Prices apply to requests with up to 272K input tokens ("short context").

Model (API name)InputCached inputOutput
GPT-6.2 Astra (gpt-6.2-astra)$8.00$0.40$40.00
GPT-6.2 Sol (gpt-6.2-sol)$2.00$0.10$10.00
GPT-6.1 Sol (gpt-6.1-sol)$2.00$0.10$10.00
GPT-6.1 Terra (gpt-6.1-terra)$1.00$0.05$5.00
GPT-6 Astra (gpt-6-astra)$10.00$1.00$50.00
GPT-6 Sol (gpt-6-sol)$2.00$0.20$10.00
GPT-6 Luna (gpt-6-luna)$0.10$0.01$0.50
GPT-5.6 Sol (gpt-5.6-sol)$5.00$0.50$30.00
GPT-5.6 Terra (gpt-5.6-terra)$2.00$0.20$12.00
GPT-5.6 Luna (gpt-5.6-luna)$0.20$0.02$1.20

By price, Astra is the top tier, followed by Sol, Terra and Luna. Note that the newest model is not always the most expensive: GPT-6.2 Astra is cheaper than GPT-6 Astra, and GPT-6.2 Sol costs the same as GPT-6.1 Sol.

Long-context pricing (over 272K input tokens)

Requests with more than 272K input tokens are billed at a higher rate for the whole request.

ModelInputCached inputOutput
GPT-6.2 Astra$16.00$0.80$60.00
GPT-6.2 Sol$4.00$0.20$15.00
GPT-6.1 Terra$2.00$0.10$7.50
GPT-6 Luna$0.20$0.02$0.75

Older models still on the price list

OpenAI still lists many earlier models. Some are cheaper per token than the newest small models, which matters for high-volume, simple tasks.

ModelInputCached inputOutput
gpt-5.5$5.00$0.50$30.00
gpt-5.4$2.50$0.25$15.00
gpt-5.4-mini$0.75$0.075$4.50
gpt-5.4-nano$0.20$0.02$1.25
gpt-5-mini$0.25$0.025$2.00
gpt-5-nano$0.05$0.005$0.40
gpt-4.1$2.00$0.50$8.00
gpt-4o$2.50$1.25$10.00
gpt-4o-mini$0.15$0.075$0.60
o3$2.00$0.50$8.00

The Pro reasoning models are much more expensive: gpt-5.5-pro and gpt-5.4-pro cost $30 input and $180 output per million tokens.

OpenAI API cost calculator

Enter your expected traffic to see what each current GPT model costs per month. Tick the comparison box to see Claude, Gemini and Grok models at the same volume.

ModelPer 1,000 requestsPer month
GPT-6 Luna$0.450$45.00
GPT-6.1 Terra$4.50$450
GPT-6.2 Sol$9.00$900
GPT-6.2 Astra$36.00$3,600

Standard API list prices checked 2026-12-04. Excludes tax, tool calls and Anthropic’s cache-write surcharge. Startup credits can bring this to $0.

How does cached input pricing work?

Prompt caching is on by default. When a request starts with the same prefix as an earlier one (a long system prompt, tool definitions, a document), OpenAI reuses its work and bills those tokens at the cached input rate.

For GPT-5.6 and later models, OpenAI's prompt caching guide sets these rules:

  • Cache reads cost 0.05 times the normal input price on GPT-6.2 Astra, GPT-6.2 Sol, GPT-6.1 Sol and GPT-6.1 Terra (a 95% discount), and 0.1 times on the other GPT-5.6 and later models.
  • Cache writes are billed instead of normal input, not on top of it: 1.25 times the input price for the default 30-minute lifetime, or 2.5 times for a 12-hour lifetime (Responses API only).
  • Minimum size: a prefix must be at least 1,024 tokens to be cached.

So on GPT-6.2 Sol, a cached token costs $0.10 per million instead of $2.00, and writing it to the cache costs $2.50 per million for 30 minutes or $5.00 for 12 hours. Older models have no separate cache-write charge.

Batch, Flex, Fast and Ultrafast pricing

OpenAI sells the same models at different speeds. Here is what each option costs for GPT-6.2 Sol, per million tokens:

Processing optionInputOutputRelative to Standard
Batch$1.00$5.0050% off
Standard$2.00$10.001x
Fast$4.00$20.002x
Ultrafast (until Feb 28, 2027)$6.00$30.003x
Ultrafast (from Mar 1, 2027)$12.00$60.006x
  • Batch runs requests asynchronously at half price. It is available on all current text models.
  • Flex is being wound down. It still costs half of Standard on the models where it exists (GPT-6 Astra, GPT-6.1 Sol, GPT-6.1 Terra, GPT-6 Luna, GPT-6 Sol, the GPT-5.6 models and several older ones), but OpenAI says it will not add Flex to new models, so GPT-6.2 has none.
  • Fast is what OpenAI used to call Priority processing. It was renamed on July 30, 2026 and costs 2 times Standard on the GPT-6 and GPT-5.6 families.
  • Ultrafast exists for GPT-6.2 Astra, GPT-6.2 Sol, GPT-6 Astra and GPT-6.1 Sol. On GPT-6 Astra and GPT-6.1 Sol it costs 6 times Standard.
  • Background requests on GPT-6.2 Astra, GPT-6.2 Sol, GPT-6.1 Terra and GPT-6 Luna are 30% below Standard with a 2-hour completion window and 40% below with an 8-hour window.

Two surcharges apply on top: regional processing (data residency) endpoints cost 10% more for models released on or after March 5, 2026, and so do FedRAMP endpoints.

Image, audio, realtime and embeddings pricing

CategoryModelPrice
Image generationgpt-image-2 (also 2.5 and 2.6 variants)$8 image input, $30 image output, $5 text input per 1M tokens
Realtime voicegpt-realtime-2.1$32 audio input, $64 audio output, $4 text input, $24 text output per 1M tokens
Realtime voice (small)gpt-realtime-2.1-mini$10 audio input, $20 audio output per 1M tokens
Live voice sessionsgpt-live-1.1$0.05 per active minute, $0.02 per standby minute
Transcriptiongpt-transcribe$0.0045 per minute
Transcription (small)gpt-4o-mini-transcribe$0.003 per minute
Text to speechgpt-4o-mini-tts$12 per 1M audio output tokens
Embeddingstext-embedding-3-small / 3-large$0.02 / $0.13 per 1M tokens
Moderationomni-moderation-latestFree

Image models are half price through Batch. For per-image estimates, OpenAI points to the calculator in its image generation guide rather than publishing a flat per-image price.

Tool pricing

Built-in tools add their own fees on top of model tokens:

  • Web search: $10 per 1,000 calls, plus search content tokens at the model's rates.
  • File search: $2.50 per 1,000 calls, and storage at $0.10 per GB per day after 1 GB free.
  • Hosted Shell and Code Interpreter containers: from $0.03 per 20-minute session for 1 GB up to $1.92 for 64 GB.

Fine-tuning is closed to new users. Existing users can keep training on gpt-4.1, gpt-4.1-mini, gpt-4o and gpt-4o-mini for now.

Worked example: what does a chatbot cost on the OpenAI API?

Say you run a support assistant that handles 100,000 conversations a month. Each request sends a 2,000-token system prompt that never changes, plus 1,000 tokens of new conversation, and gets a 500-token answer. That is 300 million input tokens and 50 million output tokens a month.

On GPT-6.2 Sol with no caching:

  • Input: 300M tokens x $2.00 per million = $600
  • Output: 50M tokens x $10.00 per million = $500
  • Total: $1,100 a month

With prompt caching (on by default): the 2,000-token system prompt is read from cache, and in implicit mode the 1,000 new tokens are written to cache at the 30-minute write rate.

  • Cached input: 200M x $0.10 = $20
  • New input written to cache: 100M x $2.50 = $250
  • Output: 50M x $10.00 = $500
  • Total: $770 a month, 30% less

If you use explicit cache breakpoints so that only the system prompt is written to cache, the 1,000 new tokens are billed at the normal $2.00 rate ($200), bringing the total to about $720, plus $0.005 each time the 2,000-token prefix is rewritten after the cache expires.

The model choice moves the bill far more than any setting. The same workload without caching costs:

ModelInput costOutput costMonthly total
GPT-6.2 Astra$2,400$2,000$4,400
GPT-6.2 Sol$600$500$1,100
GPT-6.2 Sol via Batch$300$250$550
GPT-6 Luna$30$25$55

Reasoning models also bill their internal reasoning as output tokens, so real output counts are often higher than the visible answer. Measure a sample of real traffic in the usage dashboard before you commit to a budget.

How to cut your OpenAI API bill

  1. Use the smallest model that passes your evals. GPT-6 Luna costs 1/80th of GPT-6.2 Astra per token. Route only the hard requests to the large models.
  2. Put stable content first. Caching only works on an identical prefix, so keep system prompts, tool schemas and reference documents at the start and the changing user input at the end.
  3. Batch anything that can wait. Evaluations, nightly enrichment, classification and embeddings backfills all qualify for 50% off.
  4. Set hard spend limits. OpenAI lets you cap spend per organization, project or API key. Requests over a hard limit return a 429 error instead of running up the bill. Our OpenAI API key guide covers the setup.
  5. Claim the free usage you are already entitled to. ChatGPT Pro subscribers get $100, $200 or $500 a month in API credits depending on tier, and ChatGPT Business workspaces get $20 per Standard seat and $100 per Premium seat, capped at $500 a month. Organizations that opt in to share API traffic with OpenAI may also qualify for complimentary daily tokens. Eligible Launch and Grow tier organizations get up to 1 million tokens a day across one group of models (including GPT-6.1 Sol, GPT-6 Sol and GPT-6 Luna) and 10 million across another (including GPT-5.6 Terra and GPT-5.6 Luna). GPT-6.2 models are not on the list.

Use startup credits

If you are building a company, credits can cover months of API usage:

  1. OpenAIOpenAI for StartupsFree API credits, rate limit upgrades and time with solutions engineers for startups backed by an OpenAI VC partner (amount not published)Needs an investorUnpublished
  2. MicrosoftMicrosoft for StartupsUp to $150,000 in Azure Startup creditsApply directly$150K
  3. Amazon Web ServicesAWS ActivateUp to $200,000 in AWS Activate CreditsNeeds an investor$200K
  • OpenAI for Startups gives free API credits and rate limit upgrades to startups backed by a VC in OpenAI's partner network. OpenAI does not publish the amount.
  • Microsoft for Startups gives up to $150K in Azure credits with no investor needed, and Microsoft says those credits cover Foundry models sold directly by Azure, which include all Azure OpenAI models.
  • AWS Activate credits can pay for third-party models on Amazon Bedrock, and AWS names OpenAI among the covered providers.

Azure and Bedrock set their own prices for OpenAI models, so check them before moving traffic. Our OpenAI credits guide walks through every route and who qualifies.

OpenAI API pricing vs ChatGPT and Codex subscriptions

The API is billed separately from ChatGPT. A ChatGPT Plus subscription does not include API usage, and API credits do not raise your ChatGPT limits. If you want a flat monthly price for coding, Codex is included in ChatGPT plans; see Codex pricing. For team seats, see ChatGPT Business pricing.

Questions

Is the OpenAI API free?

No. The API is pay as you go, and new accounts use prepaid billing with a $5 minimum credit purchase. The only free usage comes from credit grants, such as the monthly API credits included with ChatGPT Pro and Business, complimentary daily tokens for organizations that share data with OpenAI, research grants and startup programs.

How much does GPT-6.2 cost per 1,000 tokens?

GPT-6.2 Astra costs $0.008 per 1,000 input tokens and $0.04 per 1,000 output tokens at standard speed. GPT-6.2 Sol costs $0.002 per 1,000 input tokens and $0.01 per 1,000 output tokens. Prices double above 272K input tokens for input and rise 50% for output.

What is the cheapest OpenAI API model?

Among current models, GPT-6 Luna is the cheapest at $0.10 per million input tokens and $0.50 per million output tokens. The older gpt-5-nano is still listed at $0.05 input and $0.40 output. For embeddings, text-embedding-3-small costs $0.02 per million tokens.

Does ChatGPT Plus include API access?

No. OpenAI bills ChatGPT subscriptions and the API separately, and Plus includes no API credits. ChatGPT Pro includes $100 to $500 a month in API credits depending on the tier, and ChatGPT Business includes $20 per Standard seat and $100 per Premium seat, pooled and capped at $500 per workspace per month.

Programs in this guide

  1. OpenAIOpenAI for StartupsFree API credits, rate limit upgrades and time with solutions engineers for startups backed by an OpenAI VC partner (amount not published)Needs an investorUnpublished
  2. MicrosoftMicrosoft for StartupsUp to $150,000 in Azure Startup creditsApply directly$150K
  3. Amazon Web ServicesAWS ActivateUp to $200,000 in AWS Activate CreditsNeeds an investor$200K

Sources