OpenAI API Pricing (2026)

OpenAI · usage based · free tier available

Last verified 4/21/2026 · 90% confidence · Source

GPT-4o mini

$0.15/1M input tokens/mo
$0.15/1M input tokens/mo (billed yearly)
  • Output cost per 1M tokens: 0.6 USD
  • Context window: 128000 tokens
  • Batch API (50% discount)

GPT-4o

$2.5/1M input tokens/mo
$2.5/1M input tokens/mo (billed yearly)
  • Output cost per 1M tokens: 10 USD
  • Context window: 128000 tokens

o1

$15/1M input tokens/mo
$15/1M input tokens/mo (billed yearly)
  • Output cost per 1M tokens: 60 USD
  • Advanced reasoning

Get this data via API

No signup required for up to 20 queries/day. Sign up free for 100 queries/month, or pay as you scale.

curl "https://api.getthepriceof.com/v1/pricing?product=openai"
View API docsGet free API key

Frequently Asked Questions

How much does OpenAI API cost?

OpenAI API offers 3 pricing plans including a free tier. Paid plans start at $0.15/1M input tokens.

Does OpenAI API have a free plan?

Yes, OpenAI API offers a free tier.

What pricing model does OpenAI API use?

OpenAI API uses usage based pricing.