AI Tools Review

OpenAI: GPT-5

By Openai

Released: 2025-08-07

API
LLM
RAG
Openai
Paid
New

OpenAI GPT 5, developed by OpenAI, features 400k-token context window. GPT-5 is OpenAI’s most advanced model, offering major improvements in reasoning, code quality, and user experience. It is optimised for complex tasks that require step-by-step reasoning, instruction following, and accuracy in high-stakes use cases. It supports test-time routing features and advanced prompt understanding, including user-specified intent like "think hard about this." Improvements include reductions in hallucination, sycophancy, and better performance in coding, writing, and health-related tasks. Premium pricing at $1.25/1M tokens reflects its advanced capabilities.

Visit OpenAI: GPT-5

Unified routing system

GPT-5 is not a single model but a system: a high-throughput model (gpt-5-main) for everyday turns, a deeper reasoning model (gpt-5-thinking) for hard problems, and a real-time router that decides how much "thinking" each request needs — including explicit cues like "think hard about this."

Safe-completions safety design

Rather than blunt refusals, GPT-5 introduces "safe completions" — answering within safety boundaries and explaining limits where a request is dual-use. OpenAI reports large reductions in hallucination, sycophancy and deceptive responses versus o3 and GPT-4o.

State-of-the-art agentic coding

GPT-5 posts one of the strongest published results on SWE-bench Verified (~74.9%) and Aider Polyglot (~88%), and is tuned for long, tool-using agent runs — multi-file edits, test-driven fixes and front-end generation that holds together across a whole task.

Released on 7 August 2025, GPT-5 is OpenAI’s flagship frontier model and the default model in ChatGPT. It folds the GPT-series and the o-series reasoning line into a single adaptive system, trading the old model-picker for a router that allocates compute per request. This page summarises what GPT-5 is, how it performs on public benchmarks, what the system card says about its safety posture, and where it fits in real workflows.

What GPT-5 is

GPT-5 is OpenAI’s most capable general-purpose model to date, positioned as a single system rather than a model you have to choose between. In ChatGPT it replaces the previous menu of GPT-4o, o3 and o4-mini with one entry point; the system decides in real time whether a prompt needs a fast answer or extended reasoning. Via the API it is exposed with a 400,000-token context window and developer controls for reasoning effort and verbosity.

The headline change over the GPT-4 generation is reliability under pressure. OpenAI frames GPT-5 as "PhD-level" across many domains, but the more useful framing for buyers is consistency: fewer confident-but-wrong answers, better instruction-following on long multi-step tasks, and noticeably stronger performance on coding, mathematics, scientific reasoning and health questions. It is the first OpenAI model to make extended reasoning a routed default rather than an opt-in mode.

Architecture: a routed system, not one model

Under the hood GPT-5 ships as three coordinated parts. gpt-5-main is a fast, efficient model that handles the majority of turns. gpt-5-thinking is a deeper model that spends more test-time compute on hard problems — competition mathematics, multi-step proofs, complex debugging. A lightweight router, trained on real usage signals such as whether users regenerate or switch models, decides which to invoke and how much reasoning to apply.

This matters commercially because it decouples cost from capability. Easy questions are answered cheaply by the main model; only genuinely hard requests pay for extended reasoning. Developers can bias this behaviour through the API with a reasoning-effort parameter, and end users can nudge it in natural language ("think hard about this"). When the routed budget is exhausted, the system falls back to the smaller mini variants to keep latency predictable.

  • gpt-5-main — fast model for the majority of everyday requests
  • gpt-5-thinking — deeper reasoning model for hard, multi-step problems
  • real-time router — allocates reasoning effort per request, learns from usage
  • gpt-5-mini / gpt-5-nano — lower-cost, lower-latency variants for scale and fallback

Benchmark performance

On public evaluations GPT-5 (with reasoning enabled) sits at or near the top of most leaderboards reported at launch. The figures below are OpenAI’s published results; independent reproductions vary by harness and prompt, so treat them as directional rather than absolute. The clearest real-world signal is the SWE-bench Verified score: a measure of resolving genuine GitHub issues end to end, which correlates well with day-to-day coding usefulness.

Mathematics and science scores are unusually high because GPT-5 can spend test-time compute and, where permitted, call tools such as a code interpreter. On AIME 2025 it reaches the high-90s with tools; on graduate-level science (GPQA Diamond) it lands in the high-80s. These are the kinds of tasks where the routed reasoning model, rather than the fast model, is doing the work.

Coding and agentic workflows

Coding is where GPT-5 is most differentiated for professional users. It is tuned for long agentic runs: reading a repository, planning a change, editing across multiple files, running tests and iterating until they pass. OpenAI highlights front-end generation and "vibe coding" — turning a short description into a working interface — alongside more rigorous tasks like bug triage and refactoring under test coverage.

In practice this makes GPT-5 a strong default for IDE assistants and autonomous coding agents that need to stay coherent over dozens of steps. The trade-off is cost and latency on the deepest tasks: extended reasoning runs consume more output tokens, which is why the routing system and the mini/nano variants exist. Teams typically reserve full GPT-5 reasoning for hard tickets and route routine completions to a cheaper tier.

Multimodal input and the 400k context window

GPT-5 accepts text and image input and is designed for cross-modal tasks — reading a screenshot of a dashboard, interpreting a diagram, or grounding a coding task in a UI mock-up. The 400,000-token API context window (with large output budgets) lets it hold entire codebases, long contracts or multi-document research bundles in a single request, which is the practical enabler for retrieval-augmented (RAG) and long-document workflows.

For agent builders the large window reduces the amount of external memory plumbing required: more of the working state can live in the prompt, and the model can reason over it directly. As always, effective use of long context depends on good retrieval and ordering — a 400k window is an upper bound, not a guarantee that every token is weighted equally.

System card: safety and known limitations

OpenAI’s GPT-5 system card documents a shift from hard refusals to "safe completions": instead of declining a request outright, the model aims to give the most helpful answer that stays inside safety boundaries, and to explain the limit when a request is dual-use. The card reports meaningful reductions in hallucination rates relative to o3 and GPT-4o, lower sycophancy (less tendency to simply agree with the user), and reduced deceptive behaviour in evaluations designed to elicit it.

GPT-5 is also treated as a high-capability model under OpenAI’s Preparedness Framework, with additional safeguards in sensitive domains such as biology and chemistry. The honest caveats remain: it still hallucinates, particularly on obscure facts; reasoning depth is bounded by the routed compute budget; and the headline benchmark numbers were produced with reasoning and, in some cases, tools enabled, so a cheap, low-effort call will not reproduce them. Buyers should evaluate on their own tasks before relying on it in high-stakes settings.

Pricing and access

GPT-5 is available in ChatGPT (including a routed experience for free users, with higher limits on paid tiers) and via the OpenAI API and aggregators such as OpenRouter. API pricing is roughly $1.25 per million input tokens and $10.00 per million output tokens for the full model, with the gpt-5-mini and gpt-5-nano variants costing materially less for high-volume or latency-sensitive workloads.

Because output tokens dominate cost on reasoning-heavy runs, the economics favour routing: send routine traffic to mini/nano and reserve full GPT-5 for tasks that genuinely benefit from extended thinking. For most production systems this tiered approach keeps quality high on hard requests while holding average cost per request close to that of a mid-range model.

GPT-5 on public benchmarks

SWE-bench Verified (agentic coding)74.9%

Resolving real GitHub issues end to end.

Aider Polyglot (code editing)~88%

Multi-language code-editing benchmark.

AIME 2025 (math, with tools)~100%

Competition mathematics with code interpreter.

GPQA Diamond (graduate science)~89%

PhD-level science questions.

MMMU (multimodal reasoning)~84%

College-level multimodal understanding.

OpenAI-reported results at launch, reasoning enabled (tools where noted). Independent results vary by harness; treat as directional.

Where OpenAI: GPT-5 fits

Autonomous coding agents

Long, tool-using runs that edit across files, run tests and iterate — strong SWE-bench and Aider scores make it a robust default for IDE assistants and CI bots.

Long-document & RAG analysis

The 400k-token window holds entire codebases, contracts or research bundles in one request, reducing external memory plumbing for retrieval pipelines.

Technical & scientific reasoning

Routed reasoning plus optional tools deliver high accuracy on mathematics, graduate-level science and structured analysis tasks.

High-stakes assistance with guardrails

Safe-completions behaviour and lower hallucination/sycophancy make it better suited to health, legal-adjacent and other sensitive domains — with human review still required.

Sources & further reading

Openai Model Timeline

OpenAI: GPT Audio

128k tokens context

OpenAI: GPT Audio Mini

128k tokens context

OpenAI: GPT-5.2-Codex

400k tokens context

OpenAI: GPT-5.2 Chat

128k tokens context

OpenAI: GPT-5.2 Pro

400k tokens context

OpenAI: GPT-5.2

400k tokens context

OpenAI: GPT-5.1-Codex-Max

400k tokens context

OpenAI: GPT-5.1

400k tokens context

OpenAI: GPT-5.1 Chat

128k tokens context

OpenAI: GPT-5.1-Codex

400k tokens context

OpenAI: GPT-5.1-Codex-Mini

400k tokens context

OpenAI: gpt-oss-safeguard-20b

131k tokens context

OpenAI: GPT-5 Image Mini

400k tokens context

OpenAI: GPT-5 Image

400k tokens context

OpenAI: o3 Deep Research

200k tokens context

OpenAI: o4 Mini Deep Research

200k tokens context

OpenAI: GPT-5 Pro

400k tokens context

OpenAI: GPT-5 Codex

400k tokens context

OpenAI: GPT-4o Audio

128k tokens context

OpenAI: GPT-5 Chat

128k tokens context

OpenAI: GPT-5Current

400k tokens context

OpenAI: GPT-5 Mini

400k tokens context

OpenAI: GPT-5 Nano

400k tokens context

OpenAI: gpt-oss-120b (free)

131k tokens context

OpenAI: gpt-oss-120b

131k tokens context

OpenAI: gpt-oss-120b (exacto)

131k tokens context

OpenAI: gpt-oss-20b (free)

131k tokens context

OpenAI: gpt-oss-20b

131k tokens context

OpenAI: o3 Pro

200k tokens context

OpenAI: o4 Mini High

200k tokens context

OpenAI: o3

200k tokens context

OpenAI: o4 Mini

200k tokens context

OpenAI: GPT-4.1

1,048k tokens context

OpenAI: GPT-4.1 Mini

1,048k tokens context

OpenAI: GPT-4.1 Nano

1,048k tokens context

OpenAI: o1-pro

200k tokens context

OpenAI: GPT-4o-mini Search Preview

128k tokens context

OpenAI: GPT-4o Search Preview

128k tokens context

OpenAI: o3 Mini High

200k tokens context

OpenAI: o3 Mini

200k tokens context

OpenAI: o1

200k tokens context

OpenAI: GPT-4o (2024-11-20)

128k tokens context

OpenAI: ChatGPT-4o

128k tokens context

OpenAI: GPT-4o (2024-08-06)

128k tokens context

OpenAI: GPT-4o-mini (2024-07-18)

128k tokens context

OpenAI: GPT-4o-mini

128k tokens context

OpenAI: GPT-4o (2024-05-13)

128k tokens context

OpenAI: GPT-4o

128k tokens context

OpenAI: GPT-4o (extended)

128k tokens context

OpenAI: GPT-4 Turbo

128k tokens context

OpenAI: GPT-3.5 Turbo (older v0613)

4k tokens context

OpenAI: GPT-4 Turbo Preview

128k tokens context

OpenAI: GPT-4 Turbo (older v1106)

128k tokens context

OpenAI: GPT-3.5 Turbo Instruct

4k tokens context

OpenAI: GPT-3.5 Turbo 16k

16k tokens context

OpenAI: GPT-4 (older v0314)

8k tokens context

OpenAI: GPT-4

8k tokens context

OpenAI: GPT-3.5 Turbo

16k tokens context

Frequently Asked Questions

Is GPT-5 a single model or a system?

It is a system. GPT-5 combines a fast model (gpt-5-main), a deeper reasoning model (gpt-5-thinking) and a real-time router that decides how much reasoning each request needs. In ChatGPT this replaces the old model picker; via the API you can influence the behaviour with a reasoning-effort setting.

What is the GPT-5 context window?

Through the API, GPT-5 supports a 400,000-token context window with large output budgets, which is what makes whole-codebase, long-contract and multi-document RAG workflows practical in a single request.

How much does GPT-5 cost?

API pricing for the full model is approximately $1.25 per million input tokens and $10.00 per million output tokens. The gpt-5-mini and gpt-5-nano variants are significantly cheaper and are commonly used for high-volume or latency-sensitive traffic, with full GPT-5 reserved for hard requests.

How good is GPT-5 at coding?

It posts one of the strongest published results on SWE-bench Verified (~74.9%) and on the Aider Polyglot editing benchmark (~88%), and is tuned for long agentic runs across multiple files. That makes it a strong default for coding assistants and autonomous agents, though deep reasoning runs cost more in output tokens.

What are "safe completions" in the GPT-5 system card?

Safe completions are OpenAI’s replacement for blunt refusals: instead of declining a request, GPT-5 aims to give the most helpful answer that stays within safety boundaries and explains the limit when a request is dual-use. The system card also reports lower hallucination, sycophancy and deception versus o3 and GPT-4o.

When was GPT-5 released?

GPT-5 was released on 7 August 2025 and became the default model in ChatGPT, alongside availability through the OpenAI API and aggregators such as OpenRouter.

Specifications

pricing$1.25 / $10.00 (per 1M)
context Window400k tokens

AI Evaluation

4.8
Expert Rating
Text4.9/5
Coding3.5/5

A premium coding model delivering professional-grade software engineering assistance. Strong on complex projects, debugging, and code architecture.

Pros

  • 400k token context window
  • Strong code generation and debugging
  • Advanced logical reasoning
  • Optimized for RAG workflows

Cons

  • Moderate API costs
  • May lack creative flair