Task 3.3: Relieving the Binding Performance Constraint
Weighing changes such as retrieval depth, model tier, caching and call pattern for a system held back by accuracy or latency, and choosing the one that fixes that limit at the least cost to the other.
Study it
Relieving the binding constraint: retrieval depth, model tier, caching and call pattern
Try each one before opening the answer. Every option is explained, with the Anthropic documentation page that proves it.
Question 1 · choose 1
A team runs every Claude Code session on the opus alias and works in two phases: an architecture plan in plan mode, then many implementation turns. Reviews rate the plans highly, but the binding constraint is now how long the implementation turns take. The team wants to relieve that latency with as little cost as possible to plan quality. Which configuration change fits?
ASet the model to the sonnet alias for every session, so that both phases run on the faster model
BSet the model to opusplan, so that plan mode uses opus and the implementation turns switch to sonnet
CSet ANTHROPIC_DEFAULT_OPUS_MODEL to a Sonnet model, so that the opus alias runs faster in both phases
DKeep opus and set effort to low for the whole session, so that every turn in both phases does less work
Show the answer and why
ASet the model to the sonnet alias for every session, so that both phases run on the faster model
Incorrect
That moves planning off Opus too, giving up the reasoning the team relies on for its architecture decisions.
BSet the model to opusplan, so that plan mode uses opus and the implementation turns switch to sonnet
Correct
opusplan pairs Opus's reasoning for planning with Sonnet's efficiency for code generation and implementation.
CSet ANTHROPIC_DEFAULT_OPUS_MODEL to a Sonnet model, so that the opus alias runs faster in both phases
Incorrect
That variable sets the model the opus alias uses, so planning would also run on Sonnet.
DKeep opus and set effort to low for the whole session, so that every turn in both phases does less work
Incorrect
Low effort trades some capability for speed in every turn, planning included.
The opusplan alias uses opus in plan mode for complex reasoning and architecture decisions, then switches to sonnet for code generation and implementation. It relieves latency in the implementation phase while keeping the planning model. ANTHROPIC_DEFAULT_OPUS_MODEL changes what the opus alias resolves to, including opusplan's plan mode, and lower effort reduces capability on every turn.
A retrieval pipeline's binding constraint is answer accuracy; latency has headroom. It currently passes the top 5 retrieved chunks to the model. Which change does Anthropic's contextual retrieval research point to for the number of chunks passed?
APass the top 20 chunks, which the research found more effective than the top 10 or top 5
BPass only the single best chunk, so that the model isn't distracted by weaker matches
CKeep 5 chunks and switch to a smaller model, since a smaller model reads short contexts more accurately
DPass every chunk above a fixed similarity score, however many there are, to maximize recall
Show the answer and why
APass the top 20 chunks, which the research found more effective than the top 10 or top 5
Correct
The summary of findings says passing the top-20 chunks is more effective than the top-10 or top-5.
BPass only the single best chunk, so that the model isn't distracted by weaker matches
Incorrect
The research found more chunks, up to 20, more effective than fewer.
CKeep 5 chunks and switch to a smaller model, since a smaller model reads short contexts more accurately
Incorrect
The research ties the gain to passing more chunks, not to a smaller model.
DPass every chunk above a fixed similarity score, however many there are, to maximize recall
Incorrect
The research compared top-K settings and found the top 20 most effective.
Anthropic's contextual retrieval research compared combinations of embedding models, BM25, contextual retrieval, reranking and the number of top-K results. Among its findings, passing the top-20 chunks to the model was more effective than the top-10 or top-5, and the benefits stack with the other techniques.