Multi-agent LLM workflows are easy to sell: one model writes, another reviews, a third judges, and the answer gets better. I spent the last few months trying to work out what those extra agents actually cost and what they actually buy. Most of my ideas for making them cheaper or more accurate didn’t work. This post explains why, because I learned more from the failures than from the one clean positive result.

TL;DR. Batching makes extra generation nearly free in energy. Serial dependencies between agents still cost a lot of latency. On my setup, no multi-call workflow beat a single writer by a statistically resolved margin, and most of the optimizations I tried (early KV preparation, workflow-aware admission scheduling, better verifiers) did not change which workflow you should pick.

The setup

Everything ran on a deliberately small, controlled setup:

  • Model: Qwen3-4B in non-thinking mode, served with vLLM on a single RTX 4090.
  • Tasks: HumanEval+ (164 tasks) and MBPP+ (378 tasks).
  • Workflows: a single writer; writer + reviewer + revision; and best-of-4 / best-of-8 sampling, with the winner picked by an LLM judge or by the visible tests.
  • Metrics: correctness, energy per task and per token, workflow p50/p95 latency, writer latency, prefill work, and stalls.

For the serving experiments, I replayed recorded workflow traces under random task arrivals so I could study the same workflows under realistic load.

1. In isolation: does collaboration help?

The first question was simple. Do more candidates, or a reviewer, improve correctness enough to justify what they cost?

Not on this setup. After Holm correction, no workflow beat the single writer by a statistically resolved margin. The closest was best-of-8 with visible-test selection on MBPP+, at Holm \(p = 0.051\). A non-significant result doesn’t make two workflows equivalent, but it isn’t a win either.

The costs, on the other hand, were clear:

Observation Result
Batched candidates 8 candidates ≈ 8× the tokens for 1.13× the energy of a single-candidate run
Serial calls Reviewer and LLM-judge workflows cost ~2–5× the energy in isolation
Execution control The same 4 candidates cost 2.7× more energy per token as separate requests than when batched

The biggest factor wasn’t how many agents there were. It was how their requests executed. Batched candidates share the GPU almost for free; serial calls don’t.

2. Under load: cross-task batching

Isolated profiles can mislead, because a real server batches requests across tasks. So I replayed the workflows under random arrivals at 1–4 tasks/s.

At 2–4 tasks/s, cross-task batching removed about 95% of the review workflows’ extra above-idle energy compared with the single writer. To be precise, that 95% refers to the incremental energy the review workflow adds, not to total GPU energy.

Latency is a different story. p95 workflow latency stayed about 3–7× higher, and it tracked the number of serial calls. Batching can absorb parallel work, but a reviewer still has to wait for the writer to finish.

Does this change which workflow you’d pick?

This was the real test. If isolated profiles misprice workflows, does a planner that relies on them choose the wrong one?

I reran four workflows (best-of-4 judge, best-of-8 visible tests, best-of-8 judge, writer + reviewer) at 1, 2 and 4 tasks/s, with three repetitions each on identical tasks and arrival times:

  • Energy was very repeatable (median variation 0.5%, max 2.6%), so I tightened the practical tie tolerance from 5% to 3%.
  • At 4 tasks/s, best-of-8 judge used +11.5 to +12.2% more energy per task than writer + reviewer in every repetition.
  • At 1–2 tasks/s, the same two were within ±1%, a tie.
  • Best-of-8 judge hit 11.5–11.6 s p95 at 2 tasks/s in every run, a confirmed violation of a 10-second latency budget.

But only 5 of 167 evaluated scenarios led to a consequential wrong choice based on isolated profiles. The rerun confirmed both kinds of mistake (wasted energy and a blown latency budget), but they were rare. This is a useful measurement lesson about load-dependent costs. It is weak evidence that we need a new load-aware workflow optimizer, at least on this hardware.

3. Early KV preparation: faster handoff, same workflow

Inspired by FlashAgents, I tried preparing the reviewer while the writer was still generating:

  • Static preparation prefills the reviewer’s known prompt head as soon as the task arrives.
  • Streaming preparation also feeds the writer’s tokens into the reviewer in chunks of 64 or 256 as they’re generated.
  • Evictable variants can lose their cached prefix; pinned variants hold the reviewer in a streaming-input session.

Mechanically, it worked. The reviewer’s first token arrived 24 ms after the writer’s final chunk, versus 137 ms with one-shot prefill, and all 270 assembled-prompt correctness checks matched. (Getting there required a small vLLM patch: resumed chunks were keeping the first chunk’s max_tokens.)

But the whole workflow didn’t get faster. On the realistic cell (8k document + recorded writer), here is p50 latency relative to no preparation (lower is better):

Policy 0.25/s 0.5/s 1/s (overloaded)
none 1.00 1.00 1.00
static 1.04 1.05 2.91
static + stream64 1.04 1.04 5.58
static + stream256 1.03 1.04 3.05
static-pinned 1.05 1.05 1.11
static + stream64-pinned 1.05 1.06 1.13

At sustainable loads, nothing helped, and no policy saved energy in any cell. Under stress it got worse: evictable streaming reached 3–8× latency, and pinned streaming stalled in all 9 runs of the 8k / 2,048-token-writer cell. Across the full grid, 15 of 180 runs stalled, 14 of them pinned-streaming.

Why it didn’t help

  1. The GPU is shared. Early reviewer prefill competes with the writer’s decode. In the realistic 0.25/s cell, about 0.6 s of writer slowdown cancelled about 0.6 s of saved reviewer prefill. Only small prefills (~128 tokens) fit into spare decode capacity almost for free.
  2. There isn’t much to hide. At ~0.05 ms per prefill token and ~13 ms per decode token, prefilling 2,048 generated tokens takes ~0.10 s, while generating them takes ~26.6 s. That’s about 0.4%:

    \[\frac{2048 \times 0.05\,\text{ms}}{2048 \times 13\,\text{ms}} \approx 0.4\%\]
  3. Long-lived KV state has a cost. Evictable sessions recompute what gets evicted. Pinned sessions hold memory and request slots, and in the implementation I tested, paused sessions weren’t preempted. The stalls look like resource deadlock.

To be fair to FlashAgents, I tested the preparation mechanism on a single shared GPU. I did not reproduce their full SGLang system, intra-turn prefix cache, or deployment configurations, and their strongest gains also come from concurrency and prefix reuse. This negative result applies to my setup only.

4. Workflow-aware admission scheduling

Next idea: let the scheduler know about workflow roles. Admit reviewers first, or cap how much work enters the engine at once.

Reviewer-first ordering beat FIFO by about 3% p50 (up to 6%) under the same cap. But the cap itself cost more than that: capped p50 was 1.18× uncapped vLLM. At 2k context, peak KV occupancy never went above 25%, and decode step time only rose from 12.4 to 15.5 ms going from 1 to 16 sequences. There was simply no resource pressure for a smarter scheduler to relieve. The 8k follow-up gave the same answer: no tested policy beat default uncapped vLLM. Admission caps mostly moved the waiting outside the engine and took away batching opportunities.

5. Is there headroom for a better verifier?

If multi-agent workflows don’t improve accuracy, maybe the problem is selection: the right answer is in the pool, and the judge just can’t find it. I checked this retrospectively on the saved eight-candidate pools. The analysis took 17 seconds on CPU and used hidden tests only for diagnosis.

Eight-candidate pool HumanEval+ MBPP+
Single sample correct 75% 62%
Best tested selector 78.0% (LLM judge) 65.9% (visible tests)
Oracle: any of 8 correct 82.3% 66.9%
Remaining selection headroom 4.3 pts / 7 tasks 1.1 pts / 4 tasks
No correct candidate at all 17.7% 33.1%

Generation failures far outnumber selection failures. With the LLM judge on both datasets there were 22 selection failures (4.1%) against 154 generation failures (28.4%). The samples are also highly correlated: eight samples gave only 2.4 distinct answers on average, and 46% of pools had a single answer. A perfect verifier can’t pick a correct answer that was never generated.

Reviewers weren’t reliable either. A single reviewer had 45% precision on HumanEval+ and 65% on MBPP+, and revision broke correct answers almost as often as it fixed wrong ones (12 fixed / 7 broken and 12 / 12).

So I stopped verifier development for this configuration (Qwen3-4B, non-thinking, 8 samples at temperature 0.7). The oracle is optimistic, and harder tasks or a stronger model could have more headroom.

6. A pilot that stopped at the gate

The last idea was tasks where agents hold different information, the setting where communication should matter most. I pre-registered a capability gate before running the real study: with all information given, the model has to score at least 0.80.

Qwen3-4B scored 0.259. The private information was also only ~115 tokens per task, so collecting everything into one context was trivially cheap. Any communication result would have been confounded by the base model failing, so the pilot stopped there. I’m glad the gate caught this before I spent weeks on it.

What I take away from this

  • Measure execution, not just call counts. Whether candidates are batched or run serially changes energy by multiples. Isolated profiles can mislead, though on this setup it rarely changed the final decision.
  • Parallel work is cheap; serial dependencies are expensive. Batching hides extra tokens, but nothing I tried hid the wait between writer and reviewer.
  • Check headroom before building the fix. A 17-second CPU analysis showed that the verifier I was planning to build had almost nothing to gain.
  • Use gates. The HiddenBench capability gate and the pre-chosen tie tolerances stopped me from reading noise as findings.

Just as important are the things these results don’t show. They don’t show that load-aware optimizers are useless, that any published optimizer is wrong, that preparation never helps on other hardware or engines, or that verification doesn’t matter for stronger models or harder benchmarks. They’re careful measurements of one small model on one GPU.

Where I’d go next

None of these are started yet. They’re proposals, not results.

Trustworthy agent handoffs. Can a system stay useful while enforcing authorization as information moves through summaries, agent messages and shared memory? For example: a worker summarizes an untrusted document, a planner turns the summary into a task, and an executor sends an email. Is that final action still tied to what the user was actually allowed to do? There is solid prior work here (ACIArena, Architecture Matters for Multi-Agent Security, AgentSpec, FORGE), so another guard agent wouldn’t be novel on its own. The plan is to pick one concrete failure, such as dependency information lost during summarization, and continue only if it survives a strong simple baseline like centralized least privilege.

JEPA for actions and their consequences. Predicting the next action is policy learning. Predicting what an action will cause is world-model learning. A JEPA-style objective could learn the second in representation space:

\[\hat{z}_{t+1} = P\big(E(s_t), a_t\big), \qquad \mathcal{L}_{\text{pred}} = \big\lVert \hat{z}_{t+1} - \operatorname{sg}\big(E_{\text{target}}(s_{t+1})\big) \big\rVert^2\]

The first experiment would use paired tool states that differ in one decisive fact (tests passed vs. failed, permission granted vs. revoked) and compare JEPA with action imitation, a small outcome classifier and a text world model at matched compute. ACT-JEPA, V-JEPA 2-AC, Web Agents with World Models and Agentic-JEPA are all prior art here. Low embedding MSE wouldn’t count as success; better task success or fewer harmful actions at the same cost would.

Further down the list: workflow-level risk control, recovery after memory compromise, and early preparation on heterogeneous or multi-device deployments, where the single-GPU result doesn’t apply.

References

  1. Fang et al. FlashAgents: Accelerating Multi-Agent LLM Systems via Streaming Prefill Overlap. MLSys 2026.
  2. An et al. ACIArena: Toward Unified Evaluation for Agent Cascading Injection. ACL 2026.
  3. Hagag et al. Architecture Matters for Multi-Agent Security. ICML 2026.
  4. Wang, Poskitt and Sun. AgentSpec: Customizable Runtime Enforcement for Safe and Reliable LLM Agents. ICSE 2026.
  5. Palumbo et al. Formal Policy Enforcement for Agentic Systems (FORGE). arXiv:2602.16708.
  6. Vujinovic and Kovacevic. ACT-JEPA: Novel Joint-Embedding Predictive Architecture for Efficient Policy Representation Learning. IEEE Access, 2026.
  7. Assran et al. V-JEPA 2: Self-Supervised Video Models Enable Understanding, Prediction and Planning. arXiv:2506.09985, 2025.
  8. Chae et al. Web Agents with World Models: Learning and Leveraging Environment Dynamics in Web Navigation. ICLR 2025.
  9. Rodrigo-Gines. Agentic-JEPA: A Self-Supervised World Model for Planning in Text-Based Agent Environments. Preprint, 2026.