32Systems of agents

LLM cascade

A cheap model answers first; only answers that fail a confidence check go to a stronger model.

Also called Cascade architecture

Chen et al., Bouchard, Google, Atlassian, Anthropic

lowhighRequestFast and cheap, Model callCheap modelCodeConfidenceStronger, Model callLarge modelAnswer
How to read this

The problem

Running the strongest model on every request is slow and expensive.

inference (the process of generating a response) can be slow and computationally expensive.
GoogleSpeculative cascades — A hybrid approach for smarter, faster LLM inferenceSep 11, 2025
using LLMs on large collections of queries and text can be expensive.
Chen et al.FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performance

Therefore

LLM cascade sends a query to a list of LLM APIs sequentially. If one LLM API’s response is reliable, then its response is returned, and no further LLMs in the list are needed.
Chen et al.FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performance
LLM cascades, in which a cheap model defers to an expensive one on low-confidence queries, are widely used to reduce inference cost.
BouchardIs Escalation Worth It? On the Depth of LLM Cascades
With cascades, the small "drafter" model gets the prompt first. If it's confident in its answer, it replies. If not, it defers the entire task to the large "expert" model.
GoogleSpeculative cascades — A hybrid approach for smarter, faster LLM inferenceSep 11, 2025

In use

Atlassian's content moderator for its AI products

In production, the fine-tuned 4B model resolved most of the requests, cutting overall latency and compute, while allowing the 20B model to think harder on suspicious cases.
AtlassianTeaching a 4B Model to Think Like a Policy ExpertNov 4, 2026

Anthropic's Constitutional Classifiers

First, a lightweight, less costly first-stage classifier screens all exchanges. Only those it flags proceed to a more accurate (and more computationally expensive) second-stage classifier.
AnthropicNext-generation Constitutional Classifiers: More efficient protection against universal jailbreaksJan 9, 2026

Where it breaks

Waiting on a small model that then defers wastes time, and tuning needs labeled examples. Both documented uses are safety classifiers, not answer generation.

If the small model hadn't been confident, we would have wasted time waiting for it to finish, only to then start the large model from scratch.
GoogleSpeculative cascades — A hybrid approach for smarter, faster LLM inferenceSep 11, 2025
allowing more than two models does not improve mean test-set accuracy in 118 of 135 comparisons across scorers, datasets, and depth caps, and adds at most 0.43 percentage points.
BouchardIs Escalation Worth It? On the Depth of LLM Cascades
To train the LLM cascade strategy in FrugalGPT, we need some labeled examples.
Chen et al.FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performance

Sources

  1. FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving PerformanceLingjiao Chen, Matei Zaharia, James Zou, Chen et al.
  2. Is Escalation Worth It? On the Depth of LLM CascadesDylan Bouchard, Bouchard
  3. Speculative cascades — A hybrid approach for smarter, faster LLM inferenceHari Narasimhan, Aditya Menon, Google, Sep 11, 2025
  4. Teaching a 4B Model to Think Like a Policy ExpertAtlassian, Nov 4, 2026
  5. Next-generation Constitutional Classifiers: More efficient protection against universal jailbreaksAnthropic, Jan 9, 2026
    we implemented what we call a "cascade architecture."

Added Nov 14, 2026