A city council's planning enquiry service sends Claude's reply to residents as a single text message once generation has finished, so streaming partial output gives the resident nothing earlier. Replies average about 450 words and take around nine seconds to generate, against a stated budget of four seconds from question to message. A review of 300 replies, which the team keeps as a labelled eval set, found that the first two or three sentences of each reply already held the complete answer residents needed. Which change best fits the stated constraints?
- AInstruct a short answer of two or three sentences, set a ceiling that fits it, and re-run the eval set Correct
- BStream the reply token by token so residents see the start of the answer within the budget
- CMove the service to the Message Batches API so that long replies no longer hold open a connection
- DLower the output token ceiling sharply and leave the prompt as it is so replies are cut off early
Why A is correct: Correct. Generation time scales with the number of output tokens, so asking for the short answer residents actually need brings the reply inside the budget, the ceiling acts as a backstop, and re-running the labelled set confirms the shorter replies remain correct.
Why B is wrong: Tempting because streaming is the standard fix for perceived latency in chat interfaces. It is wrong here because the reply is delivered as one text message after generation finishes, so streaming does not change when the resident receives anything.
Why C is wrong: Tempting because batch processing is a well-known way to handle long generations more cheaply. It is wrong because batch requests are processed asynchronously with no promise of a fast turnaround, which moves the service further from a four-second budget.
Why D is wrong: Tempting because a lower ceiling does stop generation sooner and is a one-line change. It is wrong because the model still plans a 450-word reply, so the ceiling cuts it mid-sentence; a hard stop is a compensating control where shaping the reply itself is the structural fix.