GPT-5

Provider: OpenAI US Official API price

Scheduled for retirement on 2026-12-11.
Input price
$1.25
/ 1M tokens
Output price
$10.00
/ 1M tokens
Cache price
$0.13
/ 1M tokens (read)
Batch API
$0.63 / $5.00
input / output per 1M tokens
Context
400K tokens
Max output 128K tokens

Overview

GPT-5 is OpenAI's flagship model, designed for advanced reasoning tasks and demanding multimodal applications. It offers a massive context window and robust capabilities for understanding and generating complex content across various data types.

Strengths

  • Processes and understands very large volumes of input data with its 400,000 token context window.
  • Exceptional capacity for deep reasoning and complex problem-solving based on its 'thinking' capability.
  • Generates extensive responses, supporting outputs up to 128,000 tokens for detailed applications.
  • Handles visual inputs effectively through its integrated vision capabilities.
  • Streamlines application integration with reliable function-calling and strict JSON mode support.

Best use cases

  • Advanced content generation requiring extensive context and detailed, nuanced outputs.
  • Complex data analysis and summarization across large documents, reports, or codebases.
  • Multimodal applications that need to interpret images and generate sophisticated responses.
  • Automating sophisticated workflows and tool use via reliable function calling.
  • Developing intelligent agents that require deep reasoning for intricate decision-making processes.

Pricing position

GPT-5 is positioned as OpenAI's premium offering, significantly more expensive than its 'Nano' and 'Mini' siblings like GPT-5 Nano ($0.05/M input, $0.4/M output) or GPT-5 Mini ($0.25/M input, $2/M output). Its input price of $1.25/M and output price of $10/M directly align with Gemini 2.5 Pro models, placing it at the top tier for pricing, though its output cost is notably higher than Grok 4.x models ($2.5/M output).

Caveats

This model does not offer a free tier, meaning all usage incurs costs immediately. For tasks not requiring its extensive context, vision, or deep reasoning capabilities, OpenAI's more cost-optimized models such as GPT-5 Nano or GPT-5 Mini could provide significantly cheaper alternatives. Its high price point makes it less suitable for high-volume, low-value interactions where cost efficiency is paramount.

Notes drafted by an LLM from the figures on this page (2026-05-21) and rewritten when the price changes.

Key facts

Price basis
Official API price
Max output
128K tokens
Knowledge cutoff
2024-09-30
Listed on OpenRouter
2025-08-07
Tracked since
2026-05-07
Last updated
2026-11-12

Features

Image inputFunction callingJSON outputReasoning

Monthly cost estimate

Scale Input (M) Output (M) Monthly
0.1M (hobby) 0.1 0.05 $0.63
1M (small app) 1 0.5 $6.25
10M (mid scale) 10 5 $62.50
100M (large) 100 50 $625.00

※ Cache and batch discounts not factored in. Detailed calculator

Official resources

Other models from OpenAI

Similar-priced models

Source: OpenRouter API (openai/gpt-5)