Key takeaways
- GPT-5 is listed at $1.25 per 1M input tokens and $10.00 per 1M output tokens, with standard release entry recorded on 2025-08-07.
- Cached input tokens cost $0.125 per 1M tokens, offering a 90 percent discount over standard input rates for prompt-heavy architectures.
- GPT-5 undercuts GPT-5.6 Terra and GPT-5.6 Terra Pro, which both charge $2.00 input and $12.00 output per 1M tokens.
- GPT-5 output pricing sits 166.7 percent above the $3.75 per 1M token median output rate recorded across 36 current models.
- For context windows exceeding 400k tokens, DeepSeek V4 Flash 0731 leads the current dataset at 1311k tokens with rates of $0.06 input and $0.12 output per 1M tokens.
What does GPT-5 cost to run in production?
On 2025-08-07, OpenAI listed GPT-5 in its catalog at $1.25 per 1M input tokens and $10.00 per 1M output tokens. The initial gpt-5 pricing structure establishes a standard cost profile for enterprise workloads requiring advanced reasoning, high-volume coding, long context processing, and open weights capabilities.
The model features a context window of 400k tokens and supports a maximum output of 128k tokens per request. For applications with static instructions, long system prompts, or repeated context retrieval, OpenAI offers cached input at $0.125 per 1M tokens, which is 90 percent below standard input rates.
To understand what this means for a production system, consider a application processing 50 million standard input tokens and 10 million output tokens per month. At standard rates, input costs $62.50 (50 multiplied by $1.25) and output costs $100.00 (10 multiplied by $10.00), resulting in a baseline bill of $162.50 per month. If prompt engineering allows 40 million of those input tokens to hit the cache, input expenses drop to $20.00 (10 million standard input tokens at $12.50 plus 40 million cached input tokens at $5.00). This reduces total monthly model spending from $162.50 to $120.00, illustrating how cached input lowers operational overhead.
- Standard input rate: $1.25 per 1M tokens
- Standard output rate: $10.00 per 1M tokens
- Cached input rate: $0.125 per 1M tokens (90 percent discount)
- Context limit: 400k input tokens; maximum output generation: 128k tokens
How does the gpt-5 api cost compare to OpenAI alternatives?
The gpt-5 api cost delivers a discount compared to older premium variants within the provider lineup. Specifically, GPT-5 is cheaper to operate than both GPT-5.6 Terra and GPT-5.6 Terra Pro, which are listed at $2.00 per 1M input tokens and $12.00 per 1M output tokens.
Choosing GPT-5 over GPT-5.6 Terra Pro reduces input token costs by 37.5 percent and output token costs by 16.7 percent. For engineering teams maintaining pipelines on the Terra tier, migrating workloads to standard GPT-5 yields direct unit savings without sacrificing model scope.
Running a monthly production workload of 100 million input tokens and 20 million output tokens on GPT-5.6 Terra costs $200.00 for input and $240.00 for output, totaling $440.00. Moving that identical volume to GPT-5 drops input expenses to $125.00 and output expenses to $200.00, cutting the total cost to $325.00 per month. Over an annual budget cycle, that single tier adjustment saves $1,380.00 on a moderate inference setup.
- GPT-5 input: $1.25 per 1M tokens vs GPT-5.6 Terra input: $2.00 per 1M tokens (37.5% saving)
- GPT-5 output: $10.00 per 1M tokens vs GPT-5.6 Terra Pro output: $12.00 per 1M tokens (16.7% saving)
- GPT-5.6 Terra Pro and GPT-5.6 Terra carry identical list rates ($2.00 input, $12.00 output)
| Model Name | Provider | Input / 1M | Cached Input / 1M | Output / 1M | Context Window |
|---|---|---|---|---|---|
| GPT-5 | OpenAI | $1.25 | $0.125 | $10.00 | 400k |
| GPT-5.6 Terra | OpenAI | $2.00 | N/A | $12.00 | Unspecified |
| GPT-5.6 Terra Pro | OpenAI | $2.00 | N/A | $12.00 | Unspecified |
| Nemotron 3.5 Lightning | NVIDIA | $0.08 | N/A | $0.20 | Unspecified |
| DeepSeek V4 Flash 0731 | DeepSeek | $0.06 | N/A | $0.12 | 1311k |
| Qwen3.7 Flash | Qwen | $0.03 | N/A | $0.13 | Unspecified |
How does gpt-5 pricing stack up against high-speed Flash competitors?
Evaluating gpt-5 pricing against lightweight third-party options reveals a substantial price gap between top-tier frontier models and high-speed flash alternatives. The median output rate across 36 tracked current models in our intelligence database sits at $3.75 per 1M tokens. At $10.00 per 1M output tokens, GPT-5 commands a rate 166.7 percent higher than the market median.
Low-cost alternatives operate at fractions of a cent per request. DeepSeek V4 Flash 0731 by DeepSeek charges $0.06 per 1M input tokens and $0.12 per 1M output tokens. Qwen3.7 Flash by Qwen lists at $0.03 input and $0.13 output per 1M tokens. Nemotron 3.5 Lightning by NVIDIA enters the feed at $0.08 input and $0.20 output per 1M tokens.
Direct gpt-5 vs flash model math demonstrates the divergence in output unit rates. Generating 50 million output tokens on GPT-5 costs $500.00. Running that same 50 million output volume on DeepSeek V4 Flash 0731 costs $6.00, while Qwen3.7 Flash costs $6.50 and Nemotron 3.5 Lightning costs $10.00. High-frequency classification, simple parsing, and low-latency agent routing are difficult to justify on GPT-5 when alternative flash models perform simple text operations at less than two percent of its price.
- GPT-5 output: $10.00 per 1M tokens (166.7% above the $3.75 market median)
- DeepSeek V4 Flash 0731: $0.06 input, $0.12 output per 1M tokens
- Qwen3.7 Flash: $0.03 input, $0.13 output per 1M tokens
- Nemotron 3.5 Lightning: $0.08 input, $0.20 output per 1M tokens
Which production workloads justify the $10 output token rate?
Workloads demanding multi-step reasoning, complex coding, and specialized open weights implementation justify the $10.00 output rate of GPT-5. When application success depends on dense code synthesis or exact logical deduction, high cost per 1m tokens is offset by avoiding costly execution errors or manual code correction.
The model carries explicit dataset tags for Reasoning, Coding, Long context, and Open weights. For automated software development pipelines, spending $10.00 per 1M output tokens to generate functional refactored modules remains efficient if cheaper alternatives produce broken syntax that breaks continuous integration builds.
However, using GPT-5 for high-volume conversational chatter, raw document extraction, or straightforward data formatting is an inefficient use of engineering budget. If a task does not require deep reasoning or advanced code generation, paying $10.00 per 1M output tokens creates unnecessary infrastructure overhead compared to mid-tier or flash models.
- Justified: Multi-step software generation and autonomous agent code execution
- Justified: Complex mathematical reasoning and rule-based decision trees
- Not justified: Simple document summarization and chat interfaces
- Not justified: Large-scale text extraction and intent classification
When should engineering teams bypass GPT-5 for cheaper inference?
Engineering teams should bypass GPT-5 when processing simple batch transformations or context windows that exceed 400k tokens. While GPT-5 provides a broad 400k context window, specialized models offer much larger context capacities at lower unit prices.
For example, DeepSeek V4 Flash 0731 holds the widest context in the current dataset at 1311k tokens. At $0.06 per 1M input tokens, analyzing a massive 1-million-token technical repository on DeepSeek costs $0.06 per pass, whereas fitting a 400k prompt onto standard GPT-5 costs $0.50 per request.
If your application architecture requires continuous scanning of entire codebases, legal archives, or telemetry feeds, long-context flash options avoid both the 400k token ceiling of GPT-5 and its higher cost base. Reserving GPT-5 strictly for final reasoning steps while routing initial retrieval tasks through low-cost models optimizes total cost per query.
- Bypass GPT-5 when input lengths exceed its 400k token limit
- Use DeepSeek V4 Flash 0731 for extra-long contexts up to 1311k tokens
- Reroute basic extraction to Qwen3.7 Flash ($0.03 input per 1M tokens)
- Reserve GPT-5 for final synthetic reasoning steps rather than raw ingestion
How prompt caching changes the production economics of GPT-5
Prompt caching significantly alters the overall cost structure of OpenAI api pricing for GPT-5. By charging $0.125 per 1M cached input tokens compared to the standard $1.25 rate, systems with heavy prompt re-use realize an effective 90 percent input discount.
For a long-context application that passes 300,000 system instructions and documentation tokens with every user query, standard input costs add up quickly. Ten thousand un-cached queries would ingest 3 billion input tokens, costing $3,750.00. With prompt caching active, those same 3 billion input tokens cost $375.00, delivering a net saving of $3,375.00.
Engineering teams structuring production architectures on GPT-5 must design system prompts to maximize cache hits. Keeping static system guidelines at the beginning of the prompt context allows applications to execute complex reasoning while maintaining input expenses near lightweight model pricing tiers.
- Standard input rate: $1.25 per 1M tokens
- Cached input rate: $0.125 per 1M tokens
- Caching savings: Exactly 90 percent on reused input tokens
- Output token rates remain fixed at $10.00 per 1M tokens regardless of cache status
Frequently asked questions
- What is the official API pricing for GPT-5?
- GPT-5 is listed at $1.25 per 1M input tokens and $10.00 per 1M output tokens. Cached input tokens receive a 90 percent discount, costing $0.125 per 1M tokens. The model features a 400k token context window and maximum output generation of 128k tokens.
- How does GPT-5 pricing compare to GPT-5.6 Terra?
- GPT-5 is less expensive than GPT-5.6 Terra and GPT-5.6 Terra Pro, which both charge $2.00 per 1M input tokens and $12.00 per 1M output tokens. Moving to GPT-5 saves 37.5 percent on input tokens and 16.7 percent on output tokens.
- How does prompt caching lower the cost of running GPT-5?
- Prompt caching reduces the cost of reused input tokens from $1.25 to $0.125 per 1M tokens. For prompt-heavy applications that reuse system instructions or static documentation across API requests, caching cuts input token spending by exactly 90 percent.
- What is the cheapest alternative to GPT-5 for high-volume output?
- For low-cost inference, Qwen3.7 Flash charges $0.03 input and $0.13 output per 1M tokens, while DeepSeek V4 Flash 0731 charges $0.06 input and $0.12 output per 1M tokens. Both options operate far below the $10.00 output rate of GPT-5.
- Which model offers the largest context window compared to GPT-5?
- DeepSeek V4 Flash 0731 provides the widest context window in our database at 1311k tokens, compared to the 400k context window of GPT-5. It also operates at lower rates of $0.06 input and $0.12 output per 1M tokens.
About the author
AIOPLY Pricing Desk
Independent AI cost research, verified against live provider rates
How we workQuality standards
Prices were checked against provider documentation on Aug 29, 2026. Rates change without notice, so confirm current figures with the provider before committing a budget. We publish list prices only and take no payment for placement.
Report a correctionSources and further reading
More from the blog
Pricing updates
Grok API Pricing Explained: What xAI Models Actually Cost to RunA working breakdown of Grok API pricing per million tokens, including cached input, long-context billing, tool calls, and how to forecast a monthly bill.
Pricing updates
Claude Opus API Pricing: How Anthropic Bills Its Most Capable ModelA working breakdown of Claude Opus API pricing per million tokens, including cached input, batch discounts, extended thinking, and how to forecast a monthly Anthropic bill.
Comparisons
Grok vs Claude: API Pricing, Cost per Task and When Each One WinsA cost-first comparison of Grok and Claude API pricing, with worked examples, break-even token volumes, and clear guidance on which model fits which workload.
