openai / text-generation API-only released 2025-08-07

GPT-5

GPT-5 is OpenAI’s most advanced model, offering major improvements in reasoning, code quality, and user experience. It is optimized for complex tasks that require step-by-step reasoning, instruction following, and accuracy...

Input / 1M
$1.25
Output / 1M
$10.00
Context
400K
AA Intelligence
23
Closed weights — available only as a hosted API text + image + file → text Knowledge cutoff Sep 2024 View on OpenRouter ↗

Pricing

via OpenRouter · USD per 1M tokens · synced 2026-10-24
$1.25
input / 1M
$10.00
output / 1M
$0.13
cached input / 1M
$11.25
1M in + 1M out
:batch variant $0.63 in · $5.00 out
Context window
400,000 tokens
Max output
128,000 tokens
Providers
2
Cheapest provider
Azure · $1.25 / $10.00
Best throughput
—
AA Intelligence / Coding / Agentic
23 / 37.8 / —
✓ Tool calling ✓ Reasoning ✓ Structured outputs ✓ Image input ✓ File input ✗ Audio input ✓ Prompt caching

Price history

tracking started — chart appears after 7 days of snapshots (6 recorded)
Current: $1.25 input · $10.00 output per 1M tokens

Benchmarks

Third-party indices as published through OpenRouter — Artificial Analysis and Design Arena. Not measured by us.

AA Intelligence Index
23
AA Coding Index
37.8
AA Agentic Index
—
Design Arena
CategoryEloWin %Rank
3d 1056 41.3% #104
asciiart 1141 49% #48
codecategories 1168 54.5% #75
dataviz 1221 60.5% #51
gamedev 1185 59.3% #62
svg 1189 64.1% #31
uicomponent 1177 57.4% #65
website 1184 53.7% #74

Providers

2 providers · per 1M tokens · last 30 min metrics
ProviderQuantContextInputOutputUptimeTok/s
Azure unknown 400K $1.25 $10.00 — —
OpenAI unknown 400K $1.25 $10.00 100% —
Azure unknown 400K $1.38 $11.00 — —
Provider data from OpenRouter's endpoint listing, refreshed daily.

Specifications

Organisation
openai
Released on OpenRouter
2025-08-07
Context window
400,000 tokens
Max output
128,000 tokens
Input
text, image, file
Output
text
Knowledge cutoff
September 2024
Tokenizer
GPT
Moderated by provider
Yes
OpenRouter id
openai/gpt-5
Compare with
Prices, context and providers from the public OpenRouter API, snapshotted daily; benchmark indices from Artificial Analysis. See /methodology.