GPT-5

GPT-5 is OpenAI's frontier model of its generation, with major improvements in reasoning, code quality, and user experience over GPT-4.1.

input · usd / 1m tok

$1.25

output · usd / 1m tok

$10.00

context window

400ktokens

modalities · in → out

takes text and image in, gives text out

pricing

base api ratesusd per 1m tokens

input
$1.25
output
$10.00
cache read
$0.125

providers

Different companies host GPT-5. Impossibl routes your request intelligently and handles failover automatically when a provider is down.

  • Azure OpenAI
  • OpenAI

specifications

takes text and image in, gives text outopenai/gpt-5

  • creatorOpenAI
  • model typeText generation
  • context window400,000 tokens
  • maximum outputnot published
  • input

    takes text and image in, gives text out

  • outputtext
  • tool callingnot verified
  • releasedaug 7, 2025
  • endpoint/v1/chat/completions

unknown means the public catalog does not establish that fact. a model's documented capabilities can differ from what a particular api supports. see the model documentation for integration details.

try it · your prompt, this model, live

# responses API
import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["IMPOSSIBL_API_KEY"],
    base_url="https://api.impossibl.com/v1",
)

resp = client.responses.create(
    model="openai/gpt-5",
    input="",
)
print(resp.output_text)

edit the prompt, then run

benchmarks

intelligence index

23.0#70 of 108 models on the gateway

  1. coding index37.8#51 of 64
  2. omniscience-8.7#46 of 84
  3. gpqa85.4%#42 of 80
  4. humanity’s last exam28.5%#45 of 87
  1. AIME 202594.3%
  2. GPQA85.4%
  3. Tau284.8%
  4. LiveCodeBench84.6%
  5. AA-LCR78.2%
  6. MMMU-Pro74.2%
  7. IFBench73.1%
  8. Terminal-Bench Hard32.6%
  9. Humanity’s Last Exam28.5%
  10. Tau Banking22.1%
  11. CritPt5.7%
  • Intelligence Index22.98
  • Omniscience Index-8.73
  • GDPval Elo916.52
  • coding index (API)37.8
  • intelligence index (API)23

view source ↗all source data and breakdowns (json) ↗

each configuration is listed separately; these evaluations describe the tested model configuration, and performance and costs can differ on impossibl. unmeasured scores are omitted and api values keep their source units. last checked 2026-10-14.

compare GPT-5 with other models

frontier labs and open weights, best-ranked firstusd / 1m tok · in / out

impossibl models --all →

frequently asked questions

What is GPT-5?

GPT-5 is OpenAI's frontier model of its generation, with major improvements in reasoning, code quality, and user experience over GPT-4.1. It is optimised for complex tasks that require step-by-step reasoning, instruction following, and accuracy, and heads a family with mini, nano, Pro, and Codex variants.

How much does GPT-5 cost?

GPT-5 costs $1.25 per million input tokens and $10.00 per million output tokens through the Impossibl API. Cache reads cost $0.125 per million tokens. All rates are in USD.

view the pricing table ↑

What is the context length of GPT-5?

GPT-5 has a 400,000-token context window through the Impossibl API.

What inputs and outputs does GPT-5 support?

GPT-5 accepts text and image as input. GPT-5 returns text.

How do I use GPT-5 through an API?

GPT-5 is available through the Impossibl API. Use openai/gpt-5 as the model identifier with /v1/chat/completions. The quickstart explains how to create an API key and send your first request.

follow the api quickstart →

When was GPT-5 released?

OpenAI released GPT-5 on August 7, 2025.

this page describes GPT-5 as listed by the impossibl public api. prices and availability come from that catalog, refreshed here every five minutes. this is an impossibl offering, not a comparison of independent hosting-provider quotes. model descriptions and release dates, where available, use the creator sources linked under the answers above.

view the source catalog ↗model as markdown ↗report a correction →