Benchmarks

How long until a plori agent replies? Wake latency on v350

On production release v350, each agent run gets its own Firecracker VM. The run takes a ready VM from the warm pool (a pool hit), or it starts a new VM (on demand). On v350, the VM host restores a new VM from a saved template instead of booting it. We measured the time from sending a message to the first reply text on both paths, against production, from 2026-10-14 to 2026-10-15. With a pool hit the median was 2,538 ms (n = 120). With a new VM the median was 3,509 ms (n = 29). Each of these new-VM runs started at the same moment as another run.

Production release v350 · serial probes 2026-10-14 21:32:31–23:31:36 UTC, 120 runs kept · concurrent pairs 2026-10-14 23:34:24 to 2026-10-15 00:32:57 UTC, 80 runs kept · Revised 2026-10-15

Two paths to a VM.

§01

When a run starts, the control plane claims a VM for it. If the warm pool has a ready VM, the run takes it: a pool hit. If not, the run starts a new VM: on demand. On v350, an on-demand VM is restored from a template on its VM host. If the host has no template, the VM boots from its root file system image.

The number of ready VMs that the pool keeps (the pool target) now changes with recent bursts of runs, between 1 and 3. During the serial probes the pool used this adaptive target. During the pairs we fixed the target at 1 VM.

Pool outcome per run type, serial probes, excluded runs left out
Run type (serial probes)runspool hiton demand
First visit (a new session)60600
Follow-up, 5 s after the previous run40400
Follow-up, 60 s after the previous run20200
All1201200

Every serial probe took a pool VM (120 of 120 kept). This comes from one-at-a-time probing. It is not a rate for user traffic. With the adaptive target, the pool target was 2 VMs for most of the serial window, and no probe run found the pool empty.

For that reason the new-VM numbers on this page come from a second experiment. It starts two first visits at the same moment. For the whole pairs window we used an admin setting to fix the pool target at 1, and we removed the setting afterwards. Without it, the adaptive target would keep two ready VMs after the first pair, and no later pair would start a new VM. With a pool of one VM, one run of each pair can find the pool empty. In 29 of the 40 pairs, one run took the pool VM and the other started a new VM. In the other 11 pairs both runs were pool hits (see the section on the replacement VM).

What changed since v349.

§02

Three changes in v350 affect these numbers:

  • Shorter readiness checks. While a VM starts, the control plane now checks it every 25 ms instead of every 200 ms. The VM host now waits at most 50 ms between its own health checks.
  • Adaptive pool target. The pool target now follows recent bursts of runs. It is at least 1 and at most 3. On v349 the target was always 1.
  • Template restore. Each VM host keeps a template of the agent VM: a VM that booted once and was then paused and saved. A new VM is restored from that template instead of booting a kernel. In the pairs window the restore step took a median of 6 ms (max 13 ms, n = 29).

The table compares medians with the v349 measurement of 2026-10-14. The harness, message and analyzer are the same. On both releases the new-VM rows come from pairs with a pool of one VM.

Medians on v349 and v350, with sample counts
Step, p50v349v350n (v349 / v350)
Pool hit, serial: run accepted → VM dispatched504 ms452 ms252 / 120
Pool hit, serial: send → first executor event948 ms801 ms252 / 120
Pool hit, serial: send → first reply text2,826 ms2,538 ms252 / 120
New VM, pairs: run accepted → VM dispatched2,983 ms1,545 ms34 / 29
New VM, pairs: VM start (vm_ready)2,002 ms651 ms34 / 29
New VM, pairs: send → first executor event3,712 ms1,932 ms34 / 29
New VM, pairs: send → first reply text5,532 ms3,509 ms34 / 29
Waited for the replacement VM: send → first reply text5,765 ms3,683 ms5 / 11

How the new VMs started, from the control-plane log of every on-demand claim:

On-demand claims by how the VM started
On-demand claimsrestored from templatebootedall
Pairs window (from 23:34 UTC)29029
Whole window, all traffic on the fleet30030

The VM host restored every new VM in the window from the template. We saw no VM that booted on v350, so this page has no v350 number for a booted VM. The v349 numbers for booted VMs are in the section on the previous version. The comparison does not separate the three changes from each other. It also does not separate them from other differences between the two windows, such as the models that served the runs.

Pool hit, serial probes.

§03
Pool hit timings, serial probes: p50, p90, p99, max and sample count
Stepp50p90p99maxn
Run accepted → VM dispatchedserver timestamps: claim the VM, prepare the agent's Workspace files, mount them in the VM452 ms597 ms1,077 ms2,056 ms120
Send → first executor eventthe first event from the agent process inside the VM801 ms1,012 ms2,189 ms2,415 ms120
Send → first reply textcontains one full model round, explained below2,538 ms3,578 ms5,195 ms9,689 ms120
Send → run finishedthe run reports that it is complete2,544 ms3,585 ms5,218 ms9,704 ms120
First visit, end to endnew session + thread + WebSocket connect + attach + send → first reply text, summed per run3,705 ms4,311 ms–10,858 ms60

The 120 pool hits are 60 first visits and 60 follow-up runs on the same agent (40 after 5 s, 20 after 60 s). The end-to-end row covers the first visits only: it adds the time to create the session and the thread and to open and attach the connection. No p99 is given for it: n = 60.

New VM (on demand), concurrent pairs.

§04

These runs come from 40 rounds of paired first visits. Two new anonymous sessions sent their first message at the same moment: the two sends were 14 ms apart at the median and 91 ms at most. One run took the pool VM and the other started a new VM, restored from the template. Each of these runs started at the same moment as another run on the same VM host, and the numbers include that.

On-demand timings, concurrent pairs: p50, p90, max and sample count
Stepp50p90maxn
Run accepted → VM dispatchedserver timestamps: claim the VM, prepare the agent's Workspace files, mount them in the VM1,545 ms1,628 ms1,800 ms29
Send → first executor eventthe first event from the agent process inside the VM1,932 ms2,099 ms2,312 ms29
Send → first reply textcontains one full model round, explained below3,509 ms4,253 ms6,189 ms29
Send → run finishedthe run reports that it is complete3,540 ms4,261 ms6,200 ms29
VM start (vm_ready)the start phase of the pool claim: restore, then wait until the VM reports ready; from the control-plane log651 ms1,051 ms1,077 ms29
First visit, end to endnew session + thread + WebSocket connect + attach + send → first reply text, summed per run4,584 ms5,566 ms7,675 ms29

No p99 is given: n = 29, and p99 needs at least 100 samples. The restore step itself had a median of 6 ms, so most of the 651 ms VM start is the time after the restore until the VM reports ready.

Starting two runs at once also slowed the run in each pair that took the ready pool VM. The table puts its medians next to the serial first visits that took the pool VM:

Median timings of a pool hit with and without a second run starting at the same moment
Step, p50Serial first visit, pool hit (n = 60)Pair, run that took the ready pool VM (n = 40)
Run accepted → VM dispatched418 ms592 ms
Send → first executor event790 ms1,062 ms
Send → first reply text2,494 ms2,882 ms

Pool hit that waited for the replacement VM.

§05

In 11 pairs both runs were recorded as pool hits. The first run took the ready VM, and that claim starts a replacement VM at once. The second run did not start its own VM: it waited for the replacement and took it when it was ready. The control-plane log records these claims as hits with no start time, but the claims took 1,265 to 1,342 ms. In the data, the run that waited is the run of a hit-and-hit pair with the longer pool claim.

Timings of the pool hits that waited for the replacement VM: p50, p90, max and sample count
Stepp50p90maxn
Run accepted → VM dispatched1,416 ms1,503 ms1,519 ms11
Send → first executor event1,816 ms1,874 ms1,884 ms11
Send → first reply text3,683 ms3,898 ms4,337 ms11
Send → run finished3,692 ms3,924 ms4,342 ms11

Context: every pool claim on the fleet, claim only.

§06

The control-plane log records every pool claim on production: real users, our own test traffic and these benchmark runs together. The log has 206 claims from 21:32 UTC on 2026-10-14 to its last line at 00:32 UTC on 2026-10-15. Of these, 176 were pool hits and 30 started a new VM. One VM host served 203 of the claims. A second host existed for a short time and served 3. These numbers stop at the pool claim. They contain no model round and no reply text, so they are not a user wait time.

Pool claims on the whole fleet in the measurement window: p50, p90, max and count
Fleet-wide claimsp50p90maxn
Pool hit: pool claim, total338 ms588 ms1,946 ms176
New VM: pool claim, total1,352 ms1,450 ms1,554 ms30
New VM: VM start (vm_ready)639 ms1,051 ms1,077 ms30
New VM: template restore step5.5 ms10 ms13 ms30

What “first reply text” means.

§07

It is not a streamed first token. The agent holds its reply text for a whole model round, runs a check on it, and then sends it. So every first-reply time on this page contains one full model round. The model for each run comes from a configured mix. The time to the first executor event is similar for every model. The time to the first reply text is not:

Pool hit timings by resolved model, serial probes
Model (pool hit, serial)nfirst executor event p50first reply text p50first reply text p90first reply text max
anthropic/claude-haiku-5.540780 ms2,025 ms2,666 ms3,868 ms
anthropic/claude-sonnet-5.514814 ms2,796 ms3,966 ms9,689 ms
openai/gpt-6-luna60828 ms2,675 ms3,671 ms5,255 ms
openai/gpt-6.1-sol6787 ms2,642 ms–3,092 ms
On-demand first reply text by resolved model, concurrent pairs
Model (on demand, pairs)nfirst reply text p50first reply text max
anthropic/claude-haiku-5.5103,046 ms6,189 ms
anthropic/claude-sonnet-5.54–3,513 ms
openai/gpt-6-luna103,649 ms4,515 ms
openai/gpt-6.1-sol54,095 ms4,886 ms

A dash means the group has too few runs for that percentile: p50 needs at least 5 runs and p90 at least 10.

Exclusions.

§08
  • Serial probes: 60 rounds, 120 runs attempted, 120 completed, 120 kept.
  • Refused follow-ups: 0 of 40 follow-ups sent 5 s after a first visit were refused. On v349, the service refused 2 of 87, because the save of the first visit's files had failed. Release v350 fixes that save fault.
  • Other test traffic: we exclude a run when another test-class account claimed a pool VM in a set window. The window starts 12 s before the run was accepted and ends when its VM was dispatched. An account that was already deleted when we read it back counts as test traffic. The rule excluded 0 runs. The windows held 0 test-class claims, 0 claims by deleted accounts and 0 real-user claims.
  • Pairs: 40 rounds, 80 runs attempted, 80 completed, 80 kept. The same rule excluded 0 runs. The claim by the other run of the same pair is part of the measurement and never excludes a run.

Methodology.

§09

This is a controlled probe against production, not user traffic. The probe host is one host on the public internet that reaches plori through Cloudflare. A TCP connect to the Cloudflare edge took 3–4 ms.

  • Accounts: each first visit uses a new anonymous trial session, marked as test traffic.
  • Message: every run sends Reply with exactly OK and nothing else. All 120 completed serial runs and all 80 pair runs replied OK.
  • Serial probes: 60 rounds, nominally 120 s apart (the first visits started 112 to 128 s apart), one run at a time. Each round sends a first visit and then one follow-up run on the same agent and thread. The follow-up starts 5 s, 5 s or 60 s after the previous run ended, in that repeating order. On the server, the median gaps were 5,282 ms and 60,386 ms.
  • Pairs: 40 rounds, 90 s apart. Each round creates two sessions and starts both first visits at one barrier. We fixed the pool target at 1 VM for the whole pairs window.
  • Client timings (first executor event, first reply text, run finished) use the probe's monotonic clock, from its send of the run.create message over WebSocket. The end-to-end first-visit time is the per-run sum of the client timings for session, thread, connect, attach and first reply text.
  • Server timing (run accepted → VM dispatched) uses timestamps from the control-plane database.
  • Pool outcome, claim time, VM start time and how the VM started come from the control-plane log line for the pool claim of each run. Each run is classified by its own log line, not by when it was sent.
  • Percentiles use linear interpolation between closest ranks. p50 needs n ≥ 5, p90 n ≥ 10 and p99 n ≥ 100. Otherwise the cell shows a dash.

Limitations.

§10
  • One region (sea) and one vantage. Other routes have different network latency.
  • One one-line prompt with a one-word reply. Other prompts and runs that call tools were not measured.
  • One VM host served almost every claim, on the production fleet shared with real users. This is not a load test, and it does not show many users that arrive at the same time.
  • The new-VM numbers come from pairs with the pool target fixed at 1. We did not measure pairs with the adaptive target.
  • No p99 for the new-VM path (n = 29) or for the runs that waited for the replacement VM (n = 11). No v350 number for a VM that boots without a template, because none did in the window.
  • From 23:10 to 23:14 UTC (serial rounds 50 to 52), another job on the probe host raised its load average to 4.9. These runs stay in the data. Client timings in those rounds can include delay on the probe host.
  • Anonymous first visits and follow-ups after 5 s or 60 s only. Registered accounts and returns after a longer pause were not measured.
  • The share of prompt tokens served from the model provider's cache was not measured.
  • All numbers are from 2026-10-14 21:32 UTC to 2026-10-15 00:32 UTC only.
  • No cross-vendor comparison: this page measures plori against itself, under a stated method, and claims nothing about other platforms.

Previous versions of this page.

§11

Until 2026-10-15, this page reported the v349 measurement of 2026-10-14, with the same harness. The warm pool always kept 1 VM, and every new VM booted from its root file system image. With a pool hit the median time to the first reply text was 2,826 ms (n = 252, serial probes). With a booted VM it was 5,532 ms (n = 34, pairs), and the VM boot had a median of 2,002 ms. Its data stays available: serial probes 2026-10-14/data.csv · 2026-10-14/data.json; pairs 2026-10-14/pairs.csv · 2026-10-14/pairs.json.

Before 2026-10-14, this page reported a July 2026 measurement of the retired design. In that design, agents ran in Kubernetes warm pods, and the probe timed the first streamed token. That is a different event on a different system, so its numbers are not comparable with this page. Its data stays available: 2026-07-18/data.csv · 2026-07-18/data.json.

Reproducibility and data.

§12

The scripts for this measurement are in scripts/bench/ of plori's private source repository:

  • coldstart-collect.sh: the schedule.
  • coldstart-sample.py: one probe run, with the uat-wsprobe WebSocket client.
  • coldstart-harvest.py: server timings and log lines.
  • coldstart-fleet-claims.py: the fleet-wide claims.
  • coldstart-analyze.py: exclusions and percentiles.

The public repository github.com/plori-ai/coldstart-bench holds the July 2026 harness, not these scripts.

Raw data, one row per run, with the pool outcome, every timing, the resolved model and the exclusion reason: serial probes data.csv · data.json; pairs pairs.csv · pairs.json. The same files stay at /benchmarks/agent-wake-latency/2026-10-15/. They are the analyzer's per-run files without the run id and VM host columns. You can compute every percentile on this page again from these files. Keep the rows where excluded is false, then group by claim_outcome, arm or model as each table does. Three groups of numbers are the exception: the fleet-wide numbers, the restore step, and the count of how each new VM started. They come from the per-claim fleet log, which is not published. The script that writes these files and the page data from the analyzer output is scripts/bench/coldstart-publish-v350.py in our private repository. The data is published under CC BY 4.0. Reuse the data with attribution to plori.

plori engineering. The page changes only when new data is collected.

Related: idle compute billing , Workspace save time and what a task costs.