CAPY.BENCH
GitHub

Antigravity CLI / gemini-4-neon

Manual Note vs. Session Log Audit: 43m 55.5s Wall-Clock (vs. Placeholder 'TIme Hydrogren'), 7 Agent Commits (+1 Pre-Run init) & 49/49 Tests in 29.7s Read field notes ↓

Outcome
7/7 slices
All 7 specification slices passed · 49/49 tests
Time Elapsed
44m
Range 14m–1h 51m (28 runs)
Estimated Cost
$3.69
USD · range $0.00–$12.90
Test suite & secondary run metricsTests, context, calls & commits

Served 96.00% of 14.33M prompt tokens from prefix cache — saving $26.13 (87.6%) vs. $29.82 uncached; concentrated peak effort in S3 (Send one bounded GET: 23% of run cost ($0.85, 29 calls)); recovered from 24 tool errors across 171 executions.

Test Suite
49/49
100% passed (29.7s)
Total Tokens
14.44M
96.00% cache hit · 573.2k uncached · 117.1k out
LLM & Tool Calls
151 turns
171 tool executions (24 errors)
Peak Context
174.5k peak
13,167 → 174,503 prompt tokens; 176,803 total; 16.64% out of 1.05M
Git Commits
7
Recorded in commit log below
Verification Verdict:

Finished in 29.7 seconds (29.7s async, 0.00s sync) — 49 passed (30.1s 49/49 in JSONL task-324 release check; mix format --check-formatted clean; mix credo --strict: 69 checks on 21 files, 142 mods/funs, 0 issues)

Field Notes / 4 Observations

  1. Manual Note vs. Session Log Audit: 43m 55.5s Wall-Clock (vs. Placeholder 'TIme Hydrogren'), 7 Agent Commits (+1 Pre-Run init) & 49/49 Tests in 29.7s(3 points)Recovering Exact Duration (44m / 43m 55.5s in JSONL vs. 'TIme Hydrogren' in Manual Note) · Commit Count Audit (7 Agent Commits vs. 8 Total Git Commits) · Test Suite Audit (49/49 Passed in 29.7s)
    • Recovering Exact Duration (44m / 43m 55.5s in JSONL vs. 'TIme Hydrogren' in Manual Note) Because the manual note contained a placeholder duration (TIme Hydrogren), exact timing was recovered from records/20261119T014234Z.events.jsonl and transcript.jsonl. Session df1e2e9a-ddd3-49d3-9231-86995734971d opened at 2026-11-19T01:42:34Z (08:42:34 WIB) and completed final step 334 at 09:26:29 WIB (result.duration_seconds: 2635.451669s = 43m 55.5s, rounding to 44m) with **0 stream interruptions or API timeouts** across all 151 LLM turns.
    • Commit Count Audit (7 Agent Commits vs. 8 Total Git Commits) The manual note recorded Git commit: 8 alongside the 8-line git log output (70a03a4 init through e45c8df S7). Comparing git timestamps against session start shows 70a03a4 (init at 08:42:00 WIB) was created 34 seconds before agy launched at 08:42:34 WIB. Following the leaderboard's non-init conservation rule (tests/audit-runs.test.ts), commits records the 7 agent-authored slice commits (d5eb513 S1 through e45c8df S7) while commitLog lists all 8 git commits.
    • Test Suite Audit (49/49 Passed in 29.7s) Matches the manual note (Finished in 29.7 seconds (29.7s async, 0.00s sync) — 49 passed; 30.1s in the agent's final in-session task-324.log release check; mix format --check-formatted clean; mix credo --strict: 69 checks on 21 files, 142 mods/funs, 0 issues).
  2. Zero manage_task Polling & Zero Stream Interruptions: 0 Polls Across 10 Backgrounded Tasks with 13.4s/Turn Average Latency(2 points)0 manage_task Calls Across 335 Steps · Multi-Tool Batching & Fast Inference Cadence (13.43s/Turn)
    • 0 manage_task Calls Across 335 Steps: Whenever a run_command exceeded the 10-second synchronous wait threshold (WaitMsBeforeAsync: 10000), Antigravity CLI moved execution to the background (10 times total: task-106, task-159, task-174, task-216, task-222, task-251, task-287, task-316, task-324, and task-328). On all 10 occasions, gemini-4-neon emitted a brief status note, ended its turn, and waited for the reactive system_message wakeup—making **0 manage_task calls** across the entire run.
    • Multi-Tool Batching & Fast Inference Cadence (13.43s/Turn) Out of 151 LLM turns (2,028.6s total model inference = 77.0% of wall-clock), 20 turns dispatched parallel tool calls in a single response (up to 4 tools/turn, totaling 171 tool calls: 74 run_command, 63 edit_file, 25 write_file, 9 read_file). Average LLM inference latency was 13.43s/turn (321 thinking tokens/turn), 28% faster per turn than gemini-4-argon (18.6s/turn) and 26% faster than gemini-4-carbon (18.1s/turn).
  3. Mint HTTP/1 Streaming Client + SIGUSR2/+Bi Escript Wrapper Passed All Post-Boot PTY Ctrl-C Probes (~350 ms Early-Boot SIGUSR2 Window)(2 points)Architectural Choice (Mint.HTTP vs. Zero-Dep :gen_tcp/:ssl) · SIGUSR2 + +Bi Escript Wrapper & Holdout PTY Ctrl-C Audit
    • Architectural Choice (Mint.HTTP vs. Zero-Dep :gen_tcp/:ssl) Unlike gemini-4-carbon and gemini-4-argon (which built custom raw :gen_tcp/:ssl HTTP/1.1 parsers), gemini-4-neon added {:mint, "~> 1.6"} to mix.exs during S3 (Step 125) and implemented CapyBench.HTTPClient on top of Mint.HTTP.connect/4 and Mint.HTTP.stream/2, discarding body chunks in place while enforcing :verify_peer, :public_key.cacertificates_get/0, SNI, and custom host-header port formatting.
    • SIGUSR2 + +Bi Escript Wrapper & Holdout PTY Ctrl-C Audit The agent configured mix.exs with escript: [main_module: CapyBench.CLI, path: "cb.escript", emu_args: "+Bi -noinput"] and wrote ./cb to trap INT TERM, forward kill -USR2 "$child", loop wait "$child", and fall back to [ "$interrupted" -eq 1 ] && [ "$status" -gt 128 ] && exit 130. Against local HTTP servers (10 ms fast pacing at 0.55s, 800 ms slow in-flight at 0.50s, 3,000 ms stalled in-flight at 0.50s) and its own release check (task-328.log at 0.51s), foreground PTY Ctrl-C passed 100% with exit 130, empty stderr, and a valid 6-line partial summary (started == responses + failures). During the first ~350 ms of cold BEAM startup (0.05s–0.35s), ./cb's fallback guard still returns exit 130, though SIGUSR2 arrives before CapyBench.SignalHandler registers :sigusr2 on :erl_signal_server.
  4. Fastest Gemini 4 Run on Antigravity CLI (44m vs. 61m Argon & 88m Carbon), 96.00% Cache Hit Rate ($24.75 Saved) & 100% File-Edit Precision (88/88)(3 points)100% File-Edit Precision & Decomposition of the 24 Non-Zero run_command Exits · Unit Economics & Prefix Cache Stability (96.00% Hit Rate, Only 2 Post-Init Cache Misses) · Gemini 4 Family Triad on Antigravity CLI (neon vs. argon vs. carbon)
    • 100% File-Edit Precision & Decomposition of the 24 Non-Zero run_command Exits All 63/63 edit_file, 25/25 write_file, and 9/9 read_file calls succeeded on the first attempt (0 file-tool errors). All 24 tool errors were non-zero run_command exits: 20 deliberate red-phase TDD mix test runs verifying new tests failed before writing implementation code (S1 Steps 28, 39; S2 Steps 57, 66, 74, 82, 90, 98; S3 Steps 125, 130, 148; S4 Steps 184, 197; S5 Steps 232, 241; S6 Steps 261, 269, 279; S7 Steps 297, 308), 2 mix credo --strict readability/nesting catches (S3 Step 169, S4 Step 212), 1 disposable S3 TLS probe script before building ./cb (Step 142), and 1 S4 sleep-overshoot test setup tweak (Step 216).
    • Unit Economics & Prefix Cache Stability (96.00% Hit Rate, Only 2 Post-Init Cache Misses) Across 151 turns, gemini-4-neon processed 14,325,583 prompt tokens (573,190 uncached at $2.00/1M = $1.1464 + 13,752,393 cached at $0.10/1M = $1.3752) and 117,106 output tokens (including 48,479 thinking tokens) at $10.00/1M ($1.1711), totaling 14,442,689 tokens and $3.6927 ($3.69 under 2026 rates; $7.39 under 2027 rates; saving $24.75 / 87.0% vs. uncached $28.45). Only two turns after Step 1 had cache_read_tokens: 0 (Step 11 at 18,577 tokens and Step 156 at 86,245 tokens), and peak context reached just 174,503 prompt tokens (16.64% of 1.05M).
    • Gemini 4 Family Triad on Antigravity CLI (neon vs. argon vs. carbon) Across the three Gemini 4 models tested on antigravity cli (all achieving 7/7 full pass), gemini-4-neon finished fastest at **44m** (28% faster than gemini-4-argon's 61m and 50% faster than gemini-4-carbon's 88m active) with the largest test suite (49/49 tests vs. 26/26 and 42/42) and lowest peak context (174.5k vs. 203.8k and 252.6k), at $3.69 (within $0.32 of argon's $3.37 and 48% below carbon's $7.16).
Slice / Phase Breakdown9 phases · 151 LLM calls · $3.69 · peak in S3

Slice / Phase Breakdown / 9 Phases

Step Range spans transcript events (LLM + tool + system turns) · LLM Calls count completed model inference turns

Per-stage slice breakdown of step ranges, LLM calls, thinking tokens, and cost
Slice / PhaseStep RangeLLM CallsThinking TokensEstimated Cost
PrepPreparation: Workspace audit, README migration & Credo setup
1–24(24 steps)96,414
$0.24 (7%)
S1 PassS1: CLI help, +Bi escript wrapper & SIGUSR2 signal probe (d5eb513)
25–53(29 steps)133,922
$0.19 (5%)
S2 PassS2: CLI argument & URL validation with exit 2 on stderr (09e4fa6)
54–112(59 steps)293,482
$0.37 (10%)
S3 PassS3: Mint HTTP/HTTPS streaming GET client, TLS verify & cancellation (ab02e30)
113–180(68 steps)2913,324
$0.85 (23%)Peak
S4 PassS4: Paced 5s single-flight benchmark loop & integration tests (951d771)
181–228(48 steps)229,758
$0.68 (18%)
S5 PassS5: HTTP status breakdown, transport failures & exit codes (7293431)
229–257(29 steps)131,774
$0.30 (8%)
S6 PassS6: Elapsed time & completed-response p50/p95 latencies (3710c8b)
258–293(36 steps)173,968
$0.47 (13%)
S7 PassS7: Foreground PTY Ctrl-C partial summary & exit 130 (e45c8df)
294–322(29 steps)134,753
$0.41 (11%)
PostRelease verification: Full-suite rerun, Credo & live PTY Ctrl-C check
323–334(12 steps)61,084
$0.18 (5%)
Total (9 phases)334 steps15148,479$3.69
Tokens, Cache & Cost14.44M tokens · 96.00% cache hit · gpt-6-sol vs gpt-6.1-sol API USD

Tokens, Cache & Cost / gpt-6-sol vs gpt-6.1-sol API USD

Total Tokens
14.44M(573.2k uncached · 117.1k out)
Cache Hit Rate
96.00%(13.75M / 14.33M prompt)
Thinking Tokens
48.5k(of 117.1k output)
Peak Context
174.5k peak(13,167 → 174,503 prompt tokens; 176,803 total; 16.64% out of 1.05M)
Cache Savings
-$26.13 (87.6%)(vs $29.82 uncached)
Unit Economics
$0.53 / slice(2.06M tok/slice)
Tool Precision
86% ok(24 err / 171 calls)
Token volume and estimated cost breakdown comparing gpt-6-sol and gpt-6.1-sol pricing rates
ComponentTokensRate (gpt-6-sol)Cost (gpt-6-sol)Rate (gpt-6.1-sol)Cost (gpt-6.1-sol)
Uncached Input573,190$2.00 / 1M$1.1464$4.00 / 1M$2.2928
Cached Input (cache_read_tokens)13,752,393$0.10 / 1M (95% off)$1.3752$0.20 / 1M (95% off)$2.7505
Output (incl. 48,479 thinking)117,106$10.00 / 1M$1.1711$20.00 / 1M$2.3421
Total14,442,689—$3.69 ($3.6927)—$7.39 ($7.3854)
Calls & Tool Breakdown151 LLM turns · 171 tool executions · 24 errors

Calls & Tool Breakdown / Tool Loop

LLM Inference Turns
151completed agent_response steps
Tool Executions
171147 succeeded· 24 non-zero / error
  • tool/run_command
    74(43% · 50 ok, 24 err)
  • tool/edit_file
    63(37% · 63 ok)
  • tool/write_file
    25(15% · 25 ok)
  • tool/read_file
    9(5% · 9 ok)
Command & Interface UsedCLI · Single-prompt workflow

Command / Interface Used / CLI

agy --mode auto --dangerously-skip-permissions --model gemini-4-neon-high --effort high --output-format stream-json --print "$(< PROMPT.md)" > records/20261119T014234Z.events.jsonl 2> records/20261119T014234Z.stderr.log

Run window: 08:42:34–09:26:29 WIB (43m 55.5s / 2,635.5s wall-clock, 0 stream interruptions or API timeouts; placeholder 'TIme Hydrogren' in manual note) • Session df1e2e9a-ddd3-49d3-9231-86995734971d (gemini-4-neon-high, permission_mode: always-proceed, 151 LLM turns, 335 steps)

Git Commits8 checkpoints · Riza Fahmi

Git Commits / 8 Checkpoints

Author: Riza Fahmi · Timestamps relative to post-run capture

  1. e45c8dfS7S7: handle foreground Ctrl-C with partial summary and exit 130
    -18 minutes
  2. 3710c8bS6S6: report elapsed time and completed-response p50/p95 latencies
    -22 minutes
  3. 7293431S5S5: report HTTP status breakdown, transport failures, and exit codes
    -26 minutes
  4. 951d771S4S4: add paced five-second benchmark loop and CLI integration tests
    -29 minutes
  5. ab02e30S3S3: send one bounded streaming GET with TLS verification and cancellation
    -36 minutes
  6. 09e4fa6S2S2: validate CLI arguments and URLs with exit 2 on stderr
    -45 minutes
  7. d5eb513S1S1: launch cb CLI with help flags and Ctrl-C wrapper
    -52 minutes
  8. 70a03a4init
    -61 minutes