OpenAI · verified 2026-11-30

OpenAI API pricing

We track 8OpenAI models on OpenAI's first-party API. The cheapest is GPT-5 nano at $0.05 per million input tokens; the most expensive is GPT-6.2 Astra at $8 input and $40 output.

OpenAI token cost by model

Model Input / 1M Output / 1M Input / token Output / token Context Class
GPT-5 nano $0.05 $0.40 $0.00000005 $0.0000004 400K fast / lightweight
GPT-6 Luna $0.10 $0.50 $0.0000001 $0.0000005 1.05M fast / lightweight
GPT-5 mini $0.25 $2 $0.00000025 $0.000002 400K workhorse
GPT-6.1 Terra $1 $5 $0.000001 $0.000005 1.05M workhorse
GPT-5.1 $1.25 $10 $0.00000125 $0.00001 400K frontier
GPT-6.2 Sol $2 $10 $0.000002 $0.00001 1.05M workhorse
GPT-5.5 $5 $30 $0.000005 $0.00003 1.05M frontier
GPT-6.2 Astra $8 $40 $0.000008 $0.00004 1.05M frontier

Estimated monthly cost

Workload GPT-5 nanoGPT-6 LunaGPT-5 miniGPT-6.1 TerraGPT-5.1GPT-6.2 SolGPT-5.5GPT-6.2 Astra
Light — chatbot 0.5K in / 0.2K out · 200 req/day $0.63$0.90$3.15$9.00$15.75$18.00$51.00$72.00
Typical — assistant 2K in / 0.5K out · 1K req/day $9.00$13.50$45.00$135$225$270$750$1,080
Heavy — RAG / agent 8K in / 2K out · 5K req/day $180$270$900$2,700$4,500$5,400$15,000$21,600

Plug in your own traffic in the LLM API cost calculator.

Compare OpenAI with other providers

Frequently asked questions

How much does the OpenAI API cost per token?

It depends on the model. GPT-5 nano costs $0.00000005 per input token and $0.0000004 per output token ($0.05 / $0.40 per million). GPT-6 Luna costs $0.0000001 per input token and $0.0000005 per output token ($0.10 / $0.50 per million). GPT-5 mini costs $0.00000025 per input token and $0.000002 per output token ($0.25 / $2 per million). GPT-6.1 Terra costs $0.000001 per input token and $0.000005 per output token ($1 / $5 per million). GPT-5.1 costs $0.00000125 per input token and $0.00001 per output token ($1.25 / $10 per million). GPT-6.2 Sol costs $0.000002 per input token and $0.00001 per output token ($2 / $10 per million). GPT-5.5 costs $0.000005 per input token and $0.00003 per output token ($5 / $30 per million). GPT-6.2 Astra costs $0.000008 per input token and $0.00004 per output token ($8 / $40 per million).

What is the cheapest OpenAI model?

GPT-5 nano is the cheapest OpenAI model at $0.05 input and $0.40 output per million tokens. GPT-6.2 Astra is the most expensive at $8 / $40.

Why are output tokens more expensive than input tokens?

Generating a token takes a full forward pass of the model for each new token, while input tokens are processed in parallel. Providers price output higher to reflect that compute, often 4–8× the input rate.

How many tokens is a word?

For English text, one token is roughly 0.75 words, or about 4 characters. 1,000 words is about 1,333 tokens. Code, non-English text and numbers usually use more tokens per word, and each provider’s tokenizer differs slightly.

Source: OpenAI pricing page. USD, standard tier, no caching or batch discounts. Other providers: Claude · Gemini · Grok · DeepSeek · Mistral . All 29 models are on the pricing table.