This model was retired on 2026-10-23. The pricing below is the last-known rate, kept for migration reference.

GPT-4Deprecated

OpenAIReleasedNov 6, 2023KnowledgeNov 2023
Tool usePrompt caching
Context
8K
Max output
4K
Serving providers
3
Cheapest input
$30.00 /1M
Prices are on-demand list rates. Enterprise commitments (committed-use discounts, provisioned throughput, negotiated rates) can be materially lower.

Benchmarks

independent evaluations · source: Artificial Analysis
Headline indices
Intelligence Index
6.8
of 100
Coding Index
13.1
of 100
Individual benchmarks · click a row for effort variants
BenchmarkBest scoreEffortCost / task
GDPval238.7default
GPQA Diamond35%default
IFBench33%default
MMLU-Pro56%default
Omniscience-33.8default
Omniscience Accuracy0.2default
Omniscience Non Hallucination0.3default

Pricing by serving provider

last-known · per 1M tokens · click a provider to expand
Serving providerInput /1MOutput /1MEndpoints
Azure$30.00$60.001
OpenAI$30.00$60.001
OpenRouter$30.00$60.001

Price history

input + output $/1M since we started tracking
Input Output
$0.000$20.00$40.00$60.00Sep 20Nov 23Jun 22$60.00$30.00

Cost calculator

estimate your monthly spend on this model
$10,800
estimated / month

Model IDs

copy the exact identifier for your platform
azure/gpt-4gpt-4openai/gpt-4

Frequently asked questions

GPT-4 pricing, context and availability

Is GPT-4 still available?

GPT-4 was retired on 2026-10-23. The pricing on this page is the last-known rate, kept for migration reference.

How much did GPT-4 cost?

GPT-4's last-known pricing, before it was retired on 2026-10-23, was $30.00 per 1M input tokens and $60.00 per 1M output tokens.

What was the context window of GPT-4?

GPT-4 had a 8K token context window and could return up to 4K output tokens.

What could GPT-4 do?

GPT-4 supported tool use and prompt caching.

Other OpenAI models

compare pricing across the OpenAI lineup

Popular comparisons

head-to-head pages featuring GPT-4
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI