GPT-5

reasoningdeprecatedproprietary

Status: Deprecated · Succeeded by gpt-5.6-sol

Intelligence
Reasoning
Speed
Context
400K
Max output
128K
Input price
$1.25/1M tokens
Output price
$10/1M tokens
Snapshots

Capabilities

Reasoning & Interaction
Reasoning
Tool Calling
Output Control
Structured Output
JSON Mode
Infrastructure
Streaming
Batch Processing

Details

Provider OpenAI
Creator openai
Familygpt-5
Licenseproprietary
Statusdeprecated
Typereasoning
Input modalitiestext, image
Output modalitiestext
Open weightNo
Parameters—
Architecture—
Context window400K tokens
Max input272K tokens
Max output128K tokens
Reasoning tokensYes
Knowledge cutoff
Release date
Deprecation date
Retirement date
Successorgpt-5.6-sol
Sourceofficial

Tools

Function Callingfunction_calling
Call external functions and APIs
Web Searchweb_search
Search the web for information
File Searchfile_search
Search across uploaded files
Image Generationimage_generation
Generate images inline
Code Interpretercode_interpreter
Execute code in a sandbox
MCPmcp
Connect to Model Context Protocol servers

Endpoints

Chat CompletionsPOST
Generate chat responses with messageshttps://api.openai.com/v1/chat/completions
ResponsesPOST
Stateful multi-turn conversationshttps://api.openai.com/v1/responses
BatchPOST
Async batch processing at lower costhttps://api.openai.com/v1/batches

Pricing

Text tokensPer 1M tokens
InputCached inputOutput
Standard$1.25$0.125$10

Family Comparison: gpt-5

ModelContextMax outPricing
GPT-5 nano400K128K$0.05$0.4
GPT-5 Mini400K128K$0.25$2
GPT-5 Chat128K16K$1.25$10
GPT-5-Codex400K128K$1.25$10
gpt-5-latest——$1.25$10
GPT-5400K128K$1.25$10
GPT-5 Pro400K272K$15$120

API

GET/v1/models/openai/gpt-5