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.125/1M
Release Date 2025-08-07

Compare Alternatives

ModelInputOutputContext
GPT-5 (this model)$1.25$10400K
Gemini 2.5 Computer Use Preview 10-2025 Google$1.25$10131K
Gemini 2.5 Pro Google$1.25$101M
GPT-5.1 OpenAI$1.25$10400K
Qwen2.5-VL 72B Instruct Alibaba$2.8$8.4131K
Step 1 (32K) StepFun (China)$2.05$9.5933K

Available from Resellers

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

ResellerModelInputOutput
302.AIgpt-5$1.25$10
302.AIgpt-5-mini$0.25$2
302.AIgpt-5-pro$15$120
302.AIgpt-5-thinking$1.25$10
302.AIgpt-5.1$1.25$10
302.AIgpt-5.1-chat-latest$1.25$10
302.AIgpt-5.2$1.75$14
302.AIgpt-5.2-chat-latest$1.75$14
302.AIgpt-5.4$2.5$15
302.AIgpt-5.4-mini$0.75$4.5
← Back to All Models