OpenAI
OpenAI
FrontierDEPRECATED

GPT-4

Classic

The original 2023 GPT-4 with an 8K context. Deprecated by OpenAI; new traffic should target GPT-4.1 or GPT-5.

GPT-4 is a frontier AI model from OpenAI. It costs $30.000 per million input tokens and $60.000 per million output tokens (blended $39.000/M), with a 8,000-token context window.

INPUT
$30.000/M
per million input tokens
OUTPUT
$60.000/M
per million output tokens
BLENDED 70/30
$39.000/M
unchanged since 3 May
CONTEXT
8,000
tokens
What it is good at
  • Historic GPT-4 quality baseline
Typical use cases
  • Legacy GPT-4 pipelines awaiting migration

Benchmarks

vs. best public score
MMLU86%
Multitask academic knowledge across 57 subjects.
Graduate-level science questions, "Google-proof".
MATH42%
High-school competition math problems.
Python function synthesis from docstrings.
LMArena Elo1186 Elo
Crowd-sourced head-to-head preference Elo rating.
Hand-curated from each provider's published reports and public leaderboards. Methodology varies across sources, treat as directional rather than authoritative.

More from OpenAI

See all 28 →

Frequently asked questions

How much does GPT-4 cost?

GPT-4 costs $30.000 per million input tokens and $60.000 per million output tokens, for a blended reference rate of $39.000 per million tokens.

What is GPT-4's context window?

GPT-4 supports up to 8,000 tokens of context in a single request.

What is GPT-4 best for?

GPT-4 is well suited to Historic GPT-4 quality baseline and Legacy GPT-4 pipelines awaiting migration.

Who makes GPT-4?

GPT-4 is developed and served by OpenAI. It was released in Mar 2023.

Terms used on this page