OpenAI

GPT-5 Pricing

API pricing for GPT-5 by OpenAI. Input tokens cost $1.25/1M, output tokens cost $10/1M with 400K context window.

Last updated:

ReasoningToolsVision

Input Cost

$1.25

per 1M tokens

Output Cost

$10

per 1M tokens

Context Window

400K

tokens

Cost Calculator

Estimated Cost:

$0.00

Model Details

Provider OpenAI
Model ID gpt-5
Context Window 400K tokens
Max Output 128000 tokens
Cache Read Cost $0.13/1M
Release Date 2025-08-07

Compare Alternatives

Model Input Output Context
GPT-5 (this model) $1.25 $10 400K
Gemini 2.5 Pro Google $1.25 $10 1M
Gemini 2.5 Pro Preview 05-06 Google $1.25 $10 1M
Gemini 2.5 Pro Preview 06-05 Google $1.25 $10 1M
GPT-5 Chat (latest) OpenAI $1.25 $10 400K
GPT-5-Codex OpenAI $1.25 $10 400K

Available from Resellers

GPT-5 is also available through these resellers and gateways:

Reseller Model Input Output
Abacus GPT-5 $1.25 $10
Abacus GPT-5 Mini $0.25 $2
Abacus GPT-5 Nano $0.05 $0.4
Abacus GPT-5.1 $1.25 $10
Abacus GPT-5.1 Chat Latest $1.25 $10
Abacus GPT-5.2 $1.75 $14
AIHubMix GPT-5 $5 $20
AIHubMix GPT-5-Codex $1.25 $10
AIHubMix GPT-5-Mini $1.5 $6
AIHubMix GPT-5-Nano $0.5 $2
← Back to All Models