GPT-5 API pricing: OpenAI's production default

GPT-5 at $1.25/1M input is where most OpenAI-stack teams land for production. It covers the vast majority of use cases at a rational price with the deepest third-party tooling ecosystem in the market.

By the benchr team · · Figures verified against official sources, June 6, 2026 · View changelog

Input / 1MOpenAI · Aug 2025
Output / 1MOpenAI
SWE-benchofficial
Contextmax context window

Pricing breakdown

gpt-5 — official provider pricing
TierRate / 1M tokens
Standard input$1.250
Standard output$10.000
Context window400,000 tokens
Max output128,000 tokens

The 400K context ceiling

GPT-5's 400K limit is below the current 1M standard set by Claude, DeepSeek, and Gemini. For most workloads this doesn't matter. Where it does: analyzing full large repositories, processing entire legal contracts, or running extended agent conversations without truncation. If you're regularly approaching 300K tokens of context, the limit is a functional constraint.

No published caching rate

Unlike Anthropic (90% off), Google (90% off), and DeepSeek (~99% off), OpenAI doesn't publish a cached input discount for GPT-5. This is an important consideration for agentic workloads with large repeated system prompts — with no caching benefit, you pay full input rate on every call.

Where GPT-5 excels

General-purpose text tasks — writing, summarization, Q&A, analysis — are GPT-5's strongest ground. Its training data breadth and instruction-following quality are consistent. Coding is competent (74.9% SWE-bench); not best-in-class but reliable for assisted development where a developer reviews outputs.

Cost scenarios

At 10M input tokens + 3M output tokens per month: $12.50 input + $30 output = $42.50/month. At 100M + 30M: $425/month. These are significantly lower than Claude Sonnet ($540/month) or GPT-5.5 ($1,250/month) at the same volume, which is why most teams default here.

Use-case fit

Best for: Production workhorse at a rational price; Breadth tasks; Coding agents; The everyday OpenAI pick.

Skip if: You need the absolute deepest reasoning — use 5.5; Very large context windows.

At $1.25/1M input and $10/1M output, GPT-5 should be judged on total task cost rather than headline input price alone. Long prompts, retries, and output-heavy generations can make output pricing dominate the bill. Its 400,000-token context limit is useful only if retrieval quality and latency remain acceptable on your own documents. For coding-heavy evaluation, compare the 74.9% SWE-bench figure against your expected human-review cost.

Decision checklist

Before routing production traffic to GPT-5, run a small evaluation that matches the workload you actually pay for: prompt length, expected output length, cache reuse, retry behavior, and human-review rate. A public benchmark is a useful signal, but it does not tell you whether this model is cheaper for your own calls.

Benchmark it against one cheaper option and one stronger option; this tier is where routing rules usually save more money than choosing a single default. For OpenAI specifically, verify the live model ID, rate limits, and any regional availability constraints before treating the published token price as the final production cost.

The main operational check for this page: output-heavy workloads can cost far more than the input headline suggests.

Frequently asked

How does GPT-5 compare to DeepSeek V4-Pro on coding?

DeepSeek V4-Pro scores 80.6% on SWE-bench vs GPT-5's 74.9%, and costs $0.435/1M input vs $1.25. On pure benchmark-per-dollar, DeepSeek V4-Pro wins clearly. Choose GPT-5 for OpenAI ecosystem integration, enterprise SLAs, and US-based infrastructure — not for benchmark superiority.

Does GPT-5 support function calling and JSON mode?

Yes. GPT-5 supports function calling (tool use), structured outputs with JSON schemas, system prompts, streaming, and the full OpenAI chat completions API feature set. It's the most ecosystem-integrated model in the OpenAI lineup.

Changelog

  • — Published. Pricing verified at platform.openai.com/docs/pricing.

Sources

  • OpenAI Platform pricing — platform.openai.com/docs/pricing (verified June 3, 2026)
  • benchr model-figures.json — verified June 3, 2026