LLM Reference

GPT-5 Models by OpenAI

OpenAIProprietary
10 models2025Up to 400k ctxFrom $0.05/1M input

Last refreshed 2026-06-30. Next refresh: weekly.

Details

ResearcherOpenAI
LicenseProprietary
Commercial useCommercial use: conditional
Models10
Released2025
Max context400k

Capabilities

VisionAll models
MultimodalAll models
Reasoning5 of 10 models
JSON / Tool use9 of 10 models
Structured Outputs8 of 10 models
Code Execution7 of 10 models

Links

Website

About

OpenAI's GPT-5 family (August 2025). Includes gpt-5, gpt-5-mini, and gpt-5-nano. Succeeded by GPT-5.1 and later generations.

Decision facts

Best fit
codevision and multimodal workreasoning
Capability starting point
GPT-5.2 Codex with 400k context and reasoning, JSON / Tool use, structured outputs, and multimodal inputs
Lowest tracked input
GPT-5 Nano · $0.05/1M · Replicate API
Closest related family
GPT Realtime 2

Current Variants

Use-when guidance is based on each model's tracked capabilities, context window, release date, and replacement status.

9 in view1 retired

Use when the workload needs code, 400k context, and reasoning.

2025-12code400k contextreasoning
GPT-5 ProCurrent

Use when the workload needs 400k context, JSON / Tool use, and structured outputs.

2025-10400k contextJSON / Tool usestructured outputs
GPT-5 ChatCurrent

Use when the workload needs 128k context, JSON / Tool use, and structured outputs.

2025-10128k contextJSON / Tool usestructured outputs

Use when the workload needs code, 400k context, and JSON / Tool use.

2025-10code400k contextJSON / Tool use

Use when the workload needs 400k context, JSON / Tool use, and multimodal inputs.

2025-10400k contextJSON / Tool usemultimodal inputs

Use when the workload needs 400k context and multimodal inputs.

2025-10400k contextmultimodal inputs
GPT-5Current

Use when the workload needs 400k context, reasoning, and JSON / Tool use.

2025-08400k contextreasoningJSON / Tool use
GPT-5 MiniCurrent

Use when the workload needs 400k context, reasoning, and JSON / Tool use.

2025-08400k contextreasoningJSON / Tool use
GPT-5 NanoCurrent

Use when the workload needs 400k context, reasoning, and JSON / Tool use.

2025-08400k contextreasoningJSON / Tool use

Release Timeline

3 release groups
2025-12
1 current · 1 retired
GPT-5.2
400k contextreasoningJSON / Tool use
Archived
GPT-5.2 Codex
code400k contextreasoning
Current
2025-10
5 current
GPT-5 Chat
128k contextJSON / Tool usestructured outputs
Current
GPT-5 Codex
code400k contextJSON / Tool use
Current
GPT-5 Image
400k contextJSON / Tool usemultimodal inputs
Current
GPT-5 Image Mini
400k contextmultimodal inputs
Current
GPT-5 Pro
400k contextJSON / Tool usestructured outputs
Current
2025-08
3 current
GPT-5
400k contextreasoningJSON / Tool use
Current
GPT-5 Mini
400k contextreasoningJSON / Tool use
Current
GPT-5 Nano
400k contextreasoningJSON / Tool use
Current

Specifications(10 models)

GPT-5 model specifications comparison
ModelReleasedContextVisionMultimodalReasoningJSON / Tool useStructured OutputsCode Exec
GPT-5.2 Codex2025-12400kYesYesYesYesYesYes
GPT-5 Pro2025-10400kYesYesNoYesYesYes
GPT-5 Chat2025-10128kYesYesNoYesYesNo
GPT-5 Codex2025-10400kYesYesNoYesYesYes
GPT-5 Image2025-10400kYesYesNoYesNoNo
GPT-5 Image Mini2025-10400kYesYesNoNoNoNo
GPT-52025-08400kYesYesYesYesYesYes
GPT-5 Mini2025-08400kYesYesYesYesYesYes
GPT-5 Nano2025-08400kYesYesYesYesYesYes

Pricing

GPT-5 model pricing by provider
ModelProviderInput / 1MOutput / 1MType
GPT-5 NanoReplicate API$0.05$0.4Serverless
GPT-5 NanoOpenRouter$0.05$0.4Serverless
GPT-5 NanoOpenAI API$0.05$0.4Serverless
GPT-5 NanoVercel AI Gateway$0.05$0.4Serverless
GPT-5 MiniReplicate API$0.25$2Serverless
GPT-5 MiniOpenRouter$0.25$2Serverless
GPT-5 MiniOpenAI API$0.25$2Serverless
GPT-5 MiniVercel AI Gateway$0.25$2Serverless
GPT-5Replicate API$1.25$10Serverless
GPT-5OpenRouter$1.25$10Serverless
GPT-5OpenAI API$1.25$10Serverless
GPT-5Vercel AI Gateway$1.25$10Serverless
GPT-5 ChatVercel AI Gateway$1.25$10Serverless
GPT-5 CodexVercel AI Gateway$1.25$10Serverless
GPT-5 ChatOpenRouter$1.25$10Serverless
GPT-5 CodexOpenRouter$1.25$10Serverless
GPT-5.2 CodexVercel AI Gateway$1.75$14Serverless
GPT-5.2 CodexOpenAI API$1.75$14Serverless
GPT-5 ProVercel AI Gateway$15$120Serverless
GPT-5 ProOpenRouter$15$120Serverless

Popular comparisons in this family