Back to models

Model compare

GPT-4 vs GPT-5

The readout for GPT-4 and GPT-5, before the detailed comparison sheet.

Key Takeaways

Weighted outcome: GPT-5. Benchmark capability categories carry 80%, while price, API performance, and availability carry 20%.

Decision read

GPT-5

GPT-5 has the higher weighted result; Model A / B score 4 to 96.

Evidence depth

78 data points

Includes 6 benchmark rows, 0 audit samples, and 10 provider examples.

Selection signal

Start with GPT-5

The charts below split 16 high-signal samples across speed, scores, and audit health.

Change comparison

Switch either side of this report to compare another model with the same LMSpeed data pipeline.

Select a different model to open a new comparison URL.

Comparison sheet

This report only uses LMSpeed data for GPT-4 and GPT-5: pricing, speed aggregates, third-party benchmark scores, and shared provider samples.

Model compare
GPT-4
GPT-5
Overall leaderContenderLeading
Weighted overall score4.0 pts96.0 pts
Benchmark category leads0 categories3 categories
Operational advantagesFirst-token latencyCheapest input price, Average speed, Free providers, Provider coverage
Context window8.2K tokens400K tokens
Max output4.1K tokens128K tokens
Modalities

Input

Text

Output

Text

Input

TextImageFile

Output

Text
Features
Text inputText outputTool callingStructured outputsJSON mode
Text inputImage inputFile inputText outputTool callingStructured outputsJSON modeReasoning

The overall result weights benchmark capability categories at 80% and price, API speed/latency, and availability at 20%. Recent test volume does not affect the winner, and missing benchmark categories are excluded.

Model metadata

Model compare
GPT-4
GPT-5
DeveloperOpenAIOpenAI
ReleasedMay 2023Aug 2025
ParametersNo dataNo data
TokenizerGPTGPT
Knowledge cutoff2021-09-302024-09-30
OpenRouter IDopenai/gpt-4openai/gpt-5
ReferencesNo dataNo data

When to choose each model

This report only uses LMSpeed data for GPT-4 and GPT-5: pricing, speed aggregates, third-party benchmark scores, and shared provider samples.

GPT-4

GPT-4 has these operational advantages: First-token latency.

GPT-5

GPT-5 is stronger in benchmark categories (Coding, Reasoning, Math) and operational dimensions (Cheapest input price, Average speed, Free providers, Provider coverage).

Benchmark score comparison

Third-party benchmark profile synced into LMSpeed; only metrics available for both models are shown.

Category performance

Compare benchmark category scores on a 0-100 scale. Select a category to inspect the gap.

Model A coverage
3 / 8
Model B coverage
7 / 8
Shared
3 shared categories

Avg. score

GPT-4

41.2

Avg. score

GPT-5

50.9

Agents

GPT-5

GPT-4-
GPT-545.8

Coding

GPT-5 leads by 2.4

GPT-446.2
GPT-548.6

Reasoning

GPT-5 leads by 13.9

GPT-436.8
GPT-550.7

Knowledge

GPT-5

GPT-4-
GPT-549.2

Math

GPT-5 leads by 20.7

GPT-440.7
GPT-561.4

Multilingual

No data

GPT-4-
GPT-5-

Multimodal

GPT-5

GPT-4-
GPT-547.9

Instruction following

GPT-5

GPT-4-
GPT-552.8

Professional benchmark details

Metric-level scores with benchmark source, rank depth, confidence, error, and evaluation date where available.

Pricingverified

Input price

SourceGPT-4

GPT-4

$30.00/M

Rank #184/186 · confidence 4

+$28.75/M

GPT-5

winner

$1.25/M

Rank #123/186 · confidence 4

Pricingverified

Blended price

SourceGPT-4

GPT-4

$37.50/M

Rank #184/186 · confidence 4

+$34.06/M

GPT-5

winner

$3.44/M

Rank #139/186 · confidence 4

Pricingverified

Output price

SourceGPT-4

GPT-4

$60.00/M

Rank #179/186 · confidence 4

+$50.00/M

GPT-5

winner

$10.00/M

Rank #142/186 · confidence 4

Reasoningverified

MMLU-Pro

SourceGPT-4

GPT-4

56.2%

Rank #121/129 · confidence 4

+30.9%

GPT-5

winner

87.1%

Rank #12/129 · confidence 4

Reasoningverified

GPQA

SourceGPT-4

GPT-4

34.9%

Rank #211/218 · confidence 4

+32.4%

GPT-5

winner

67.3%

Rank #148/218 · confidence 4

Mathverified

MATH-500

SourceGPT-4

GPT-4

56.8%

Rank #66/73 · confidence 4

+29.3%

GPT-5

winner

86.1%

Rank #42/73 · confidence 4

API audit comparison

Latest completed audits from shared providers, with four safety and integrity score groups plus report links.

Provider
GPT-4
GPT-5
No completed audits are available from shared providers yet.

Provider examples

Speed aggregates and input/output pricing share each provider row for real API selection and migration cost checks.

Provider
GPT-4
GPT-5
N1N5 tests

GPT-4

speed / latency

N/A / N/A

input / output

No data

GPT-5

speed / latency

102 tok/s / 948ms

input / output

No data

GPT-4

speed / latency

N/A / N/A

input / output

No data

GPT-5

speed / latency

58 tok/s / 17419ms

input / output

No data

GPT-4

speed / latency

N/A / N/A

input / output

No data

GPT-5

speed / latency

139 tok/s / 12690ms

input / output

No data

GPT-4

speed / latency

N/A / N/A

input / output

No data

GPT-5

speed / latency

N/A / N/A

input / output

No data

9527 API0 tests

GPT-4

speed / latency

N/A / N/A

input / output

No data

GPT-5

speed / latency

N/A / N/A

input / output

No data

GPT-4

gpt-4-32k-0613

speed / latency

No data

input / output

$0/request

GPT-5

gpt-5-2025-08-07

speed / latency

No data

input / output

$0/request

GPT-4

gpt-4-1106-preview

speed / latency

No data

input / output

$0.685/M/$2.05/M

GPT-5

gpt-5

speed / latency

No data

input / output

$0.0014/request

GPT-4

gpt-4-all

speed / latency

No data

input / output

$0.014/request

GPT-5

gpt-5

speed / latency

No data

input / output

$0.0068/request

GPT-4

gpt-4-all

speed / latency

No data

input / output

$0.011/request

GPT-5

gpt-5-all

speed / latency

No data

input / output

$0.0068/request

GPT-4

gpt-4-all

speed / latency

No data

input / output

$0.011/request

GPT-5

gpt-5-all

speed / latency

No data

input / output

$0.0068/request

FAQ

Weighted outcome: GPT-5. Benchmark capability categories carry 80%, while price, API performance, and availability carry 20%.

Why is this comparison indexable?
It has 6 verifiable comparison points, and both models have pricing or benchmark data.
Are missing metrics invented?
No. Metrics without LMSpeed data are omitted from this report.

Rankings are based on community-submitted tests and periodic health probes. Advisory only, not official data.