GPT-5
GPT-5 API rates are $1.25 per million input tokens and $10 per million output tokens.
- Provider
- OpenAI
- API model name
- gpt-5
- Status
- Deprecated
- Input, $ per 1M tokens
- $1.25
- Cached input, $ per 1M tokens
- $0.125
- Output, $ per 1M tokens
- $10.00
- Sample request (10K in, 2K out), $
- $0.0325
- Context window, tokens
- 400K
- Price checked on
- Official pricing page
- developers.openai.com
These are standard rates on OpenAI’s own API. Cached input is billed at $0.125 per million tokens. A request with 10,000 input tokens and 2,000 output tokens costs about $0.033 before caching or batch discounts. The API model name is gpt-5, and the context window is 400K tokens. OpenAI’s current GPT-6 Sol runs the same request for about $0.04.
- Max output, tokens
- 128K
- Input types
- Text, image, file
- Open weights
- No
- Pricing notes
- OpenAI deprecated the gpt-5-2025-08-07 snapshot on June 11, 2026 and will shut it down on December 11, 2026. The recommended replacement is gpt-5.6-sol.
- Sources
Page URL Checked OpenAI API pricing https://developers.openai.com/api/docs/pricing 2026-10-21 OpenAI GPT-5 model page (prices) https://developers.openai.com/api/docs/models/gpt-5 2026-09-30 OpenAI deprecations https://developers.openai.com/api/docs/deprecations 2026-09-30 OpenRouter model listing (context and output limits) https://openrouter.ai/models 2026-09-29
Questions
How much does the GPT-5 API cost?
What is the API model name for GPT-5?
gpt-5 in API calls to OpenAI. The context window is 400K tokens, and a response can run to 128,000 output tokens.What does one GPT-5 request cost?
Is GPT-5 still available?
Sources
Prices are read from each provider’s official pricing page: OpenAI, Anthropic, Google Gemini API, xAI, DeepSeek and Mistral AI. Context and output limits that a provider does not publish come from OpenRouter’s model listing. Each model’s Sources field lists the pages used and the date each was checked. How we check prices · Price change log
