GPT-4o vs GPT-5

Benchmarks, API pricing and specs, head to head. Data updated 2026-06-10.

GPT-4o

OpenAI · May 2024

The 2024 omni-modal classic with native audio in and out; superseded at the frontier but still everywhere in production.

GPT-5

OpenAI · Aug 2025

70.7

OpenAI's August 2025 unified flagship that merged the GPT and o-series reasoning lines into one model with selectable effort.

The verdict

GPT-5 wins 3 of the 3 benchmarks these models share, against 0 for GPT-4o. GPT-5 is about 1.3x cheaper per blended million tokens (3:1 input:output mix). GPT-5 also takes 400K of context versus 128K for GPT-4o.

Benchmark head-to-head 03

SWE-bench Verified
33.2%74.9%
GPT-4oGPT-5
GPQA Diamond
53.6%85.7%
GPT-4oGPT-5
MMMU
69.1%84.2%
GPT-4oGPT-5

Specs & pricing

GPT-4oGPT-5
modhub Index70.7
Input price / 1M$2.5$1.25
Output price / 1M$10$10
Context window128K400K
Max output16K128K
Open weightsnono
Reasoning modelnoyes
Multimodal inputtext, image, audiotext, image
Knowledge cutoffOct 2023Sep 2024
ReleasedMay 2024Aug 2025
Example monthly cost*$40.00$27.50

* 10M input + 1.5M output tokens per month at list prices, no caching. Green = better value on that row.

Frequently asked questions

Which is better, GPT-4o or GPT-5?
GPT-5 wins 3 of the 3 benchmarks these models share, against 0 for GPT-4o. GPT-5 is about 1.3x cheaper per blended million tokens (3:1 input:output mix). GPT-5 also takes 400K of context versus 128K for GPT-4o.
Which is cheaper, GPT-4o or GPT-5?
GPT-4o costs $2.5/$10 per million input/output tokens, while GPT-5 costs $1.25/$10. For a typical workload of 10M input and 1.5M output tokens per month, that's $40.00 versus $27.50.
Which model is better for coding, GPT-4o or GPT-5?
On SWE-bench Verified — the standard agentic-coding benchmark — GPT-5 scores 74.9% versus 33.2% for GPT-4o, making GPT-5 the stronger pick for coding agents.

More comparisons