Pricing Guide · OpenAI

GPT-5 API Pricing

Detailed token costs, context window limits, benchmark performance, and caching structures for GPT-5.

Last reviewed: June 6, 2026 Sourced from official docs

GPT-5 Cost Breakdown

Dimension Value / Cost
Input Tokens Cost / 1M$1.250
Output Tokens Cost / 1M$10.000
Cached Input Tokens Cost / 1M
Max Context Window400,000 tokens
SWE-bench Verified Score74.9%
GPQA Diamond Score

Best suited for:

  • Production workhorse at a rational price
  • \n
  • Breadth tasks
  • \n
  • Coding agents
  • \n
  • The everyday OpenAI pick

← Back to all pricing guides