OpenAI

GPT-5

$1.25 per 1M input tokens and $10.00 per 1M output tokens · 400K context · vision, tools, reasoning, JSON.

Prices checked Dec 6, 2026 · tracked by LLM Cost Index since Oct 21, 2026

Scheduled for retirement on 2026-12-11. Plan a replacement — for example GPT-6.1 Terra, or see the cheaper alternatives below.
$1.25
input / 1M tokens
$10.00
output / 1M tokens
$0.125
cached input / 1M
400K
context window
128K
max output

Cheaper ways to run the same model: GPT-5 (batch) at $0.625 / $5.00 — same model, different service (e.g. batch processing with a delay).

What GPT-5 costs per month

Estimated monthly bill for typical workloads, using the cached-input price for repeated context. Try your own numbers in the cost calculator.

WorkloadPer month
Customer chatbot
1,000 conversations a day, 8 turns each
$1,047
Document Q&A (RAG)
500 questions a day over retrieved documents
$177
Coding / tool-using agent
200 tasks a day, long tool-heavy contexts
$386
Content generation
30 long articles a day
$25.88
Classification / extraction
100,000 short items a day
$1,575

Price history

No input price change since Oct 21, 2026. See all recent price changes.

Where to run GPT-5: 2 providers

Azure is the cheapest at $1.25 input / $10.00 output per 1M tokens. Uptime is the average over the last 30 days as reported by OpenRouter; see provider reliability.

ProviderInput / 1MOutput / 1MContextUptimeNotes
Azure$1.25$10.00400K99.9% —
OpenAI$1.25$10.00400K99.9% —

Cheaper alternatives to GPT-5

Models with the same tool calling, image input, structured output for at least 20% less (3:1 input/output mix), most capable first.

Cheaper alternatives to GPT-5
Model Input / 1M Output / 1M Context Capabilities
GPT-6.1 Terra
OpenAI
$1.00 $5.00 1.05M visiontoolsreasoningJSON
MiniMax M4
MiniMax
$0.80 $3.10 1M visiontoolsreasoningJSON
Kimi K3.1 Pro
Moonshot AI
$0.253 $8.10 1.05M visiontoolsreasoningJSONopen weights
Qwen4 Max
Qwen
$1.43 $4.28 1M visiontoolsreasoningJSON
GLM 5.4
Z.ai
$1.40 $4.40 1.05M visiontoolsreasoningJSONopen weights

What to switch to before GPT-5 is retired

Replacements with the same must-have capabilities (tool calling, image input) and enough context, most capable first. See all models being retired.

ReplacementInput / 1MOutput / 1MPrice vs today
Claude Fable 5.2$8.00$40.00 365% more
Gemini 4 Neon$3.00$15.00 75% more
GPT-6.2 Astra$8.00$40.00 365% more
Gemini 4 Carbon$4.00$20.00 133% more

How to pay less for GPT-5

For a customer chatbot (1,000 conversations a day, 8 turns each) that costs $1,290 a month at list price without caching:

OptionPer monthYou save
Move to GPT-6.1 Terra (similar capabilities)$575$715 (55%)
Switch to GPT-5 (batch)$645$645 (50%)
Use prompt caching (60% of input cached)$1,047$243 (19%)

Other workloads: cut-your-bill tool for GPT-5.

Specifications

Model IDopenai/gpt-5
Inputtext, image, file
Outputtext
Tool callingYes
Structured outputYes
Reasoning modeYes
Open weightsNo
Knowledge cutoff2024-09-30
ReleasedAug 7, 2025
Web search$0.01 per request

FAQ

How much does GPT-5 cost?
$1.25 per million input tokens and $10.00 per million output tokens; cached input costs $0.125 per million. Prices as of Dec 6, 2026.
What is the context window of GPT-5?
400K tokens, with up to 128K output tokens per response.
Does GPT-5 support images, tools and structured output?
Images as input: yes. Tool calling: yes. Structured (JSON) output: yes. Reasoning mode: yes.
What are cheaper alternatives to GPT-5?
Models with the same key capabilities for at least 20% less include GPT-6.1 Terra ($1.00 / $5.00), MiniMax M4 ($0.80 / $3.10), Kimi K3.1 Pro ($0.253 / $8.10).

More from OpenAI: all OpenAI models · how we collect prices