Skip to content
← All posts

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 flightFirst ask p50Re-ask p50Re-ask p95Wall timeGPU prefill time
Caching enabled122.4 s85.8 s162.6 s1,452 s1,762 s
Our optimization4.2 s2.7 s3.9 s44 s18.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

1 request in flight41.0 s1.8 s4 requests in flight85.8 s2.7 s1 request in flight41.0 s1.8 s4 requests in flight85.8 s2.7 s
caching enabledour optimization
LOFT 128K, 12 corpora × 3 questions, September 23–24, 2026.

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

1.00 s3.00 s10.0 s30.0 sseconds (log scale)80.8 s2.54 sA100-80GB19.5 s1.25 sH100-80GB1.00 s3.00 s10.0 s30.0 sseconds (log scale)80.8 s2.54 sA100-80GB19.5 s1.25 sH100-80GB
caching enabledour optimization
Log scale. Engines reported separately: the H100 is six times faster than the A100 before any optimization, so a pooled median would hide both. Run of September 25, 2026.
Two-GPU fleetEngineFirst ask p50Re-ask, other GPU p50 / p95Re-ask, same GPU p50 / p95
Caching enabledA10078.38 s80.83 / 114.56 s75.76 / 127.33 s
Caching enabledH10012.96 s19.49 / 23.80 s12.93 / 21.80 s
Our optimizationA10079.83 s2.54 / 3.43 s1.63 / 2.34 s
Our optimizationH10012.42 s1.25 / 1.88 s0.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.