LLM Reference

GPT-5

gpt-5

Researched 12d ago

Last refreshed 2026-05-22. Next refresh: weekly.

ProprietaryMultimodalCodingRAGAgentsLong contextVisionJSON / Tool use

GPT-5 is worth evaluating for coding, rag, and agents when its provider route and context window match the workload.

Decision context: Coding task fit, 4 tracked provider routes, and research from 2026-05-10.

Use it for

  • Teams evaluating coding, rag, and agents
  • Workloads that can use a 400K context window
  • Buyers comparing 4 tracked provider routes

Do not use it for

  • Workloads where another current model has stronger sourced task evidence

Cheapest output

$10.00

OpenAI API per 1M tokens

Provider routes

4

Tracked API hosts

Quality / dollar

Grade D

Ranked by benchmark score divided by cheapest output price

Freshness

2026-05-10

Researched 12d ago

fresh

Top use-case fit

Coding

Q/$ D

2 relevant benchmarks in the decision map.

RAG

Included by capability and metadata signals in the decision map.

Agents

Q/$ C

1 relevant benchmark in the decision map.

Provider price ladder

Compare all 4
ProviderInput / 1MOutput / 1MBatch in / outCacheRoute
OpenAI API$1.25$10.00$0.625 / $5.00read $0.125
Serverless
OpenRouter$1.25$10.00--
Serverless
Replicate API$1.25$10.00--
Serverless
Vercel AI Gateway$1.25$10.00-read $0.125
Serverless

Benchmark peer barsfor Coding

Migration checks

No linked migration route is available for this model yet.

About

OpenAI's previous intelligent reasoning model with configurable reasoning effort. Released August 2025. Supports minimal, low, medium, and high reasoning levels. Succeeded by GPT-5.1 and later models.

GPT-5 has a 400K-token context window.

GPT-5 input tokens at $1.25/1M, output at $10/1M.

Capabilities

VisionMultimodalReasoningFunction CallingTool UseStructured OutputsCode ExecutionPrompt CachingBatch API

Benchmark Scores(4)

Scores are benchmark-specific and are direction-aware: the same numeric gap can mean very different outcomes across suites. Use the leaderboard context and this model's provider route to decide whether the winning margin is meaningful for your workload.
BenchmarkScoreVersionSource
SWE-bench Verified74.9aimagicx.com benchmark comparison April 2026
Aider Polyglot88.0Aider Polyglothttps://aider.chat/docs/leaderboards/
Google-Proof Q&A88.4https://openai.com/blog/gpt-5
AIME 202594.6https://openai.com/blog/gpt-5

Rankings

Show all 4 popular comparisonssorted by 7-day search impressions

Specifications

FamilyGPT-5
Released2025-08-07
Context400K
Max output128,000
ArchitectureDecoder Only
Knowledge cutoff2024-09
Specializationgeneral
LicenseProprietary
Trainingpretrained

Created by

Cutting-edge research and development.

San Francisco, California, United States
Founded 2015
Website