AI agent interface benchmark
One model. Four interfaces.
5 tasks · 20 fresh runs · 12/12 quality checks



Four AI Agents Tested: Tokens, Time and Quality
Benchmark at a glance
20 responses · 12/12 quality checks passed
- 96.49
Codex App- Tokens
- 4.09M
- Time
- 30.98 min
- Calls
- 66
- Reading
- Best balance
- 95.77
Codex CLI- Tokens
- 4.09M
- Time
- 30.86 min
- Calls
- 62
- Reading
- Fastest execution
- Pi95.75
- Tokens
- 3.37M
- Time
- 37.48 min
- Calls
- 170
- Reading
- Fewest tokens
- 93.65
OpenCode- Tokens
- 4.20M
- Time
- 36.13 min
- Calls
- 186
- Reading
- Flexible alternative
Four views of the same runs
Weighted overall score
Focused scale 90–100 · higher is better
Processed tokens
Millions of tokens · lower is better
Total runtime
Minutes · lower is better
Tool calls
Calls across five tasks · lower is better
AI in architecture is no longer limited to image generation. It is appearing in brief analysis, building-code and site research, layout studies, and recurring validation or documentation work. The RIBA AI Report 2025 describes these uses across pre-design, design and testing. At the same time, a 2025 AIA study found that only 8 percent of surveyed firms had formally implemented AI, while another 20 percent were actively working toward it.
During this transition, most discussions focus on the model and overlook the interface that actually directs it. Two agents can run the same model yet process different amounts of context, make different numbers of tool calls and take different amounts of time. For an architecture practice using AI for tender review, planning research, BIM-adjacent automation or internal quality control, that difference is operationally important. It affects cost and speed, but also traceability, automation and the amount of human supervision required.
I therefore compared four agent interfaces under the same conditions: Codex App, Codex CLI, Pi and OpenCode.
What the test actually measures
This was not a comparison of different local models. The same gpt-5.6-luna model at maximum reasoning effort ran in all 20 fresh sessions. The benchmark isolated the agent layer around it: context management, tool use, runtime and the ability to derive a defensible answer from a real repository.
The five tasks came from five different repositories and covered demanding read-only investigations: publishing state, approval workflows, 3D inventory evidence gates, CAD/DXF output consistency and concurrent notification delivery. Each task ran on all four interfaces with the same prompt. After normalising line endings and trailing whitespace, the four prompt copies for each task produced the same SHA-256 hash.
Every answer was then checked against the current source code. The rubric covered behavioural tracing, risk accuracy, evidence or tests, and response-contract compliance. All 20 final answers scored 12 out of 12. That does not prove that the agents are equally intelligent in general; it means these five research tasks reached the quality ceiling of this test.
Overall results
The weighted score assigned 60 points to quality, 15 to processed token volume, 15 to runtime and 10 to reliability.
- Codex App: 96.49/100 · 4,093,797 processed tokens · 494,181 non-cached tokens · 30.98 minutes · 66 tool calls
- Codex CLI: 95.77/100 · 4,088,140 processed tokens · 492,620 non-cached tokens · 30.86 minutes · 62 tool calls
- Pi: 95.75/100 · 3,370,229 processed tokens · 545,013 non-cached tokens · 37.48 minutes · 170 tool calls
- OpenCode: 93.65/100 · 4,198,888 processed tokens · 633,320 non-cached tokens · 36.13 minutes · 186 tool calls
The ranking is tighter than it first appears. Codex App won the weighted score; Codex CLI was only 6.85 seconds faster in total. Pi finished just 0.02 points behind the CLI but showed a distinctly different resource profile. OpenCode delivered the same measured answer quality, although it did not lead this set in tokens, runtime or tool-call count.
The Pi question: does it really use fewer tokens?
Pi is the newest and most deliberately minimal agent approach in this comparison. The official Pi documentation describes a small, extensible terminal environment, while its compaction documentation explains how older context can be summarised and large tool outputs constrained. That design has helped create a community perception that Pi is especially lean. Anecdotes, however, are not a controlled measurement.
Our five tasks produced a more precise answer. Pi had the lowest total processed token volume at 3.37 million: 17.7 percent below Codex App, 17.6 percent below Codex CLI and 19.7 percent below OpenCode. The expectation of leaner total context processing was therefore confirmed in this benchmark.
But only for that metric. Codex CLI and Codex App used fewer non-cached tokens. Pi also took roughly 21 percent longer than the CLI and made almost 2.7 times as many tool calls. “Fewer tokens” is therefore incomplete unless we state whether the goal is to minimise total context volume, newly processed content, actual API cost or human waiting time.
The word “token” itself needs care. The four export formats did not expose identical fields, so the common measure was normalised as a workload metric: input, cache activity, output and, where separate, reasoning. It is not a direct invoice amount or a statement about subscription limits.
Which interface fits which architecture workflow?
Codex App is the strongest default for interactive investigation. When drawings, screenshots, reports and intermediate results need to be reviewed together, and a human will regularly intervene, the app offers the best balance of visibility, speed and handoff.
Codex CLI fits repeatable workflows: standard repository audits, automated documentation runs, CI-adjacent checks or clearly defined quality gates. It was the fastest interface in this benchmark and used the fewest tool calls.
Pi is compelling when a slim, adaptable agent layer or total context volume matters most. That may be useful for experimental local-model stacks, constrained context windows or custom tool chains. This benchmark did not use a local model, however, so it does not establish how Pi behaves with local inference.
OpenCode remains useful for provider flexibility and as an independent second surface. It passed every quality check but showed no general efficiency advantage across these five tasks.
The practical question is therefore not “Which agent is best?” but “Which friction should this workflow minimise?” For a one-off visual planning review, interactivity may dominate. For nightly code, standards or documentation checks, reproducibility and runtime may matter more. For local experimentation, context budget and extensibility may be more important than raw speed.
Limits and the next benchmark
The five tasks were real and demanding, but read-only. This benchmark measures research quality and operating efficiency, not the correctness of code changes. It has not yet tested a targeted bug fix with tests, a small multi-file feature, repair of a deliberately broken test, a browser workflow with persistent readback, or safe continuation after an interrupted session.
Those tasks form the logical second phase. Only then can we see whether today's almost identical quality results persist when an agent changes a system and becomes responsible for regressions.
My current conclusion is pragmatic: Codex App as the interactive default, Codex CLI for automation, Pi for token- and harness-oriented experimentation, and OpenCode for flexibility or a second opinion. Pi did meet the expectation of lower total processed-token volume, but not for free. The saving came with longer runtime and many more tool steps.
More posts

From many candidates to three profiles: Qwen3.8-27B with MTP and DFlash2
On one RTX 4090, MTP and DFlash2 profiles were eliminated stage by stage. The result is not one universal winner, but a 120K MTP default, a fast 90K DFlash2 text specialist, and a verified 90K MTP vision profile.

Four conditions, one task: what speculative decoding and your agent tool actually cost
Four conditions solved the identical task in the identical repository and every one scored 99 or 100 out of 100. Net task time — with approval waits and automatic context compaction excluded from every measurement — ranged from 11:45 for the cloud run through DSH standard mode to 54:48 for the local model with speculative decoding off.

Coding agent benchmark: how much the runtime layer changes the result
Four coding-agent runs changed the same repository and passed their targeted tests. Wall time still ranged from 6:04 to 13:57 because model, harness, cache and review acted together.