FREE TOOL · PRICES VERIFIED OCTOBER 16, 2026

OpenAI API Pricing

Every current GPT model with its real per-million-token price — input, output, and cached input — plus a calculator for your own workload and a straight comparison against Claude and Gemini.

MODELS
8
INPUT FROM
$0.10/1M
OUTPUT UP TO
$50.00/1M
MAX CONTEXT
1.05M
ESTIMATE YOUR WORKLOAD
MODELINPUT $/1MCACHED INOUTPUT $/1MBLENDEDCONTEXTYOUR COST
GPT-6 Astra
gpt-6-astra · ≥272K: 2×/1.5×
$10.00$1.00$50.00$20.001.05M$35.00
GPT-6 Sol
gpt-6-sol · ≥272K: 2×/1.5×
$2.00$0.20$10.00$4.001.05M$7.00
GPT-6 Luna
gpt-6-luna · ≥272K: 2×/1.5×
$0.10$0.01$0.50$0.201.05M$0.35
GPT-5.6 Sol
gpt-5.6-sol · promo to Nov 21
$4.00$0.40$20.00$8.001.05M$14.00
GPT-5.6 Terra
gpt-5.6-terra · ≥272K: 2×/1.5×
$2.00$0.20$12.00$4.501.05M$8.00
GPT-5.6 Luna
gpt-5.6-luna · ≥272K: 2×/1.5×
$0.20$0.02$1.20$0.451.05M$0.80
GPT-5.4 Mini
gpt-5.4-mini
$0.75$0.075$4.50$1.69400K$3.00
GPT-5.4 Nano
gpt-5.4-nano
$0.20$0.02$1.25$0.463400K$0.82

USD per 1M tokens from OpenAI’s official pricing page as of October 16, 2026. Blended assumes a 3:1 input:output ratio. Get keys at the OpenAI console.

HOW OPENAI PRICING WORKS

A new GPT-6 ladder, one cache discount, and a long-context catch.

GPT-6 arrived in September as a three-step ladder: Astra is the top-capability model at $10 input / $50 output per 1M tokens, Sol the flagship at $2 / $10, and Luna the fast tier at $0.10 / $0.50. Sol and Luna cost half of what their GPT-5.6 namesakes do, and all three share a 1.05M-token context window. The GPT-5.6 line and GPT-5.4 Mini and Nano stay on the price list for pinned workloads — note that GPT-5.6 Sol’s $4 / $20 is a promotional rate guaranteed only through November 21, 2026.

The long-context surcharge carries over to GPT-6: prompts beyond 272K input tokens bill the whole request at 2× input (cached input included) and 1.5× output — and it applies on Batch and Flex too. On Astra that means $20 / $75 per 1M. If you routinely fill a large share of the 1.05M window, price your workload at the surcharge rate.

Cached input is the discount that matters: resend the same prompt prefix and OpenAI bills those tokens at a tenth of the fresh-input rate (GPT-5.6 and GPT-6 also charge a cache-write fee of 1.25× input when a prefix is first stored). For agents and RAG apps with a long, stable system prompt, caching often cuts the input side of the bill by 80–90%.

For anything that can wait, the Batch API processes requests within 24 hours at half price on both input and output, and the Flex service tier gets the same 50% off synchronously when latency doesn’t matter — the cheapest ways to run evaluations, backfills, and bulk classification on GPT.

How much does the OpenAI API cost?

OpenAI bills per token, with separate input and output rates quoted per million tokens. The current GPT-6 line runs from $0.10 input / $0.50 output per 1M tokens on Luna, through $2 / $10 on Sol, up to $10 / $50 on Astra, with cached input at a tenth of the fresh rate. The table above has every current model.

What is the cheapest OpenAI model?

GPT-6 Luna at $0.10 input / $0.50 output per 1M tokens — half the price of GPT-5.6 Luna and GPT-5.4 Nano, with the full 1.05M context and cached input at $0.01 per 1M. For most high-volume work it is the new default.

How does cached input billing work on OpenAI?

When a request repeats a prompt prefix the API has recently seen (system prompts, few-shot examples, long documents), those tokens bill at the cached rate — about 10× cheaper than fresh input. Caching happens automatically; GPT-5.6 and GPT-6 add a cache-write fee of 1.25× the input rate when a prefix is first stored. The savings show up in the cached_tokens field of the usage object.

Is GPT cheaper than Claude or Gemini?

Since the September GPT-6 launch, usually yes: Sol ($4/1M blended) undercuts Claude Opus 5.5 ($8) and Gemini 3.1 Pro ($4.50), and Luna ($0.20) is the cheapest small model of the big three — a tenth of Claude Haiku 4.5 ($2). At the very top, GPT-6 Astra and Claude Fable 5.1 are priced identically at $10 / $50. The matchup table below compares all three, tier by tier.

Does the OpenAI API have a free tier?

No — API usage is pay-as-you-go from the first token (new accounts occasionally get trial credits). A ChatGPT Plus or Pro subscription is a separate product and includes no API allowance.

HOW OPENAI STACKS UP

GPT vs. its closest rivals, tier by tier

BLENDED $/1M · 3:1 IN:OUT
TOP CAPABILITY
GPT-6 Astra
$20.00/1M
Claude Fable 5.1
$20.00/1M
Gemini 3.1 Pro
$4.50/1M
COMPARE
FLAGSHIP
GPT-6 Sol
$4.00/1M
Claude Opus 5.5
$8.00/1M
Gemini 3.1 Pro
$4.50/1M
COMPARE
SMALL / FAST
GPT-6 Luna
$0.20/1M
Claude Haiku 4.5
$2.00/1M
Gemini 3.5 Flash-Lite
$0.85/1M
COMPARE

Also see: Claude API pricing · Gemini API pricing · Grok API pricing · DeepSeek API pricing · Kimi API pricing · GLM API pricing · MiniMax API pricing · MiMo API pricing · all 68 models

BUILDING ON THE OPENAI API?

Your users will spend these tokens. Meter them per API key.

ReqKey gives every key a credit balance — validate, deduct, enforce limits, and watch per-consumer GPT spend in real time.