What it is and who makes it
GPT-5 is OpenAI’s flagship frontier model, released in August 2025 and served through OpenAI’s API, ChatGPT and a long list of Azure and partner channels. It’s the model OpenAI positions as the default for hard reasoning and agentic coding — the stuff that used to require o-series thinking models bolted onto a GPT base. It’s proprietary, closed-weights, and you pay per token. If you wanted an open alternative from the same family, look at gpt-oss-120b instead; GPT-5 is firmly a commercial API product.
In practice, GPT-5 shows up in two shapes. There’s the default model everyone means when they say “just use GPT-5,” and there’s the same weights with reasoning effort dialed up, which is what you want for the gnarly tasks. Most of the magic in late-2026 OpenAI workflows is really GPT-5 with different reasoning budgets and different system prompts — the model rewards people who think about routing, not just people who write clever prompts. If you came from the GPT-4o generation, the jump is less “smarter autocomplete” and more “reliable colleague who actually finishes things.”
Architecture and what’s under the hood
OpenAI hasn’t published an architecture paper, so anything precise here is informed guesswork. The consensus read is that GPT-5 is a very large mixture-of-experts model — plausibly multi-trillion-parameter total with a much smaller active slice per token, which is how you get frontier quality at a $10 output price without setting the inference bill on fire. It also folds in the thinking-model lineage: rather than a separate “reasoning model” you route to, GPT-5 handles quick answers and long chain-of-thought in one system, with reasoning effort tuned by the API’s reasoning controls. Treat the parameter counts as rumor-class, not datasheet.
Strengths
- Agentic coding that finishes the job. GPT-5 is the model I trust most for multi-step refactors and PR-level changes you actually want to merge — not just plausible diffs.
- Raw reasoning depth. GPQA ~88 and MMLU ~92 (approx.) put it at the top of the general-reasoning tables as of Nov 2026.
- Tool use. Function calling and structured outputs are reliable enough to build production agents on without babysitting.
- Long context that holds up. 256K tokens of usable context, not just a claimed number — retrieval across a full repo or a spec plus codebase is genuinely workable.
- The ecosystem. ChatGPT, Azure OpenAI, OpenRouter, every SDK worth using — GPT-5 is the path of least resistance everywhere.
Weaknesses and failure modes
- Expensive at scale. $10 per million output tokens adds up fast in agent loops. A chatty agent can burn $5 on one debugging session without blinking.
- Verbosity. GPT-5 writes a lot. Half of it you can’t use; you pay output pricing for all of it.
- Aggressive refusals on edge cases. Benign security tooling, dual-use chemistry questions, edgy-but-legitimate prompts — expect occasional lecture-and-refuse responses.
- Overconfident long runs. It’ll happily keep going down a wrong path for fifty tool calls if the plan was flawed at step two. You still need checkpoints.
- Reasoning-token accounting is fuzzy. Internal chain-of-thought is billed as output tokens, and you don’t see the trace by default — so a hard question can cost 5–10x a simple one with no obvious signal in the UI.
- Tone whiplash. Answers swing between curt and exhaustive depending on reasoning effort; pinning down a house style takes prompt work, not vibes.
Best for / not great for
Best for: hard agentic coding, long agent runs with tools, research-grade analysis, multi-file refactors, anything where you’d have hired a very sharp contractor for a week.
Not great for: high-volume classification or extraction where GPT-5 mini is 5x cheaper, latency-sensitive autocomplete, bulk document processing, or workloads where you need deterministic, auditable outputs without babysitting.
Variants and family members
The GPT-5 family is a ladder: gpt-5 (this page), gpt-5-mini (near-flagship at 5x lower cost), gpt-5-nano (cheapest, for triage), and gpt-5-codex (the coding-agent variant, Sep 2025). If you’re on GPT-4-era models, note the stepping stones: GPT-4.1 and GPT-4o are still around and still fine for narrow jobs, but GPT-5 is the ceiling now.
Pricing, access and how to run it
API pricing is $1.25 per million input tokens and $10.00 per million output tokens (as of Nov 2026; prices drift monthly). You get it via the OpenAI API, Azure OpenAI Service, OpenRouter, and inside ChatGPT (Plus and up, with rate limits). Here’s the minimal Python call:
from openai import OpenAI
client = OpenAI()
response = client.chat.completions.create(
model="gpt-5",
messages=[
{"role": "user", "content": "Refactor this function for readability and explain your changes."}
],
reasoning_effort="medium",
)
print(response.choices[0].message.content)
On Azure, swap the client for AzureOpenAI and point azure_endpoint at your deployment. On OpenRouter, the model id is openai/gpt-5. There is no local or self-hosted option — closed weights all the way down.
Practitioner aside. Wire up cost tracking before your first agent loop. I once watched a “harmless” background agent eat $80 overnight because it kept re-reading the same 40K-token log. GPT-5 is brilliant; it is not frugal.
Benchmarks snapshot
All figures approximate as of Nov 2026 and drawn from public reporting and launch materials; treat them as directional, not gospel:
- MMLU ~92 · GPQA ~88 · SWE-bench ~74 (per PeaBox atlas data)
- AIME 2025 ~94 (approx., commonly reported at launch)
- TAU-bench ~88 (approx., tool-use benchmark, commonly reported)
How it stacks up
vs Claude Opus 4.1. Opus 4.1 is stronger on pure coding depth and computer use, and much more instruction-faithful on gnarly long prompts — but it costs $15/$75, several times GPT-5 on output. GPT-5 is the better default for most teams: ~80% of the coding quality at a fraction of the price, plus a far broader tooling ecosystem.
vs Gemini 3 Pro. Gemini 3 Pro counters with a 2M-token context and native audio/video, and it’s competitive on reasoning (GPQA ~87). But GPT-5 wins on agentic reliability, tool-calling polish and the “it just works in my stack” factor — Gemini’s API quirks and safety over-triggers still bite in production.
PeaBox fit
Pair GPT-5 with the PeaBox AI Workbench to run it side by side against GPT-5 mini and Claude Sonnet on your own prompts before you commit a budget. Keep your reusable prompts in Prompt Library so the good system prompts survive model swaps. And when GPT-5 writes a big diff, run it through CodeProof-AI — it’s very good at sounding right while being subtly wrong, and that’s where bugs hide.
Figures approximate as of Nov 2026. Pricing and benchmark scores drift monthly; check the provider’s pricing page before you budget.