Skip to content

Trade accuracy against latency on purpose

Decide the model tier, thinking depth, retrieval depth and streaming for an integration's latency and accuracy requirements, and defend the trade-off the configuration accepts.

Scenario

An IT helpdesk assistant answers employees' questions from 3,000 internal articles. It runs on the most capable model at maximum effort, retrieves 40 chunks per question and returns the answer in one piece.

Answers are excellent. They take 14 seconds, and employees have started opening tickets instead of waiting.

Explanation

Get quality first, then reduce latency: cutting latency too early hides what top performance looks like. Then turn four dials, each with its own trade-off.

Dial Faster when you… What you risk
Model tier Use a smaller, faster model Harder reasoning steps; check on your own evals
Thinking depth Lower the effort level, the docs' recommended control for how much the model reasons on current models Thoroughness on complex tasks. Effort trades capability for latency and cost within one model, so try it before switching models and confirm on your evals
Retrieval depth Pass fewer chunks, or rerank to pass only the best Recall: fewer chunks may miss the answer. More chunks can also distract. Reranking adds a small step but sends less text
Output Ask for shorter answers, cap max_tokens Completeness. Every generated token takes time

Streaming is different: it doesn't make the answer finish sooner. It cuts the time to the first token a user sees, which improves perceived responsiveness. It helps when a person reads the answer as it arrives; it does nothing when a program needs the whole answer before it can act.

Which latency matters? A chat user feels time to first token. A pipeline step feels total time. A batch job overnight barely feels either, and can spend on accuracy.

Mix by step. One request often has a hard part and easy parts. Route the easy steps (classify, extract) to a fast tier at low effort, and give depth only to the step that needs it.

Defend the choice with evidence: your eval results at each setting, the latency percentile your users feel (p95, not the average), and the accuracy you agreed to give up, if any. "Medium effort matched high on 96% of our test set and cut p95 from 9 to 4 seconds" is a defence; "it felt fast enough" is not.

Worked example

The helpdesk team runs its 400-question eval set at several settings:

Configuration Accuracy p95 to first word
Top tier, max effort, 40 chunks, no streaming 94% 14 s
Top tier, medium effort, 40 chunks, streaming 93% 4 s
Mid tier, low effort, 10 reranked chunks, streaming 92% 1.5 s
Fast tier, low effort, 5 chunks, streaming 84% 0.9 s

The team picks the third row and writes down why:

Employees read answers in a chat, so streaming and time to first word matter most. Mid tier at low effort with 10 reranked chunks keeps accuracy within 2 points of the best setting and brings the first word under 2 seconds. We accept the 2 points; we reject the fast tier, whose 5 chunks miss the right article on multi-step questions. We re-run the eval when the article base changes.

The argument names the user's latency, the evidence, and the trade-off accepted.