Izzy Hurley
Ornella Esterhuizen10 minWe evaled Gemini 4 Neon across the same 20 questions about a selection of 4,000 traces through the Braintrust MCP. We used both Pi and Antigravity, and Neon answered all 20 questions correctly in both.[1] In Pi, Neon made more tool calls on every question, but spent 45% less across the run. We looked through the traces to see where the savings came from.
While building Patterns, we started measuring cost per correct answer as our key benchmark. In our first benchmark, Opus 5.5 in Claude Code spent between $0.78 and $6.97 per correct answer across four observability MCPs. GPT-6.2 Sol in Codex spent between $0.12 and $0.21. Codex used Code Mode and Claude Code called tools directly.
For Gemini 4 Neon, we were able to keep the model fixed and dig into the differences between the two different harnesses. In Antigravity, Neon called MCP tools directly and sometimes read selected lines from large results the harness had saved to a file. In Pi, Neon wrote JavaScript that could call several tools, combine their results, and choose what to return to the model.
We gave Neon 20 questions about 4,000 recorded conversations from simulated airline, retail, and telecom support tasks in τ²-bench. Each question ran in a fresh session with one MCP for access to the traces. Here are a few examples of the types of questions we asked:
These questions have tricky challenges for the LLM to solve. For the speed-test question, the failure is recorded on a tool span, but the spend covers the entire conversation. To compute the total, the agent has to find the matching tool calls and add each conversation's cost once.
Each agent returned a structured answer, and we used a deterministic scorer to check the answers against keys computed from the source conversations.
To calculate cost per correct answer, we added up the model spend for the 20 questions and divided it by the number of correct answers. If an agent spent money on a question and got it wrong, that spend still counted. The estimate covers model usage and excludes harness subscriptions. We priced Neon's reported usage at $3 per million uncached input tokens, $0.15 per million cached input tokens, and $15 per million output tokens.
A setup in this eval consists of a harness, a model, and a way of calling tools. Both Neon setups ran at xhigh reasoning.
| Harness | Model | Tool access | MCPs tested |
|---|---|---|---|
| Antigravity | Gemini 4 Neon | Direct MCP | Braintrust, LangSmith, Langfuse, Datadog |
| Pi 1.7.0 | Gemini 4 Neon | Code Mode | Braintrust |
Antigravity ran with direct MCP access on Braintrust, LangSmith, Langfuse, and Datadog. Pi 1.7.0 ran with Code Mode on Braintrust. Braintrust was the one platform both harnesses used, so the Pi and Antigravity comparisons below use that MCP. The Codex and Claude Code numbers come from the original benchmark. They ran the same 20 questions over the same 4,000 traces, with GPT-6.2 Sol in Codex using Code Mode and Opus 5.5 in Claude Code calling tools directly.
Braintrust MCP - 20 correct answers
Braintrust MCP - 20 correct answers
Pi spent less on 19 of the 20 questions. The exception was the flight-change cancellation question, which was $2.19 in Pi and $1.50 in Antigravity. On that question, 76% of Pi's input tokens were billed as uncached, compared with 18% across the full Pi run.
| Metric | Pi 1.7.0 with Code Mode | Antigravity with direct MCP |
|---|---|---|
| Cost per correct answer | $0.97 | $1.78 |
| Estimated model spend | $19.44 | $35.57 |
| Correct answers | 20/20 | 20/20 |
| MCP calls | 1,249 | 783 |
| MCP response size | 41.69 MB | 8.10 MB |
| Total tokens | 16.64M | 55.92M |
| Uncached input tokens | 2.93M | 5.52M |
| Cached input tokens | 13.13M | 49.63M |
| Output tokens | 0.58M | 0.77M |
Tokens fell by 70% and spend by 45% because most of the tokens Pi avoided were cache reads, which have the lowest price per token. Cache reads account for 36.50M of the 39.28M-token reduction and $5.48 of the $16.13 in savings. Uncached input fell by 2.59M tokens and accounts for $7.75, and output accounts for the remaining $2.90.
Pi's MCP calls returned about five times as much data as Antigravity's, 41.69 MB compared with 8.10 MB. In Pi those calls ran inside 256 Code Mode programs across 276 model requests. A program could return a tool response in full or use JavaScript to narrow it down before Neon read it.
Pi and Antigravity are different harnesses as well as different ways of calling tools, so the 45% cannot be attributed to Code Mode alone. Turning Code Mode on and off inside one harness would isolate its effect.
On the speed-test question, both setups found 179 conversations and $18.38 in support-agent spend. Each conversation counted once, even if the test failed several times or later succeeded.
In Antigravity, Neon sent separate SQL queries to group speed-test results by who requested the test and to inspect examples from both the support agent and the simulated customer. That distinction was important because the question asked specifically about tests the support agent ran. Neon found 299 matching failures across 179 distinct conversations. It then checked the recorded conversation costs by adding up the costs of the individual model calls. Read the Antigravity trace.
In Pi, Neon wrote 14 Code Mode programs and ran several SQL queries in parallel inside them. One query used ANY_SPAN(...) to select whole conversations containing a matching failure, then returned one row per conversation with its recorded cost and the sum of its model-call costs. JavaScript added up the rows and compared the two cost totals, and the model read each program's result. Read the Pi trace.
| Speed-test question | Pi | Antigravity |
|---|---|---|
| Estimated model spend | $0.92 | $1.45 |
| MCP calls | 64 | 32 |
| MCP response size | 0.87 MB | 0.31 MB |
| Total tokens | 1.01M | 2.46M |
Pi's 64 calls returned nearly three times as much data as Antigravity's 32, and Neon used less than half the tokens to process it.
With Code Mode, Neon cost $0.97 per correct answer, and Opus 5.5 in Claude Code cost $0.78 with direct MCP calls. Opus has the higher rates. The benchmark prices it at $0.20 per million cached input tokens and $20 per million output tokens. Claude Code billed almost all new input as one-hour cache writes at $8 per million tokens, where Neon's new input was billed as uncached input at $3.
| Metric | Claude Code with Opus 5.5 | Pi with Neon |
|---|---|---|
| Estimated model spend | $15.57 | $19.44 |
| Model requests | 341 | 276 |
| MCP calls | 315 | 1,249 |
| New input tokens | 1.05M | 2.93M |
| Cached input tokens | 10.83M | 13.13M |
| Output tokens | 0.25M | 0.58M |
| Spend on new input | $8.39 | $8.80 |
| Spend on cached input | $2.17 | $1.97 |
| Spend on output | $5.01 | $8.67 |
Output tokens account for $3.66 of the $3.87 difference. Neon generated 2.3 times as many output tokens as Opus, which include the 256 programs it wrote in Pi, and a 25% lower output rate did not offset that. Neon also took in 2.8 times as many new input tokens, but at $3 per million compared with $8 the spend was nearly equal. Spend on cached input was within $0.20.
Neon in Pi made fewer model requests than Claude Code, 276 compared with 341, and about four times as many MCP calls. Neon in Pi cost less than Claude Code on 6 of the 20 questions. On the speed-test question, Claude Code spent $0.74 across 15 MCP calls and 18 model requests, and Neon in Pi spent $0.92 across 64 MCP calls and 15 model requests.
Both the model and the harness changed between Claude Code and Pi, so we can’t isolate how much each contributed to the difference in spend.
Antigravity ran Neon with all four MCPs, which adds a third setup to the original benchmark's comparison. Pi ran only with the Braintrust MCP.
20 questions per MCP
The four MCPs ranked in the same order for all three setups, with Braintrust lowest, followed by LangSmith, Langfuse, and Datadog. With Neon in Antigravity, the other MCPs cost 2.5× to 6.8× as much per correct answer as Braintrust. Neon answered all 20 questions with the Braintrust, LangSmith, and Langfuse MCPs and 19 with Datadog's, where the repeat-order lookup question was interrupted before it returned an answer. The $36.83 spent on that attempt counts toward the Datadog total.
On these 20 questions, running Neon with Code Mode in Pi cut estimated model spend by 45% compared with direct MCP calls in Antigravity, with the same 20 correct answers. Neon in Pi still cost $3.87 more than Opus 5.5 in Claude Code, and $3.66 of that difference was output tokens.
We report one result per question and setup. The Antigravity totals include replacement attempts for selected Braintrust and Datadog questions. We did not repeat the full benchmark to measure run-to-run variation. Both Neon setups answered these 20 questions correctly on Braintrust. Their accuracy on other questions may differ.
The benchmark repository contains the questions, the scorer, and the Codex and Claude Code reproduction workflow. Reproducing the Neon runs also requires their runners and pinned settings.
You can compare investigation cost on your own traces and inspect the tool calls behind each answer. Sign up for free to trace your agents, or book a demo to work through your setup.
A newsletter for unfiltered thoughts on eval methodology, analysis, and failures
Subscribe