Model Cascade: making LLM classification cheaper A developer introduced Model Cascade, a technique that uses a cheap model's confidence scores to decide when a large, expensive LLM is needed for classification tasks, potentially reducing costs significantly. The approach, based on the BARGAIN paper, calibrates a confidence threshold offline and routes most records to the small model, reserving the oracle for low-confidence cases. The developer also highlighted the follow-up Task Cascades paper, which adds optimizations for further cost savings. Many LLM workloads are classification tasks. This can get expensive, and I believe it is going to become more and more important, especially with the proliferation of software factories. So what is Model Cascade ? In short, it is a way to make a deterministic system around a cheap model and make it give us the same results as the expensive model. The LLM we use gives us the probability of every token in the output, same probability model used to generate the response. We put all the tokens of the response together, and we get the probability of the response. Now the smart part of the Model Cascade: flowchart TB subgraph CAL "Calibrate once, offline" S "Sample ~500 records" -- O1 "Label sample with oracle" O1 -- T "Try every observed confidence