OpenAI API pricing: per-token rates by model

Pay-per-token access to OpenAI's GPT models, for apps and agents you build yourself.

OpenAI API rates per 1M tokens

No plan or monthly fee: each request is billed at its model's rates. Your bill depends on how many tokens your prompts and answers use, so this page shows the rates and no monthly total.

OpenAI API list prices per 1M tokens, by model
ModelInputCached inputCache writeOutput
gpt-6-astra$10.00$1.00$12.50 (30 min)$25.00 (12 h)$50.00
gpt-6.1-sol$2.00$0.10$2.50 (30 min)$5.00 (12 h)$10.00
gpt-6-luna$0.10$0.01$0.125 (30 min)$0.25 (12 h)$0.50

USD per 1M tokens. Standard processing, prompts up to 272K input tokens. Cache write is the price of storing input in the prompt cache for the stated lifetime.

How OpenAI API counts tokens

Hidden billing gotchas

  • No subscription: you prepay credits ($5 minimum, $10 by default). Auto-reload is on by default, and credits expire after 1 year with no refund.
  • Usage tiers are spend caps, not plans. They rise with the credits you have bought: $500/mo after $5, $5,000/mo after $100 and $200,000/mo after $500.
  • Reasoning tokens bill as output tokens.
  • Batch and Flex processing cost 50% less than the rates shown; Fast processing costs twice as much.
  • Regional data residency adds 10% for models released on or after March 5, 2026.
  • Prompts over 272K input tokens bill at higher long-context rates, which this page doesn't list.
  • Built-in tools bill on top of tokens: web search $10 per 1k calls; file search $2.50 per 1k calls, plus $0.10 per GB per day of storage after the first 1 GB.

Compare per-token rates