Designing Graceful Degradation and Fallbacks
This lesson describes fallback strategies that give users a useful partial response instead of an error when the best response cannot be produced.
Learning outcomes
After completing this lesson, you will be able to:
- Configure fallback models.
- Serve cached, retrieved or static responses.
- Design a degradation ladder.
Fallback models
The simplest fallback calls a different model when the primary fails or is throttled: a smaller model in the same family, a model from another provider, or the same model through a cross-Region inference profile. Because the Converse API uses one format, the fallback only changes the model ID; prompts may need light adjustment, so fallback prompts should be tested in advance. The fallback's quality must still meet a minimum bar for the use case; otherwise another degradation level is more honest.
Fallback models
Cached, retrieved and static responses
Other degradation levels avoid generation altogether. A cached response for the same or a similar question serves common queries during an outage. For RAG applications, returning the retrieved passages with links, without a generated summary, still helps the user find the answer. A static response explains that the feature is temporarily limited and offers an alternative, such as a human agent or a form.
For non-interactive work, the best fallback is often to defer: put the request in an SQS queue or dead-letter queue and process it when the dependency recovers, notifying the user when the result is ready.
Designing a degradation ladder
Graceful degradation means that when part of a generative AI application fails, users receive a reduced but still useful response instead of an error. A degradation ladder defines the possible responses from best to most basic, and for each level the condition that moves a request down to it, such as throttling of the primary model, a circuit breaker opening after repeated failures, or the retrieval service timing out.
The ladder is designed with product owners, because each level is a business decision about what quality is acceptable: a smaller model's answer may be acceptable for a support assistant, but a fixed message directing users to a human may be the only acceptable fallback for regulated advice. Each level is tested deliberately, for example with fault injection, so that it works when it is needed. Metrics record how often each level is used; a rising share of degraded responses reveals capacity or reliability problems that should be fixed at the source rather than absorbed indefinitely. The following table shows a ladder for a customer support assistant.
| Level | Response | Triggered when |
|---|---|---|
| 1 | Primary model with RAG | Normal operation |
| 2 | Same model through cross-Region inference | Throttling in the source Region |
| 3 | Smaller fallback model with RAG | Primary model failing or circuit open |
| 4 | Retrieved articles without generation | All generation unavailable |
| 5 | Static message and hand-off to a human | Retrieval also unavailable |
The following diagram shows the assistant's degradation ladder.

A degradation ladder
Keeping a chat assistant useful
A travel company's assistant must keep helping customers during a model outage. Most questions are about baggage rules and cancellations, documented in a knowledge base.
An error page fails users, and a self-hosted duplicate model is expensive. A sensible ladder is: primary model through a geographic inference profile; on repeated failure, a circuit breaker switches to a smaller model; if generation is unavailable, the assistant calls the knowledge base Retrieve API and shows the top articles with links; frequent questions are served from a cache. Each level is logged as a metric.
The model is unavailable. How should non-interactive work, such as nightly summaries, be handled?
Show answer
Defer it through a queue and process it when the model is available again, instead of failing it.
Exam Tips
Remember for the exam
- Fallback order: alternative Region, smaller model, cache, retrieved documents, static message.
- RAG without generation: return retrieved passages with links.
- Non-interactive work: defer through a queue.
- Track how often each degradation level is used.