Research · Benchmark
Why does the AI reread an entire document for the second question?
Google DeepMind's LOFT long-context benchmark on a 27B model, first on one A100-80GB, then with the question re-asked on a second GPU. Caching enabled against our optimization, with byte-identical answers.
The result, explained
32×
faster to begin answering a repeat question
LOFT · 85.8s → 2.7s median first-token latency
One A100 with four concurrent requests; repeated questions.
LOFT long-context benchmark, 128K class
Qwen 3.8 27B (int8 weights) · vLLM · 1× A100-80GB, then A100-80GB + H100-80GB · September 23–25, 2026
Re-asked question, median time to first token
85.8 s → 2.7 s
one A100, 4 in flight: 32×
Same question re-asked on the other GPU
80.8 s → 2.5 s
A100 median, two-GPU fleet
Cost per 1,000 requests, one A100
$68.93 → $1.70
GPU prefill time at list price, method below
Outputs byte-identical
12 / 12
deterministic settings, one request at a time
Long context is where serving cost goes. A question over a 119,000-token document costs one forward pass over 119,000 tokens before the first output token, and a document that is asked about three times costs that three times unless the engine can avoid it. Every modern engine ships with caching enabled for exactly this reason. The question we measured is how much of that cost a production setup actually avoids, and how much more our optimization avoids on the same model and the same GPU.
We used LOFT, Google DeepMind’s long-context evaluation framework, rather than a workload of our own design: twelve corpora from its 128K class, about 119,000 tokens each, three questions per corpus.
One A100, four requests in flight
Thirty-six requests, four in flight, the engine restarted between arms so neither starts warm. With caching enabled, re-asking a question about a document already seen still took a median of 85.8 s. With our optimization the median re-ask took 2.7 s and the slowest 5% 3.9 s, and the whole run finished in 44 s instead of 1,452 s.
| One A100-80GB, 4 in flight | First ask p50 | Re-ask p50 | Re-ask p95 | Wall time | GPU prefill time |
|---|---|---|---|---|---|
| Caching enabled | 122.4 s | 85.8 s | 162.6 s | 1,452 s | 1,762 s |
| Our optimization | 4.2 s | 2.7 s | 3.9 s | 44 s | 18.2 s |
One request at a time, the shape a single analyst produces, the same comparison read 41.0 s against 1.8 s at the median re-ask, and the whole run 1,508 s against 109 s. Under deterministic settings, 12 of 12 outputs were byte-identical between the two arms: the optimization changes when the answer arrives, not what it says.
Re-ask, median time to first token, one A100-80GB
Two GPUs: the question comes back somewhere else
A fleet of more than one GPU adds the ordinary case the single-GPU test hides: the next question about a document lands on a different machine. We forced it. Each corpus was first asked on one GPU and every re-ask went to the other (checked 12 of 12), on an A100-80GB and an H100-80GB, four in flight.
Median time to first token, re-asked on the other GPU
| Two-GPU fleet | Engine | First ask p50 | Re-ask, other GPU p50 / p95 | Re-ask, same GPU p50 / p95 |
|---|---|---|---|---|
| Caching enabled | A100 | 78.38 s | 80.83 / 114.56 s | 75.76 / 127.33 s |
| Caching enabled | H100 | 12.96 s | 19.49 / 23.80 s | 12.93 / 21.80 s |
| Our optimization | A100 | 79.83 s | 2.54 / 3.43 s | 1.63 / 2.34 s |
| Our optimization | H100 | 12.42 s | 1.25 / 1.88 s | 0.70 / 1.84 s |
First asks are unchanged, as they should be: nothing can be avoided for a document nobody has read. Everything after the first ask is where the fleet’s time went. The run took 258 s instead of 726 s, total GPU prefill time fell from 1,105.5 s to 361.7 s, and the fleet’s GPU cost per 1,000 requests fell from $84.90 to $30.14, 64% lower.
Results reflect the configurations described in this post. Performance varies by model, hardware, traffic, context and application requirements.