AI model comparison

GPT-4o (2024-05-13) vs GPT-4

Pricing, context window, benchmarks, and features compared side by side. Or skip the guesswork and send one prompt to both.

GPT-4o ("o" for "omni") is OpenAI's latest AI model, supporting both text and image inputs with text outputs.

Input / 1M
$5
Output / 1M
$15
Context
128K
openai logo

OpenAI

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
Output / 1M
$60
Context
8K

At a glance

Quick verdict

How the two models stack up on the things people ask about most.

Lower price

openai logo

GPT-4o (2024-05-13)

5.1x cheaper for a typical chat

Higher intelligence score

openai logo

GPT-4o (2024-05-13)

7.3 vs 6.7 on Artificial Analysis

Larger context window

openai logo

GPT-4o (2024-05-13)

128K vs 8K tokens

Newer release

openai logo

GPT-4o (2024-05-13)

Released May 13, 2024

Benchmarks

Benchmark scores

Independent scores from Artificial Analysis. Higher is better.

Intelligence index

openai logoGPT-4o (2024-05-13)7.3
openai logoGPT-46.7

Coding index

openai logoGPT-4o (2024-05-13)24.2
openai logoGPT-413.1

Agentic index

openai logoGPT-4o (2024-05-13)Not available
openai logoGPT-4Not available

Pricing

GPT-4o (2024-05-13) vs GPT-4 API pricing

Per-token API rates. Cheaper option highlighted.

Metricopenai logoGPT-4o (2024-05-13)openai logoGPT-4
Input tokensPer 1M tokens$5$30
Output tokensPer 1M tokens$15$60
Cached input (read)Per 1M tokensNot availableNot available
Cache writePer 1M tokensNot availableNot available

What it costs in practice

Estimated cost per 1,000 requests at standard rates. Coding and long-document figures also show the cost when the input is already cached.

Chat message

2K in, 500 out

openai logoGPT-4o (2024-05-13)$17.50
openai logoGPT-4$90

Coding task

30K in, 4K out

openai logoGPT-4o (2024-05-13)$210
openai logoGPT-4$1140

Long document summary

150K in, 2K out

openai logoGPT-4o (2024-05-13)$780
openai logoGPT-4$4620

Specs

Context window and capabilities

How much each model can read, how much it can write, and what it accepts as input.

Metricopenai logoGPT-4o (2024-05-13)openai logoGPT-4
Context window128K tokens8K tokens
Max output4K tokens4K tokens
Input typesFile, Image, TextText
Output typesTextText
Reasoning effort levelsNot availableNot available
Default reasoning effortNot availableNot available
Release dateMay 13, 2024May 28, 2023

Features

Supported features

API features available for each model.

Metricopenai logoGPT-4o (2024-05-13)openai logoGPT-4
Tool callingSupportedSupported
Structured outputsSupportedSupported
JSON modeSupportedSupported
ReasoningNot supportedNot supported
TemperatureSupportedSupported
Stop sequencesSupportedSupported
Deterministic seedSupportedSupported
Verbosity controlNot supportedNot supported

Our take

GPT-4o (2024-05-13) is 5.1x cheaper for a typical chat. GPT-4o (2024-05-13) scores higher on the Artificial Analysis Intelligence Index (7.3 vs 6.7). GPT-4o (2024-05-13) has the larger context window (128K vs 8K tokens). The right pick depends on your workload, so the quickest way to settle it is to send the same prompt to both and compare.

FAQ

Frequently asked questions

Is GPT-4o (2024-05-13) or GPT-4 cheaper?

GPT-4o (2024-05-13) is cheaper for a typical chat (2K input tokens and 500 output tokens). GPT-4o (2024-05-13) costs $5 per 1M input tokens and $15 per 1M output tokens, while GPT-4 costs $30 per 1M input tokens and $60 per 1M output tokens.

Which has a bigger context window, GPT-4o (2024-05-13) or GPT-4?

GPT-4o (2024-05-13) supports up to 128K tokens of context, compared with 8K for GPT-4.

Is GPT-4o (2024-05-13) smarter than GPT-4?

On the Artificial Analysis Intelligence Index, GPT-4o (2024-05-13) scores 7.3 and GPT-4 scores 6.7, putting GPT-4o (2024-05-13) ahead. Benchmarks don't capture everything, so the best test is running your own prompts through both.

Can I use GPT-4o (2024-05-13) and GPT-4 at the same time?

Yes. Shortcut Chat sends one prompt to multiple models at once, so you can see GPT-4o (2024-05-13) and GPT-4 answer side by side and keep the better response.

openai logoopenai logo

Why choose? Ask both.

Send one prompt to GPT-4o (2024-05-13) and GPT-4 at the same time. Compare the answers side by side and keep the best one.