The cascade threshold
Every request goes to the small model first. How sure must it be before its answer goes out, and what does the frontier cost for the rest?
A thousand requests reach a 7B first, and it answers every one. If its reply sounds sure enough it goes out. If not, it is thrown away and the frontier model answers instead. The panels show how many the 7B answered alone, the wrong answers that got out, and the bill and the wait against always-frontier.
Included with a plan
This lab is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.
See plansAlready a member? Sign in
Or start free: a free account opens lessons 2 and 3 of every track.
the lesson Routing and Cascades (not every request needs the big model)
The whole idea this lab came from, told start to finish.
on the path Module 9 of 9 in AI: Serving LLMs
The lessons, boards and videos around this lab, in reading order.
see also ReAct: Synergizing Reasoning and Acting in Language Models in Papers.