GPT-5 pricing & specs

OpenAI · released 2025-08-07 · ● verified 2026-11-29 · deprecated

This model is deprecated. Cheapest compatible replacement: Qwen3.7 Flash.

input / 1M$1.25
output / 1M$10.00
context400K
max output128K

GPT-5 is an OpenAI model released on 2025-08-07. At $1.25 per million input tokens and $10.00 per million output tokens, its blended price of $3.4375 per 1M tokens is lower than 24% of the 178 models we track. It offers text and image input, a 400K-token context window, built-in reasoning, tool calling and structured output.

// price history ($/1M tokens)

$11.50
input $/1Moutput $/1M2025-08-07 → 2026-11-29

Tracks the selected provider’s quote, which may change providers over time.

// cheaper or similar alternatives

modelinoutctxvs GPT-5
Qwen3.7 Flash$0.03$0.131M−98.4%
Qwen3.5 9B$0.10$0.15262.1K−96.7%
Gemma 4 26B A4B IT$0.07$0.34262.1K−96%
Gemma 4 31B IT$0.09$0.34262.1K−95.6%
Qwen3.5 Flash$0.10$0.401M−94.9%

// embed this price badge

Show the live price of GPT-5 in your README or docs (updated daily):

GPT-5 API price badge
[![GPT-5 price](https://aisignals.dev/badge/openai/gpt-5.svg)](https://aisignals.dev/models/openai/gpt-5)

// faq

How much does GPT-5 cost?

GPT-5 costs $1.25 per million input tokens and $10.00 per million output tokens. At 50M input and 10M output tokens per month that is about $163.

What is the context window of GPT-5?

400K tokens, with up to 128K output tokens per request.

Does GPT-5 support prompt caching?

Yes. Cached input tokens cost $0.125 per million.

What are cheaper alternatives to GPT-5?

Qwen3.7 Flash ($0.03 in / $0.13 out), Qwen3.5 9B ($0.10 in / $0.15 out), Gemma 4 26B A4B IT ($0.07 in / $0.34 out) offer the same input types and capabilities for less.

// spec sheet

input / 1M
$1.25
output / 1M
$10.00
cache read / 1M
$0.125
blended (3:1)
$3.4375
context
400K
max output
128K
input types
text · image
reasoning
yes
tool calling
yes
structured output
yes
open weights
no
knowledge cutoff
2024-09-30
price source
OpenAI

report a data error

// cost calculator

modelin $/1Mout $/1M= monthly
Qwen3.7 Flash$0.03$0.13$2.80
Qwen3.5 9B$0.10$0.15$6.50
Gemma 4 26B A4B IT$0.07$0.34$6.90
GPT-5$1.25$10.00$163

Base-tier list prices. Long-context tiers, caching and batch discounts are not included.