GPT-4

OpenAIReleasedNov 6, 2023KnowledgeNov 2023
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
Speed & latency
Output speed
42 t/s
tokens / second
Time to first token
0.98s
latency
Headline indices
Individual benchmarks · click a row for effort variants
BenchmarkBest scoreEffortCost / task
GDPval221.5default
GPQA Diamond (lab-claimed)36%

Pricing by serving provider

standard tier · per 1M tokens · click a provider to expand
Serving providerInput /1MOutput /1MEndpoints
OpenAICheapest$30.00$60.001
ComponentUnitStandardBatchCached
Text input/1M tok$30.00
Text output/1M tok$60.00
OpenRouterCheapest$30.00$60.001
AzureCheapest$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
gpt-4openrouter/openai/gpt-4azure/gpt-4

Frequently asked questions

GPT-4 pricing, context and availability

How much does GPT-4 cost?

GPT-4 costs $30.00 per 1M input tokens and $60.00 per 1M output tokens at its cheapest provider via OpenAI.

What is the context window of GPT-4?

GPT-4 accepts up to 8K tokens of context and can return up to 4K output tokens.

Which providers serve GPT-4?

GPT-4 is available from 3 serving providers, each with its own pricing and model ID. OpenAI is currently the cheapest.

What can GPT-4 do?

GPT-4 supports 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