Router, up below 0: 7 of 12 right, cost 2.4, 0 sent up
- router, one point per threshold
- all large
Up below 0: 7 of 12 right, cost 2.4, 0 sent up. “What is the hotel nightly limit for business travel?” stays small.
Chapter 5 of 7
Fall back when unsure
The small tier stumbles on the tricky questions. So the team wires a router: the small tier answers first, and unsure answers go up to the large tier.
This chapter: How does a confidence threshold trade right answers against cost?
About this chapter
You will learn
- What a router and a fallback (a cascade) are
- How raising the threshold moves the quality and cost frontier
- Why a confident answer can still be wrong
Words you’ll meet
- Router
- The step that decides which model answers a question.
- Cascade
- Ask the cheap model first; send the question to a bigger one only when the first answer looks unsure.
- Confidence
- A score from 0 to 1 for how sure an answer seems. Here it is a stand-in score set by hand to show the trade-off.
- Threshold
- The confidence below which the router sends a question up.
- Frontier
- The best right answers you can get at each cost: the line the router’s settings trace.
Step 1 of 3
Small answers carry a score; below the , they go up. These are stand-ins set by hand; real systems compute them.
Predict first.
FrugalGPT is an LLM cascade that learns which combinations of models to use for different queries; its authors report it can match the best single model (GPT-4) with up to 98% cost reduction. arxiv.org · checked 2026-10-24