Model comparison

GPT-4 vs Sonar

Sonar is the stronger model overall, scoring 38.5 to 29.1 on the Noometry Index.

Last verified . 0 shared benchmarks.

GPT-4 OpenAI

29.1

Rank #316 Confirmed

Sonar Perplexity

38.5

Rank #187 Confirmed

Summary

  • The widest gap is in math, where Sonar leads 33.7 to 10.8.
  • Sonar is cheaper at $1 / $1 per million input/output tokens, against $30 / $60 for GPT-4.
  • Sonar accepts more context: 128K tokens versus 8K.

Side by side

GPT-4 and Sonar specifications
GPT-4Sonar
ProviderOpenAIPerplexity
Noometry Index29.138.5
Released2023-03-142024-01-01
WeightsProprietaryProprietary
Context window8K128K
Max output8K4K
Input $ / M tokens$30$1
Output $ / M tokens$60$1
Results tracked387

Sponsored placements are available on pages like this one. Advertise on Noometry

Category by category

Coding Sonar leads

GPT-4: 31.6 (#283), Sonar: 35.7 (#221)

Coding benchmarks
BenchmarkGPT-4Sonar
WeirdML12.4%—
BigCodeBench Instruct46%—
LiveBench Coding—35.1%
LMArena Coding1254—
BigCodeBench Complete57.2%—
HumanEval+79.3%—

Agentic & Tool Use Not comparable

GPT-4: —, Sonar: —

Agentic & Tool Use benchmarks
BenchmarkGPT-4Sonar
METR Time Horizons36.1%—

Reasoning Sonar leads

GPT-4: 17.8 (#289), Sonar: 21.1 (#227)

Reasoning benchmarks
BenchmarkGPT-4Sonar
Chess Puzzles4%—
LiveBench Reasoning—46.3%
LMArena Hard Prompts1241—
Mystery Game Puzzles12%—
DTBench62.7%—
LiveBench Data Analysis—37.9%
LMCA17.1%—
BIG-Bench Hard75.1%—
Epoch Capabilities Index125.89—
ForecastBench57.8—
HellaSwag95.3%—
LiveBench—46.9%
WinoGrande87.5%—

Math Sonar leads

GPT-4: 10.8 (#309), Sonar: 33.7 (#200)

Math benchmarks
BenchmarkGPT-4Sonar
OTIS Mock AIME 2024-20251.1%—
LiveBench Math—41.6%
LMArena Math1269—
MATH Level 523%—
GSM8K92%—

Knowledge Not comparable

GPT-4: 18.4 (#282), Sonar: —

Knowledge benchmarks
BenchmarkGPT-4Sonar
GPQA Diamond35.7%—
LMArena Expert1211—
MMLU86.4%—
TriviaQA84.8%—

Multilingual Not comparable

GPT-4: 40.6 (#215), Sonar: —

Multilingual benchmarks
BenchmarkGPT-4Sonar
LMArena Non-English1246—
LMArena Chinese1242—
LMArena French1283—
LMArena German1251—
LMArena Japanese1209—
LMArena Korean1184—
LMArena Russian1251—
LMArena Spanish1261—

Instruction Following Sonar leads

GPT-4: 65.3 (#222), Sonar: 71.4 (#150)

Instruction Following benchmarks
BenchmarkGPT-4Sonar
LiveBench Instruction Following—76.2%
LMArena Instruction Following1241—

Long Context Not comparable

GPT-4: 37.7 (#212), Sonar: —

Long Context benchmarks
BenchmarkGPT-4Sonar
LMArena Longer Query1244—

Writing & Preference Sonar leads

GPT-4: 34.9 (#268), Sonar: 52.6 (#167)

Writing & Preference benchmarks
BenchmarkGPT-4Sonar
LMArena Text1263—
LMArena Creative Writing1244—
EQ-Bench Creative Writing752—
LMArena Multi-Turn1257—
LiveBench Language—44.1%

Frequently asked questions

Is GPT-4 better than Sonar?

Sonar is the stronger model overall, scoring 38.5 to 29.1 on the Noometry Index.

Which is cheaper, GPT-4 or Sonar?

Sonar is cheaper. It lists at $1 per million input tokens and $1 per million output tokens; GPT-4 lists at $30 and $60.

Is GPT-4 or Sonar better for coding?

Sonar scores higher on coding benchmarks: 35.7 versus 31.6 in the Noometry coding category.

Which has the bigger context window?

Sonar does, with 128K tokens against 8K.

How many benchmarks do GPT-4 and Sonar share?

0 benchmarks have published results for both models. GPT-4 has 38 scored results on Noometry and Sonar has 7.

Related comparisons

Go deeper