---
title: "LLM cascade pattern for AI agents | Agentic Pattern Language"
description: "A cheap model answers first; only answers that fail a confidence check go to a stronger model. Sourced from Chen et al., Bouchard, and Google."
url: https://agenticpatternlanguage.com/patterns/llm-cascade/
---

32 [Systems of agents](https://agenticpatternlanguage.com/#systems-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

[How to read this](https://agenticpatternlanguage.com/notation/)

## Alternatives

* [Routing](https://agenticpatternlanguage.com/patterns/routing/)
* [Advisor](https://agenticpatternlanguage.com/patterns/advisor/)

## 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.

Google [Speculative cascades — A hybrid approach for smarter, faster LLM inference](https://research.google/blog/speculative-cascades-a-hybrid-approach-for-smarter-faster-llm-inference/) Sep 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](https://arxiv.org/abs/2305.05176)

## 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](https://arxiv.org/abs/2305.05176)

> LLM cascades, in which a cheap model defers to an expensive one on low-confidence queries, are widely used to reduce inference cost.

Bouchard [Is Escalation Worth It? On the Depth of LLM Cascades](https://arxiv.org/abs/2605.06350)

> 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.

Google [Speculative cascades — A hybrid approach for smarter, faster LLM inference](https://research.google/blog/speculative-cascades-a-hybrid-approach-for-smarter-faster-llm-inference/) Sep 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.

Atlassian [Teaching a 4B Model to Think Like a Policy Expert](https://www.atlassian.com/blog/how-we-build/teaching-a-4b-model-to-think-like-a-policy-expert) Nov 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.

Anthropic [Next-generation Constitutional Classifiers: More efficient protection against universal jailbreaks](https://www.anthropic.com/research/next-generation-constitutional-classifiers) Jan 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.

Google [Speculative cascades — A hybrid approach for smarter, faster LLM inference](https://research.google/blog/speculative-cascades-a-hybrid-approach-for-smarter-faster-llm-inference/) Sep 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.

Bouchard [Is Escalation Worth It? On the Depth of LLM Cascades](https://arxiv.org/abs/2605.06350)

> 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](https://arxiv.org/abs/2305.05176)

## Sources

1. [FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performance](https://arxiv.org/abs/2305.05176) Lingjiao Chen, Matei Zaharia, James Zou, Chen et al.
2. [Is Escalation Worth It? On the Depth of LLM Cascades](https://arxiv.org/abs/2605.06350) Dylan Bouchard, Bouchard
3. [Speculative cascades — A hybrid approach for smarter, faster LLM inference](https://research.google/blog/speculative-cascades-a-hybrid-approach-for-smarter-faster-llm-inference/) Hari Narasimhan, Aditya Menon, Google, Sep 11, 2025
4. [Teaching a 4B Model to Think Like a Policy Expert](https://www.atlassian.com/blog/how-we-build/teaching-a-4b-model-to-think-like-a-policy-expert) Atlassian, Nov 4, 2026
5. [Next-generation Constitutional Classifiers: More efficient protection against universal jailbreaks](https://www.anthropic.com/research/next-generation-constitutional-classifiers) Anthropic, Jan 9, 2026
   > we implemented what we call a "cascade architecture."

Added Nov 14, 2026
