Live results · Jun 21, 2026

Premium AI Model Tests — The Flagships on Genuinely Hard Tasks

Our cheap-model tests answer “what's the best value LLM?” This page asks the opposite question: when you reach for the most capable models money can buy, what do the extra dollars and seconds actually buy you? We took the four high-end flagships — GPT-5.4 Pro, Claude Opus 4.6, Gemini 3.1 Pro and GLM 5.2 in Max reasoning mode — and sent each the same deliberately hard prompts through the live All AI Ask API. Every number below is real, and both tasks were verified programmatically, not just eyeballed.

2
Hard tasks
4
Flagship models
8
Live API runs
41×
Price spread

The tasks

Complex Reasoning

Solving a Constraint Logic Puzzle

A five-house constraint-satisfaction puzzle with five interlocking clues and a single valid solution. The model must reason through both cases, eliminate the dead end, and report the exact arrangement and count.

Best value: Claude Opus 4.8 (100/100)
View full results →
〈/〉
Advanced Coding

Median of Two Sorted Arrays in O(log n)

A classic hard algorithm: compute the median of two sorted lists in O(log(min(m,n))) time. A merge is explicitly disallowed, so the model must implement the tricky binary-search partition correctly — including empty-list and even/odd edge cases — and return code only.

Best value: GLM 5.2 (Max) (100/100)
View full results →

Overall leaderboard

Averaged across both hard tasks. Accuracy is graded against each task's published criteria and cross-checked programmatically. Ties on accuracy break toward the cheaper model.

#ModelAvg accuracyAvg speedList priceTotal cost
🥇
Claude Opus 4.8Anthropic
10099.1 t/s$25/M$0.036505
2
GPT-5.4 ProOpenAI
10012.2 t/s$180/M$0.2565
3
GLM 5.2 (Max)Z.ai
99.559.4 t/s$4.4/M$0.02237
4
Gemini 3.1 ProGoogle
98.520.5 t/s$12/M$0.010744

How we tested

  • The cohort: the four high-end flagships — GPT-5.4 Pro, Claude Opus 4.6, Gemini 3.1 Pro, and GLM 5.2 run in Max reasoning mode.
  • Identical prompts: each model received the same prompt through the live API; GLM 5.2 used reasoningEffort: "max", the others their default flagship settings.
  • Real metrics: latency, token counts, and cost come straight from the API for each run. (GPT-5.4 Pro's token count is estimated from output length — the API under-reports it for that model.)
  • Verified accuracy: the logic puzzle was checked by exhaustive search and every code answer was executed against a 5,000-case correctness harness — so the grades aren't guesswork.

Pit the flagships against your own hard prompt

Send one prompt to every premium model at once and watch the speed, cost, and quality side by side.

Try the live playground free →