The Hidden Infrastructure Tax in Multi-Agent Coding: An Estimated Replay of 39,526 Calls and an RTX 5090 Lab
Hook overhead, serial test gates and background prefetch storms took more summed call time than the frontier models. Revised after peer review: 96.5% to 97.7% of the named savings need no GPU at all.
Savings That Need No GPU
96.5%–97.7%
Tier 1 (CPU-only) share of named-fix savings: 98.26 of 101.87 hrs in the 14-day replay, 67.53 of 69.14 hrs/wk in the 7-day table
14-Day Replay incl. Haiku Fallback
45.36–53.30 min
ESTIMATED TIME: 121.82 summed hrs of logged calls replayed at measured local latencies, with 4% Haiku fallback priced at 3 s timeout + 4,806 ms Haiku p50
Out-of-Sample Checklist F1
97.04%
Deterministic Arm 0+ on 14 briefs written after the rules froze (115/120 oracle items); the qwen3:14b hybrid and PHI holdouts are still planned
Warm Pytest Worker Pool
10.36x speedup
CPU-resident 4-worker daemon cut median unit test runs from 664.07 ms to 63.15 ms (15.16x on single files)
Empirical Findings Table
Across 39,526 replayed telemetry records and 6 laboratory arms, a CPU-only tier captures 96.5% to 97.7% of the named-fix savings, a 4 GB-class GPU tier adds 3.61 hours, and the replayed 14-day total falls from 121.82 hours of summed concurrent call duration to an estimated 45.36 to 53.30 minutes with Haiku fallback priced in.| Telemetry Metric | Measured Value | Context & Observability |
|---|---|---|
| Hardware Tier Split (Named-Fix Savings) | 96.5%–97.7% | Tier 1 CPU-only: 98.26 of 101.87 hrs (14-day replay) and 67.53 of 69.14 hrs/wk (7-day table). Tier 2 (resident qwen3:4b + nomic-embed-text, 2.77 GB of weights): 3.61 hrs and 1.61 hrs/wk. Tier 3 (32 GB, qwen3:14b at 13,815.5 MiB resident, H1 peak 30,747 MiB): 0 hrs saved, +4.11 in-sample F1 points. A further 19.38 hrs (16.0% of the replay) is a 100 ms cap on calls with no named fix, mostly automated cross-model review calls. |
| 14-Day Replay with Haiku Fallback (Estimated) | 45.36–53.30 min | Revised pricing gives 35.26 min (fast) / 37.82 min (hybrid). A 4% fallback at 3 s timeout + 4,806 ms Haiku p50 adds 10.10 min if applied to the 56% of calls that reach Stage 2 (77.66 calls) or 18.04 min if applied to all 3,467 PHI-screen rows (138.68 calls): 45.36 to 53.30 min fast, 47.92 to 55.86 min hybrid. The originally published 36.59 / 55.36 min used legacy pricing. |
| Gatekeeper Gap per PHI Call | ≈4.4 s | Claude Haiku p50 4,806 ms (ledger) / 4,628 ms (lab) vs local qwen3:4b Stage 2 at 393 ms (live) / 258.70 ms (lab) / 217 ms (first production day) and Stage-1 deterministic pre-screen at 0.04 ms: 4,806 - 393 = 4,413 ms and 4,628 - 258.70 = 4,369 ms per call. |
| H1 Concurrent Routing (N=1,350) | 1,350/1,350 (100.0%) | Zero cross-talk (Clopper-Pearson 95% CI [0.0, 0.2729]%) across C in {1, 2, 4, 8} on llama3.2:3b, qwen3:4b, and nomic-embed-text after disabling qwen3 thinking preambles. |
| H2 Embed + 5,600-Vec Search (N=30) | 8.42x | End-to-end speedup (77.42 ms vs 656.82 ms p50, 95% CI [8.19, 8.65]x, Wilcoxon W = 0.0, p = 1.86e-09): 7.38x embedding speedup + 25.44x BLAS search speedup with 98.75% top-5 parity. |
| H3A HIPAA PHI Screen (N=100, Synthetic, In-Sample) | 100.0% accuracy | Arm 0+ hardened rules achieved 100/100 (F1 = 1.0000) at 0.03 ms p50; Arm 4 two-stage cascade (Pre-screen -> Warm qwen3:4b) achieved 100/100 with 0.04 ms negative p50 (88% of hard negatives exit at Stage 1; 56/100 cases reach Stage 2), McNemar p = 0.015625 vs baseline Arm 0 at 93.0%. Rules were refined on this set; out-of-sample run planned. |
| H3B Brief-to-Checklist (N=50, 370 Oracle, In-Sample) | 99.46% Micro F1 | Arm 4 Hybrid (Arm 0+ + schema-constrained qwen3:14b) matched 367/370 items (99.73% precision, 99.19% recall, Macro F1 99.40%, McNemar p = 2.65e-22 vs baseline Arm 0 at 59.98% F1 and p = 3.73e-09 vs Arm 0+ at 95.35% F1). |
| H3B Out-of-Sample (14 Post-Freeze Briefs) | 97.04% | Deterministic Arm 0+ matched 115/120 reference items (98.29% precision, 95.83% recall) vs Arm 0 at 61.63% F1; Arm 4 (qwen3:14b) holdout planned. The reference benchmark shares rule families with Arm 0+. |
| H4 Warm Test Pool (N=90) | 10.36x speedup | CPU-resident Ryzen 7 9800X3D 4-worker parallel-sharded speedup vs cold pytest (63.15 ms vs 664.07 ms p50, 95% CI [9.91, 11.27]x, p = 1.74e-16): 15.16x on 1 file (42.29 ms), 10.18x on 3 files (63.15 ms), and 9.43x on 5 files (80.80 ms, 2.85x faster than serial warm execution). |
| 20-Turn Session Non-Coding Overhead | 10x-19x faster | Estimated non-coding wait time per 20-turn coding session dropped from 2.9-5.0 minutes down to 10-19 seconds (saving ~68.95 to 69.03 hrs/week of combined foreground + background summed compute with Haiku fallback priced in, ESTIMATED TIME). |
Engineering Action Directives
Fix the software first: consolidate lifecycle hooks into one process, filter recursive subagent transcripts out of background ingest, and replace background LLM syntheses with lightweight index lookups. On our data that is where 96.5% to 97.7% of the named savings came from, on a CPU.
Buy a large GPU to speed up work that should not run at all.
Put a resident small model behind a fast deterministic pre-screen for narrow admission checks, and keep the cloud model as the fallback on timeout or parse failure.
Pay a cloud round trip (about 4.4 s per call on our ledger) on every tool turn for a yes/no classification.
Keep a persistent parallel warm test worker pool resident locally for iterative 1-to-5 file unit test runs.
Pay a 664 ms cold runtime import tax or serialize execution on every iterative edit verification.
Report fallback cost and out-of-sample results next to the headline, and label anything not measured as a projection.
Quote in-sample accuracy or a replay total that leaves out the cloud fallback path.
Methodology Boundaries & Limits
- In-sample vs out-of-sample: the 100.0% PHI accuracy (Arm 0+ and Arm 4) and 99.46% checklist Micro F1 (Arm 4) come from rules refined on the same 100-case synthetic PHI set and 50-brief corpus. The only out-of-sample run so far is deterministic Arm 0+ on 14 post-freeze briefs (97.04% F1, scored against an automated baseline). For the PHI arms and for the qwen3:14b hybrid, prospective out-of-sample holdout testing is required to establish unseen generalization.
- Hardware tiers: the 4 GB tier is a projection from model weight sizes (qwen3:4b 2.50 GB, nomic-embed-text 0.27 GB); it was not benchmarked on a 4 GB device, and KV cache and parallel slots add memory on top of the weights. A 30B coder model was not benchmarked in this study.
- Production status: the CEO approved the local qwen3:4b PHI classifier on 2026-10-15, and the two-stage local cascade (deterministic pre-screen, then warm qwen3:4b) is now the default PHI admission check; secondary local classification checks remain opt-in. Claude Haiku is the fallback when the local model is unavailable, times out (3 s), or returns an answer that does not parse, and Anthropic is covered under our BAA. Live-path check on the same 100 synthetic cases: warm qwen3:4b answered 96 of 100 calls locally with 0 false negatives and 0 false positives at a 393 ms median (1.04 s p90); the other 4 hit the 3 s timeout and would have gone to Haiku. Haiku judged 24 of the 50 positives NOT_PHI due to synthetic-data handling differences in the live prompt. First production day: 620 local answers at a 217 ms median and 29 Haiku fallbacks (4.47%), all within four minutes of service start.
- Weekly time-saved figures and 14-day replay totals are ESTIMATED TIME projections from observed call volumes and measured p50 latencies on one RTX 5090 + Ryzen 7 9800X3D workstation, not a prospective A/B trial. The 121.82 hours are summed call duration across concurrent lanes, not calendar time.