$T TokenCostDB
Verified: 2026-11-30 Direct Official Pricing Provider: OpenAI

OpenAI: GPT-5 API Pricing & Monthly Cost Calculator

OpenAI: GPT-5 by OpenAI is priced at $1.25 per 1M input tokens and $10.00 per 1M output tokens with a 400K context window. Prompt caching reduces repeated prefix reads to $0.125/1M (90% savings). Batch API lowers rates to $0.625 in / $5.00 out.

Deprecation Notice: Scheduled deprecation date 2026-12-11 · Recommended successor: gpt-6.1-sol.
Standard Input / 1M
$1.25
Standard Output / 1M
$10.00
Cache Read / Write
$0.125 / —
Context / Max Output
400K / 128K

Direct Official vs. OpenRouter Gateway

Comparing direct vendor pricing against multi-provider OpenRouter routing for openai/gpt-5.

Channel Input / 1M Output / 1M Cache Read
Direct Official $1.25 $10.00 $0.125
OpenRouter Gateway $1.25 $10.00 $0.125
Gateway vs direct output spread: 0% Primary Pricing Source →

1M to 1B Token Cost Tiers

Reference monthly spend assuming a standard 75% input / 25% output workload mix.

Monthly Volume Standard 75% Cached Batch API
1M tokens $3.44 $2.80 $1.72
10M tokens $34.38 $28.05 $17.19
100M tokens $343.75 $280.47 $171.88
1B tokens $3,438 $2,805 $1,719

Interactive OpenAI: GPT-5 Bill Estimator

Adjust request volume, tokens, and prompt cache hit ratio.

Estimated Monthly Total
$636.00
Cache Hit %60%
Input: $120.00Cache Read: $18.00Output: $480.00Per 1K reqs: $10.60

Closest Price-Tier Alternatives

Model Input / 1M Output / 1M Context
Google: Gemini 2.5 Pro $1.25 $10.00 1.05M
Google: Gemini 2.5 Pro Preview 06-05 $1.25 $10.00 1.05M
OpenAI: GPT-5.1 $1.25 $10.00 400K
OpenAI: GPT-5.1-Codex-Max $1.25 $10.00 400K
OpenAI: GPT-5.1-Codex $1.25 $10.00 400K
OpenAI: GPT-6.2 Sol $2.00 $10.00 1.05M

Optimize Inference & Self-Hosting

Compare OpenAI: GPT-5 against flagship models from OpenAI, Anthropic, Google, and DeepSeek in our interactive comparison matrix, or benchmark self-hosted GPU break-even thresholds.

Model Specifications & FAQs

GPT-5 is OpenAI’s most advanced model, offering major improvements in reasoning, code quality, and user experience. It is optimized for complex tasks that require step-by-step reasoning, instruction following, and accuracy...

How much does OpenAI: GPT-5 API cost per 1M tokens?

OpenAI: GPT-5 costs $1.25 per 1M input tokens and $10.00 per 1M output tokens (official direct provider rate), verified on 2026-11-30.

Does OpenAI: GPT-5 support prompt caching or batch discounts?

Yes, cached input reads cost $0.125 per 1M tokens (90% off standard input). Batch API reduces rates to $0.625 input and $5.00 output per 1M tokens.

What is the context window and max output for OpenAI: GPT-5?

OpenAI: GPT-5 supports a 400,000-token context window and up to 128,000 output tokens per completion.