Report
Dynamo replay of Harness Leaderboard agent traffic
A simulation study. Every original trial of a public coding-agent benchmark, 6.9 million model calls, replayed through NVIDIA Dynamo's simulator under four routers. Timing is modeled and no request ran on a GPU, so read the limits before using a number from this page.
the prompt tokens that NVIDIA Dynamo's default KV router recomputes, relative to session affinity, on coding-agent traffic: 26.6B against 8.9B tokens in simulation.
Fig. 1Prompt tokens recomputed, by router
Each block is the session-affinity total, so the blocks in a row count that router's multiple of it.
Summary
The Harness Leaderboard runs coding-agent harnesses on open-weights models and publishes a per-call log for every trial. This study took every original trial in that public dataset as listed on 2026-11-20, converted each one into a replayable agent session, and replayed all of them through Dynamo's CPU simulator (aisimulate predict --stack dynamo) under four routers. Every run replays on simulated GLM-5.3-Flash workers with two B300 GPUs each, and at least four workers.
The default KV router missed the latency target on 29 of 240 runs. Session affinity met it on all 240. Setting the KV router's prefill_load_scale to 16 brings it to 9.2B recomputed tokens and all 240 runs within the target. Timing comes from the simulator's operator-level model, and no request ran on a GPU: read the limits before using a number from this page.
- Prefill tokens
- Prompt tokens a worker had to compute because they were not in its KV cache. The text calls them recomputed tokens.
- Prefix reuse
- The share of prompt tokens a worker served from its KV cache.
- SLA
- A replay meets the SLA when at least 99% of its requests get their first token within 2 s (TTFT) and stay within 50 ms between output tokens (ITL).
Fig. 2The four routers differ in where they send a session's next call
A schematic of one routing decision on four workers. The session's prompt prefix is cached on worker 2, which is also decoding two other long sessions. Worker 4 is idle.
Round-robin
Each request goes to the next worker in turn.
KV router, defaults
Dynamo's KV router as shipped. It scores a worker by the prefill a request would need there plus the decode load already on it.
KV router, prefill_load_scale 16
The same router with the prefill term weighted 16 times.
KV router with session affinity
The KV router with conversation_affinity in session mode and a 300-second TTL, which keeps a session on the worker that already served it.
- The session's cached prefix
- Another session decoding on the worker
- Prefix recomputed on a new worker
Findings#
The default KV router recomputes 3.0x the tokens that session affinity does. Across the whole dataset it prefills 26.6B tokens against 8.9B and misses the SLA on 29 of 240 runs. Affinity meets it on all 240.
The gap concentrates under load. In the median run the default router prefills 1.6x what affinity does, and in the 90th-percentile run 3.2x. When runs that hit one endpoint at the same time are merged, the default KV router meets the SLA in 4 of 16 windows, with 90.3% of requests inside it. Affinity meets it in all 16 and prefills 2.5B tokens against the default router's 12.5B, a 5.0x gap.
One parameter recovers most of it. With
prefill_load_scale16, the KV router comes within 5% of affinity's prefill (9.2B against 8.9B) and meets the SLA on all 240 runs, as affinity does.Round-robin prefills 5.4x what affinity does and meets the SLA in 3 of 16 endpoint windows, none above 130 concurrent trials, with a mean TTFT of 53.6 s.
The ordering holds across traffic sources and harnesses. Hermes meets the SLA on 19 of 27 runs with the default KV router and on all 27 with affinity. DeepSeek Harness goes from 17 to 20 of 20, OpenCode 2.2.6 from 17 to 19 of 19, and Grok Build from 6 to 9 of 9.
Simulated affinity reuses far more than the real endpoints did. Over the same runs, the providers served 91.8% of prompt tokens from cache, and 71.8% of flint traffic. The simulated deployment with affinity reuses 98.6%.
A native DeepSeek-V4.1-Flash replay ranks the routers the same way. One DeepSeek run replayed on simulated DeepSeek-V4.1-Flash: default-router prefill is 3.1x affinity's (508M against 162M tokens), and p99 TTFT is 2.6 s against 571 ms. Its simulated decode speed fails the inter-token SLA under every router.
Limits#
The timing is modeled. AISimulate rates agentic replay as functional only. Every latency here comes from its operator-level model on measured B300 kernel data. No request ran on a GPU, so treat TTFT, ITL and SLA counts as simulator output that a hardware run still has to confirm.
Four of the five models are projected onto GLM-5.3-Flash. Every run replays on one target: GLM-5.3-Flash FP8 on vLLM 0.31.0, two B300 GPUs per worker. Traffic recorded on DeepSeek-V4.1-Flash, flint, Inkling-2-Small and Ripple-65B-Preview keeps its recorded token counts and takes GLM-5.3-Flash's timing. GLM-5.3-Flash keeps little KV cache per token, so a dense-attention model would run out of KV capacity sooner.
Each run has one pool size. The four routers serve a run on the same number of GPUs, so the comparison shows recomputed tokens and SLA attainment at a fixed size. How many GPUs each router would need is measured only for the two runs in the pool-size section.
Prompt blocks are synthesized. The converter reads no prompt text. Blocks are rebuilt from token counts on the assumption that a context grows by appending. Each call's output counts as new prefill in the next call under every router.
Pacing is closed-loop. Each agent waits for its simulated completions and keeps its recorded tool gaps, so a faster or slower simulated server moves the agent's next call with it. The replay does not reproduce the recorded arrival times.
Endpoint windows are a selected, overlapping set. Of 43 groups of overlapping runs, 16 were replayed: those where merged concurrency rose well above any single run, plus all four flint groups. Their trials also appear in the per-run results, so the two sets of totals cannot be added.
The provider logs show outcomes only. Cached-token counts come from each provider's own reporting. The logs say nothing about the providers' hardware, pool sizes or routing.
Results#
All 240 runs cover 69,923 trials and 6,947,564 requests per router. The 16 endpoint windows cover 24,472 trials and 2,171,700 requests per router. Every replay completed all of its requests.
Every latency and SLA count below is simulator output on a GLM-5.3-Flash target. See limits 1 and 2.
- Round-robin
- KV router, defaults
- KV router, prefill_load_scale 16
- KV router with session affinity
All runs and endpoint windows#
Fig. 3Prefill tokens by router
Prefill tokens in billions on one scale, with the number of replays that meet the SLA. The endpoint windows repeat trials from the runs, so the two panels cannot be added.
All 240 leaderboard runs
Each run replayed by itself.
16 endpoint windows
Runs that loaded the same provider endpoint at the same time, merged into one replay.
Show tableHide table
Fig. 4Replays meeting the SLA, by router
One square per replay, in the same position under every router. Runs and windows are ordered by peak concurrent trials, lowest first, so the misses that load causes sit toward the right.
All 240 leaderboard runs
16 endpoint windows
- Meets the SLA, in the router's color
- Misses the SLA
Fig. 5Time to first token, by router
Mean TTFT over all requests, and the 99th-percentile TTFT of the middle run or window. Logarithmic scale, with the 2 s bound of the SLA marked.
- Mean TTFT
- Median p99 TTFT
- Marks take the router's color
Modeled timing. Limit 1
Show tableHide table
Round-robin's mean TTFT is dominated by the replays where its queues collapse. Median p99 TTFT is the 99th-percentile time to first token of the middle run or window.
The KV router's cost adds prefill_load_scale times the uncached prefill blocks to the decode blocks already active on a worker. An active agent request carries about 100k tokens of context, roughly 1,500 blocks of 64 tokens. A worker that holds a request's cached prefix but serves one or two more long sessions therefore scores worse than a worker that has to recompute the whole prompt, and the router gives up the cached prefix. GLM-5.3-Flash's linear and sparse attention also makes long-context decode cheaper than that block count implies.
Fig. 6Each endpoint window#
Share of requests meeting the SLA in each window, by router. A window meets the SLA at 99.0% or more: those cells carry a check, and cells below it print their share. Start is the first call of the window in UTC.
Show tableHide table
Requests meeting the SLA, by router. A window meets the SLA at 99.0% or more; cells below that are marked. Start is the first call of the window in UTC.
The gap grows with load#
Fig. 7Default-router prefill relative to affinity, per run
The 240 runs, binned by default-router prefill divided by affinity prefill. At 1x the two routers recompute the same number of tokens.
- Runs where the default KV router meets the SLA
- Runs where it misses the SLA
The value for each run is in the table under Fig. 8.
Fig. 8The gap against peak concurrency
Each mark is one of the 240 runs. Vertical: default-router prefill divided by affinity prefill, where 1x means equal. Horizontal: peak concurrent agent trials in the run. All but one run replays on four workers.
- Default KV router meets the SLA
- Default KV router misses the SLA
Show table of all 240 runsHide table
Share of requests meeting the SLA under each router; cells below 99.0% are marked.
Per-run values are in results/full/units.csv and data/runs.json.
By traffic source#
Fig. 9Default KV router against session affinity, by traffic source
The five model families the runs were recorded on. All traffic replays on GLM-5.3-Flash. Provider cached is the share of prompt tokens the real endpoint served from its own cache, from the leaderboard's per-call logs.
- KV router, defaults
- KV router with session affinity
- Recorded at the provider
Show tableHide table
Runs meeting the SLA under each router; cells where a router misses it on at least one run are marked. Provider cached is the share of prompt tokens the real endpoint served from its own cache, from the leaderboard's per-call logs. All traffic replays on GLM-5.3-Flash.
By harness#
Fig. 10Default KV router against session affinity, by harness
Harness versions ordered by the share of runs that session affinity brings inside the SLA. A run is assigned to the harness version that made most of its calls.
- KV router, defaults
- KV router with session affinity
Show tableHide table
Runs meeting the SLA under each router, and prefill tokens in billions. A run is assigned to the harness version that made most of its calls. Cells where a router misses the SLA on at least one run are marked.
Pool size and GPU count#
Fig. 11Round-robin loses prefix reuse with every doubling of the pool, and session affinity keeps it
Prefix reuse by worker count on the first 100 trials of two pilot runs. Each worker is 2 GPUs. Affinity was not run at 4 workers.
Hermes, first 100 trials
OpenClaw, first 100 trials
- Round-robin
- KV router, defaults
- KV router with session affinity
Show table: prefix reuse on the 100-trial slicesHide table
Before the full replay, 39 pilot replays varied the pool size from 4 to 32 workers on two runs and on the first 100 trials of each: a Hermes run recorded on flint (526 trials, 84,444 requests, 273 trials at peak) and an OpenClaw run recorded on GLM-5.3-Flash (528 trials, 92,744 requests, 155 trials at peak). Both replay on the GLM-5.3-Flash target. These pilot traces leave out trials on 22 tasks that a separate analysis was holding back at the time, about 11% of each run's trials.
- Session affinity serves the Hermes run on half the GPUs. On 8 GPUs with affinity, p99 TTFT is 889 ms, prefill is 130.4M tokens and the median trial takes 51.4 minutes. On 16 GPUs, the default KV router gives 5.0 s, 838.1M tokens and 54.9 minutes.
- More workers make the default KV router worse on the OpenClaw run. Prefill rises from 157.4M tokens on 4 workers to 276.9M on 8. With affinity it stays at 41.5M and 41.6M.
- Round-robin loses reuse with every doubling of the pool. From 4 to 32 workers on the 100-trial slices, its prefill grows from 18.7M to 125.5M tokens for OpenClaw and from 76.8M to 457.3M for Hermes. Affinity holds at 5.2M and at 19.6M to 21.0M.
- Raising
prefill_load_scalecloses most of the gap on the Hermes run. Prefix reuse goes from 90.0% at the default to 96.3% at 4 and 98.0% at 16, against affinity's 98.6%. - The reuse bound matters. A trace of the OpenClaw run that treats the provider's own cache misses as prompt changes doubles prefill under the default KV router: 337.7M against 157.4M tokens.
Fig. 12The two pilot runs in full, by pool size and router
The 99th-percentile TTFT on a logarithmic scale with the 2 s bound marked, and prefill tokens in millions. The prefill_load_scale settings were run on 8 GPUs only.
Hermes run on flint, full trace#
Show tableHide table
For context, the flint endpoint's recorded median trial took 48.5 minutes, with a p99 time to first byte of 51.8 seconds. Its hardware is unknown, so that record does not calibrate the simulator.
OpenClaw run on GLM-5.3-Flash, full trace#
Show tableHide table
- Round-robin
- KV router, defaults
- KV router, prefill_load_scale 4
- KV router, prefill_load_scale 16
- KV router with session affinity
Modeled timing. Limit 1
A real endpoint losing its cache under load#
Fig. 13The flint endpoint's cached share over one night
flint endpoint, 30-minute buckets, 2026-11-09 16:00 to 2026-11-10 06:00 UTC. Top: share of prompt tokens the provider served from cache, and the share an append-only context could reuse. Bottom: trials with a call in flight or between calls. The trial count covers only part of the endpoint's traffic, so it is a lower bound.
- Served from cache by the provider
- Reusable with an append-only context
- Active trials
Show tableHide table
The per-call logs record how many prompt tokens each provider served from its own cache. On DeepInfra's DeepSeek-V4.1-Flash endpoint, all 15 harness versions got 97.2-99.1% of prompt tokens from cache, and the provider recomputed at most 0.9% of the prefix an append-only context could reuse. On the Ripple-65B-Preview endpoint it recomputed 0.1-6.0% by harness, and on zai-org's GLM-5.3-Flash endpoint 0.1-21.4%, the most for Qwen Code. The flint endpoint recomputed far more: Kimi Code on flint got 53.1% of prompt tokens from cache against 99.0% reusable, and Hermes on flint got 73.2%.
The flint endpoint shows when that happened. Through 22:00 UTC on 2026-11-09, with up to 229 trials active, it served 93.8-99.8% of prompt tokens from cache. At 22:30 two runs overlapped and active trials reached 448; the cached share fell to 88.0%. It stayed between 49.6% and 79.2% until 03:00, then fell to 13.9% at 04:30 with 80 trials active. The reusable share stayed between 95.9% and 99.5% throughout. The logs cannot show the provider's internals. The pattern is consistent with a pool that grew under load and routes without regard to cached prefixes.
The buckets are in results/full/endpoint-timeline.md, and the per-harness table in results/full/provider-cache-gap.md. Both cover all 70,138 original trials.
Native DeepSeek-V4.1-Flash cross-check#
Fig. 14One run on two simulated targets
The same DeepSeek run replayed on simulated DeepSeek-V4.1-Flash and on the GLM-5.3-Flash target used everywhere else on this page. Prefill tokens in millions, and the 99th-percentile TTFT with the 2 s bound marked.
- Native DeepSeek-V4.1-Flash target
- GLM-5.3-Flash target
- Marks take the router's color
Modeled timing. Limit 1
Show tableHide table
The native replay. The same run on the GLM-5.3-Flash target is in the per-run table under Fig. 8.
Run 20261108-105222-deepseek-v4-1-flash-full-high-f9c1 (1,170 trials, 96,583 requests, 38 trials at peak) also replayed on simulated DeepSeek-V4.1-Flash itself: four workers of four B300 GPUs. The routers rank the same way as on the GLM-5.3-Flash target. Simulated decode averages 57-62 ms per token under every router, above the 50 ms bound, so 1.2-1.4% of requests meet the SLA. That is why the main replay projects DeepSeek traffic onto GLM-5.3-Flash.
Slice check#
Fig. 15Sliced replays against full replays
Three runs that have both a full replay and a replay recombined from six slices. Each dot is one router: the sliced value relative to the full value, where 0% means the two agree.
- Round-robin
- KV router, defaults
- KV router, prefill_load_scale 16
- KV router with session affinity
Show tableHide table
A run predicted to take more than 40 minutes per replay is split into consecutive slices of trials and recombined. 14 runs in the results above use recombined slices, 2 to 12 each. Three long runs at low concurrency have both a full replay and a six-slice replay. On those three, the sliced and full replays agree within 0.1 points of prefix reuse, 3.9% of prefill and 0.1 points of SLA attainment. Sliced p99 TTFT runs up to 25% higher because it takes the worst slice.
Method#
Fig. 16From the public bucket to the tables on this page
The pipeline, with what each stage keeps. The sections below describe each stage.
Data#
The Harness Leaderboard is Joel Niklaus's public benchmark of coding-agent harnesses on open-weights models. Trials in its bucket carry a meter log (agent/hlb-meter.jsonl) with one row per model call: start time, time to first byte, latency, and input, cached, output and reasoning tokens. The replay traces are built from those logs and each trial's config.json alone. No prompt text, trajectory content or task result goes into a trace.
The data comes from one listing of the bucket on 2026-11-20, between 01:06 and 01:23 UTC on 2026-11-21. Original trials that were already originals in the 2026-11-12 listing were taken from that pass; the other 8,022 were read from the bucket. The listing holds runs with IDs dated 2026-10-16 to 2026-11-20. They call five endpoint families: DeepSeek-V4.1-Flash (91 runs), GLM-5.3-Flash served by zai-org (90), Ripple-65B-Preview (29), flint (28) and Inkling-2-Small (2).
Fig. 17Runs by the date in their ID, for each endpoint family
Number of runs per day, by the date at the start of each run ID. One row per endpoint family, on one scale.
Show tableHide table
Trial identity#
Leaderboard runs reuse trials from earlier runs, so a run directory lists trials that did not execute in that run, and a copied trial's meter log carries the original run's timestamps. Replaying copies would count the same traffic several times. A trial's identity is the Xet hash of its meter log, or of its trajectory when the meter log is missing or under 256 bytes. The first trial that holds an identity, in run ID order, is the original.
Fig. 18From trial directories to replayable trials
Every trial directory in the bucket listing, split by identity, and the original executions split by whether they made a successful model call. One scale.
Show tableHide table
Every original has a meter log. The 70,138 originals span 240 runs and hold 6,947,564 successful calls. 215 of them made no successful call, which leaves 69,923 replayable trials.
Trace conversion#
hlb_to_agentic.py converts a run's meter logs to Dynamo's agentic Mooncake v2 trace format (schema: dynamo.agentic_mooncake, version: 2, 64-token blocks).
- Plays and requests. Each trial is one play and each successful call is one request, with
recorded_api_time_msfrom the logged latency. - Streams. A call continues the idle stream whose last prompt it extends. A call that starts while that stream is busy, or whose prompt is shorter than every stream's (a compaction or a subagent), opens a new stream. Each stream is one session. In the 15,017 trials of the pilot extraction, calls overlap in at most 5% of cases (Oh My Pi) and prompts shrink in about 1%.
- Dependencies. A stream's next call depends on the completion of its previous call, delayed by the recorded gap, which is tool and harness time. A call also joins another stream that finished after its own predecessor. A new stream spawns from the latest completed call, or from the dispatch of an in-flight call.
- Pacing. Dependent requests are released on their dependencies alone, so an agent's next call moves with the simulated server's latency.
- Prompt blocks. Block hashes are built from token counts. A call reuses the whole prompt of its parent when it extends it, which models an append-only context. A trial's first call draws from one prefix chain shared by all trials of the same harness version: the system prompt and tool definitions.
The append-only assumption is an upper bound on reuse, and it is the replay input. On DeepInfra's DeepSeek-V4.1-Flash endpoint the provider's cached share lands within a point of that bound for all 15 harness versions, which confirms that these harnesses grow their context by appending. The converter can also build a lower bound, where a call reuses only as many leading blocks as the provider reported cached. That bound encodes the provider's own cache misses as if the prompts had changed.
Replay design#
- Target. Every run replays on GLM-5.3-Flash FP8 served by vLLM 0.31.0 on B300 SXM, two GPUs per aggregated worker, with default KV capacity (90% memory fraction). GLM-5.3-Flash traffic replays natively. AISimulate has no model for flint or Ripple-65B-Preview, so their traffic is projected onto GLM-5.3-Flash. DeepSeek-V4.1-Flash traffic is projected too. Its measured B300 tables do not cover agent-sized attention shapes; the first miss was one request extending an 8,192-token cached prefix by 178 tokens. In AISimulate's
HYBRIDmode the missing shapes are priced with speed-of-light estimates, which put decode at 57-92 ms per token against DeepInfra's recorded 5.8 ms median, so every request would miss the inter-token bound. One DeepSeek run replays natively as a cross-check. - Pool size. Workers = max(4, ceil(peak concurrent trials / 50)). Four workers are one 8-GPU node, so every run below 200 concurrent trials gets one node and a real routing decision. 992 of the 1,024 replays used four workers and the rest five to eight.
- Endpoint windows. make_windows.py groups runs by the endpoint they called and merges runs whose active spans overlapped, which rebuilds the load each endpoint carried.
- Compute. A unit whose original trials had not changed since the 2026-11-12 listing keeps its replay from that pass; a rebuilt replay matches the stored one field for field. The other 544 replays, slices included, ran in two and a half hours on one 88-vCPU and two 176-vCPU machines, one core per replay. Simulation time tracks decode steps more than request count.
Routers#
Each replay sets one of four router configurations on the same base configuration:
| Router | Simulator setting |
|---|---|
| Round-robin | router.policy=round_robin |
| KV router, defaults | router.policy=kv_router |
| KV router, prefill_load_scale 16 | router.policy=kv_router, router.prefill_load_scale=16 |
| KV router with session affinity | router.policy=kv_router, router.conversation_affinity={mode: session, ttl_seconds: 300} |
SLA definition#
The base configuration sets evaluation.sla to ttft_ms: 2000 and itl_ms: 50. AISimulate counts the requests that meet both bounds (its goodput count). A replay meets the SLA when at least 99% of its requests do. "Runs meeting SLA" counts replays, and "requests meeting SLA" is the share of all requests in a group.
Simulator#
The replays ran on Dynamo commit 3e84909a (ai-dynamo 1.7.0) with the AISimulate release it pins, 0.13.0.dev202610290000000087. Dynamo's Python bindings were built with --features ais-forward-pass, which operator-level timing needs. The configuration sets estimation_mode: op_level and enable_shared_layer: false. The published GLM-5.3-Flash whole-forward profiles are 360-point calibration grids, and agent prefills fall outside them: the first failure was one request prefilling 7,962 new tokens on a short cached prefix. Operator-level timing prices any shape from per-kernel measurements. The base configuration is scripts/sim/glm-b300-op.yaml.
Notes for Dynamo and AISimulate maintainers#
The work turned up four technical points, written up in upstream-notes.md. The issues and pull request filed from them are listed in the repository's Upstream section.
- Dynamo's replay runner does not advertise engine model controls, so
--stack dynamorejectskvcache_quant_modeandfmha_quant_mode. A small patch forwards them. - The KV router's default cost gives up long cached prefixes on agent traffic, with the numbers from this study and three possible directions.
- Harness Leaderboard meter logs convert to agentic Mooncake v2 traces, with a description of the converter.
- The
aisimulate predictsupervisor used about 41% of a core per replay in a 160-replay sweep, SIGTERM left execution processes running, and the 60-second initialization timeout was too short for large traces.
Tables and code#
- results/full/RESULTS.md: every table of the full replay, including each traffic source under all four routers.
- results/full/units.csv: one row per run or window and router. results/full also holds the aggregates as JSON, the provider cache tables, the endpoint timeline and every replay's summary and configuration.
- results/pilot: the 39 pilot replays, with the provider cache tables and endpoint timeline of the pilot extraction.
- scripts: the pipeline, from the public bucket to these tables.
- report/data: the JSON files this page draws from, built from the tables by build_report_data.py.
The repository holds aggregates only. It contains no meter logs, no per-call records and no prompt text. The code, tables and page are under the MIT License. The dataset stays under the Apache License 2.0.
How to cite or link#
Leonardo Gonzalez. "Dynamo replay of Harness Leaderboard agent traffic." Adaptive Systems Research Institute, 2026-11-20. https://adaptivesystems.institute/publications/dynamo-agent-traffic/
Every heading on this page has a stable anchor. Link to a section by its id, for example https://adaptivesystems.institute/publications/dynamo-agent-traffic/#limits, or to one finding or limit, for example #finding-3 and #limit-2. Figures are numbered and have anchors too, for example #fig-7.
Credits#
Study by Leonardo Gonzalez. The traffic comes from the Harness Leaderboard dataset (joelniklaus/harness-leaderboard), which Joel Niklaus publishes with the Harness Leaderboard under the Apache License 2.0. The simulator is NVIDIA's Dynamo with AISimulate.