OpenAI, released Aug 7, 2025

GPT-5

GPT-5 is OpenAI's reasoning model from August 7, 2025, built for harder work like writing code, following complex instructions and working through problems step by step. In OpenAI's current lineup it's an older generation sitting below the GPT-6.1 Terra, GPT-6.2 Sol and GPT-6.2 Astra families, priced roughly in the middle - cheaper than Astra, a little cheaper on input than Sol, and pricier than Terra. Still holds up for demanding tasks if you don't mind that it's on the way out.

Already paying for ChatGPT?

GPT-5 costs $10 per 1M output tokens. Use GPT-6.2 Sol through your ChatGPT plan instead, $0 per token.

Get your API key Free plan, no card needed

Updated

GPT-5 pricing and specs

Input
$1.25per 1M tokens
Output
$10per 1M tokens
Cached input
$0.125per 1M tokens
Context window
400K400,000 tokens
Max output
128K128,000 tokens
Released
Aug 7, 2025
Knowledge cutoff
Sep 2024
Retires
Dec 11, 2026
Accepts
TextImagesFiles
Features
Tool callingReasoningStructured outputs

What GPT-5 is good at

  • Writing and debugging code, especially when a task takes multiple steps and you want the model to think through the logic first.
  • Pulling structured JSON out of long PDFs or images - it takes text, images and PDFs natively, and the context window is huge, so you can pass whole files straight in.
  • Tool-calling workflows where sticking closely to your instructions matters.
  • Generating long replies in a single pass, like big refactors or full drafts, where the generous output limit comes in handy.

Good to know

  • It's scheduled to be retired on 2026-12-11, so don't build a long-term integration on it unless you're ready to swap it out soon.
  • Reasoning is always on. You can't turn it off for simple prompts (which is worth keeping in mind if you're mixing easy and hard calls on the same endpoint).
  • The knowledge cutoff is September 2024. Anything newer has to come from your own context or tool calls.

GPT-5 vs similar models

API price per 1M tokens
ModelInputOutputPlan2APIContext
GPT-5$1.25$10Not available400K
GPT-6.2 Astra$8$40$0 on ChatGPT1.1M
GPT-6.2 Astra Pro$8$40Not available1.1M
GPT-6.2 Sol$2$10$0 on ChatGPT1.1M
Claude Sonnet 5.5$2$10$0 on Claude1M
Claude Sonnet 5$2$10$0 on Claude1M

GPT-5 cost per month

Tokens a month at $1.25 input and $10 output per 1M
WorkloadAPI price
Side project2M in, 500K out$7.50
Production app25M in, 5M out$81.25
Agents at scale250M in, 50M out$813

FAQ

How much does the GPT-5 API cost?

GPT-5 costs $1.25 per 1M input tokens and $10 per 1M output tokens, and cached input costs $0.125 per 1M.

What is the GPT-5 context window?

GPT-5 takes 400,000 tokens of context, with up to 128,000 output tokens per request.

When was GPT-5 released?

OpenAI released GPT-5 on Aug 7, 2025.

Can I use GPT-5 with my subscription?

Plan2API turns Claude, ChatGPT, Gemini and Kimi subscriptions into one OpenAI-compatible API. GPT-6.2 Sol runs through your ChatGPT plan at $0 per token instead.

Should I pick GPT-5 or one of the newer OpenAI models?

For a new project, go with a newer model. GPT-6.1 Terra is cheaper across the board, GPT-6.2 Sol is in the same range on output cost, and GPT-6.2 Astra is there at the pricey end if budget isn't tight. GPT-5 mostly makes sense if you already have prompts tuned for it and aren't ready to migrate yet.

Does GPT-5 support structured outputs and tool calling?

Yes, both. You can request structured JSON output and hook it up to external tools, and it accepts text, images and PDFs through the API too. So if you're wiring up a document pipeline or an agent that mixes formats, it's covered.

More OpenAI models

All 57 OpenAI models

Already paying for ChatGPT? Use GPT-6.2 Sol through your plan, $0 per token.

  • Free: 1 subscription, no daily cap, no card
  • Pro: $12 a month

GPT-6.2 Sol at $0 per tokenFree plan, no card needed

Get your API key

Guides

80