openai / text-generation API-only released 2023-05-28

GPT-4

OpenAI's flagship model, GPT-4 is a large-scale multimodal language model capable of solving difficult problems with greater accuracy than previous models due to its broader general knowledge and advanced reasoning...

Input / 1M
$30.00
Output / 1M
$60.00
Context
8.2K
AA Intelligence
6.7
Closed weights — available only as a hosted API text → text Knowledge cutoff Sep 2021 View on OpenRouter ↗

Pricing

via OpenRouter · USD per 1M tokens · synced 2026-10-24
$30.00
input / 1M
$60.00
output / 1M
—
cached input / 1M
$90.00
1M in + 1M out
Context window
8,191 tokens
Max output
4,096 tokens
Providers
2
Cheapest provider
Azure · $30.00 / $60.00
Best throughput
—
AA Intelligence / Coding / Agentic
6.7 / 13.1 / —
✓ 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: $30.00 input · $60.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
6.7
AA Coding Index
13.1
AA Agentic Index
—

Providers

2 providers · per 1M tokens · last 30 min metrics
ProviderQuantContextInputOutputUptimeTok/s
Azure unknown 8.2K $30.00 $60.00 — —
OpenAI unknown 8.2K $30.00 $60.00 — —
Provider data from OpenRouter's endpoint listing, refreshed daily.

Specifications

Organisation
openai
Released on OpenRouter
2023-05-28
Context window
8,191 tokens
Max output
4,096 tokens
Input
text
Output
text
Knowledge cutoff
September 2021
Tokenizer
GPT
Moderated by provider
No
OpenRouter id
openai/gpt-4
Compare with
Prices, context and providers from the public OpenRouter API, snapshotted daily; benchmark indices from Artificial Analysis. See /methodology.