OpenAI API pricing

How OpenAI API charges, what to know before you commit, and what you'd pay at your usage — next to what the alternatives would cost for the same thing.

How it charges

Checked 2026-10-03 on developers.openai.com ↗ · USD, list prices
In short

Pay per token, from $0.10 / $0.50 per million input/output tokens on GPT-6 Luna to $10 / $50 on GPT-6 Astra.

Free plan
Yes
Side project
$1.00/mo GPT-6 Luna
Growing
$10/mo GPT-6 Luna
Scaling
$200/mo GPT-6 Luna
What the model leaves out

Standard-tier prices for short context (the page doesn't state the cutoff for GPT-6 models; older models switch at 272K input tokens); long-context requests cost more (Astra $20 / $75, Sol $4 / $15, Luna $0.20 / $0.75 per million). Batch is half price; cached input is billed lower.

Before you commit
  • Long-context requests cost more: Astra $20 / $75, Sol $4 / $15 and Luna $0.20 / $0.75 per million tokens.
  • Cache writes cost 1.25× the input price.
  • Regional (data-residency) endpoints add 10% for models released on or after March 5, 2026.
  • Built-in tools are billed on top of tokens, e.g. file search at $2.50 per 1,000 calls plus $0.10/GB per day of storage after 1 GB free.
PlanMonthly feeInput tokens per monthOutput tokens per month
GPT-6 AstraNone$10 per million tokens$50 per million tokens
GPT-6.1 SolNone$2 per million tokens$10 per million tokens
GPT-6 LunaNone$0.1 per million tokens$0.5 per million tokens

What you'd pay

GPT-6 Luna50 million tokens × $0.1 per million tokens + 10 million tokens × $0.5 per million tokens$10/mo

Cost as you grow

$0$100$500$1,000$2,0001510501005001k5k
OpenAI APIDeepSeekMistral AIGroqGemini APIClaudex: input tokens per month (million tokens), other usage scaled with it · cheapest usable plan at each point, list prices