← Benchmarks

2026-06-07 · GPT-5.4 · Expression Evaluator Arena v1

We raced four GPT generations on a real coding task — GPT-5.4 won on efficiency

GPT-5.4 solved the task in 2 turns and ~8K tokens; GPT-5 and GPT-5.5 also passed, while GPT-4.1 thrashed for its full budget and failed to submit.

Scoreboard

#ModelCompositeCorrectnessReliabilityCost
1
GPT-5.4Winner
OpenAI
100100100100
2
GPT-5
OpenAI
10010010055
3
GPT-5.5
OpenAI
8810010046
4
GPT-4.1
OpenAI
00020

The tasks

  1. 01Build an integer expression evaluator

    Implement evaluate(expr) with operator precedence, parentheses, and unary minus — where division must truncate toward zero (not Python's floor //) and divide-by-zero must raise. Graded by a hidden three-tier test suite plus a strict output contract and LLM judges.

How the comparison worked

All four models got the same task, the same sandbox, and the same tools — a shell and a filesystem, a ten-iteration budget, no network. The task is a real slice of coding work with a verifiable outcome, not a trivia question: write a working program, and a hidden test suite decides whether it actually runs.

The current Expression Evaluator Arena fixture configures four composite dimensions: correctness from deterministic tests, output-contract compliance, code quality, and explanation clarity. The latter two use LLM judges. Completion is a separate metric used for the board's reliability context, not a configured composite dimension. See how AgentClash scores agent trajectories.

These historical reported numbers are unchanged. The current fixture is mutable; without the original frozen spec and execution evidence, it cannot reconstruct the exact historical composite calculation.

The task

Implement evaluate(expr: str) -> int in Python: operator precedence, parentheses, and unary minus, where division truncates toward zero — so -7/2 == -3, not Python's floor-division -4 — and divide-by-zero raises. The trap is deliberate: the lazy implementation reaches for Python's // or eval, which sails through the basic and unary tiers and then fails on negative division. Correctness is graded across three hidden test tiers (basic precedence, unary minus, truncating division), so a near-miss scores partial credit instead of a flat pass/fail.

What we saw

The trap didn't catch the frontier models. GPT-5, GPT-5.4, and GPT-5.5 all landed full correctness — they handled truncating division correctly rather than defaulting to floor division. The separation showed up everywhere else: how efficiently they got there, and whether the oldest model could finish at all.

GPT-5.4 won on efficiency. It submitted a correct, complete solution in 2 model calls and ~8K tokens — a perfect score with the leanest trajectory in the field.

GPT-4.1 thrashed and failed. It never converged: it burned all ten iterations in a debugging loop of repeated shell calls, spent ~41K tokens — five times the winner — and still never submitted a valid solution. The harder task surfaced the gap in agentic coding that the saturated tasks hide.

GPT-5.5 was correct but sloppy on the contract. It solved the problem but slipped on the strict final-output JSON shape, costing it the output_contract dimension and dropping its composite to 0.88.

The measured trajectory cost (raw, no price assumptions):

ModelModel callsTotal tokensOutcome
GPT-5.428,134✅ solved — leanest run
GPT-5314,695✅ solved
GPT-5.5417,693✅ correct, slipped on contract
GPT-4.110 (cap)40,932❌ failed — never submitted

The Cost column in the scoreboard is a token-efficiency score normalized to the leanest run (fewer tokens → higher); we don't assert dollar prices here.

Caveats

This is a deliberately small first comparison: one task, a single run per model (n=1), and an OpenAI-only field. The LLM-judge dimensions carry per-run variance, and one task can't rank models in general. Read it as a worked example of the format and the reported results, not a verdict on the models. The fixture link below points to mutable main; exact reproduction is not established.

Takeaway

A single benchmark number hides the trade-off that actually decides which model you ship. On this task every passing model was "correct" — but one solved it in two turns and another couldn't solve it at all. Compare them on your tasks, with your tools, and read the whole scoreboard before you pick.

For the summary and methodology appendix, see Coding agent benchmark — June 2026.

Methodology appendix

FieldValue
PackExpression Evaluator Arena (expr-eval-arena)
Eval specexpr-eval-arena-v1
Fixtureexamples/challenge-packs/expr-eval-arena.yaml
SandboxNative, shell + file tools, network off
Budget10 iterations, 240s max duration, 40K token cap

Models (n=1 each): GPT-4.1, GPT-5, GPT-5.4, GPT-5.5 (OpenAI).

Scorecard dimensions: correctness (gated hidden tests), output contract, code quality (LLM judge), explanation clarity (LLM judge), plus reliability and token-efficiency cost on the public board.

Run your own comparison:

The fixture link points to mutable main and the original commit and raw replay artifacts are not attached. These commands start a new run, not an exact reproduction. See benchmark methodology.

export AGENTCLASH_API_URL="https://api.agentclash.dev"
cd cli && go run . run create --follow
go run . run ranking <run-id> --json

Suggested checklist and ownership: docs/marketing/model-benchmark-workflow.md.

Run your own eval →