By Abhijith N M · Reviewed 24 October 2026 · Editorial standards
A reliable LLM feature is not one that never fails; it is one whose failures are chosen in advance. The primary path — retrieve the current policy, call the standard model alias, draft the update — will sometimes be slow, rate-limited, over budget or simply down. If the only alternative is an exception, the agent sees an error instead of a draft, and the customer waits.
Degradation is a ladder, not a switch. Each rung trades some quality or freshness for availability, and each rung must be visible to the user. The rule is simple: never silently substitute a worse answer and call it the real one.
Fallbacks are not interchangeable. A cached policy snapshot is safe for a draft but dangerous for a refund calculation if the carrier changed its fee schedule. A cheaper model is fine for tone but may be worse at following the tool-call schema. Write the mapping down before the incident.
| Fallback | Acceptable for | User impact | Evidence required |
|---|---|---|---|
| Secondary provider alias | Any generated text; same prompt and tools | None if quality is comparable | Per-alias eval score and latency |
| Cheaper model alias | Drafting the customer update | Less fluent text, same facts | Schema pass and fact-check pass |
| Cached policy snapshot | Explaining an existing clause | Potentially stale policy; must show age | Policy version and snapshot timestamp |
| Cached draft | Same exception re-opened by another agent | Stale wording; must show age | Cache key includes prompt and model version |
| Deterministic template | Shipping facts with no generated claim | Plain, manual follow-up needed | Template version plus the facts used |
| Structured error | Anything chargeable with no safe chain | Agent must handle manually | Error code and request ID in the trace |
status: ok, degraded or error.fallback_used: the rung, or null on the primary path.degraded_reason: timeout, provider_unavailable, budget_exceeded, stale_cache or template_only.data_age_seconds: present whenever a cached snapshot was used.request_id: the same handle used in every trace and log line.Key takeaways
Reliability is chosen failure modes, not the absence of failure.
Degrade in a ladder: retry safe reads, fall back by alias, cheaper model, cached snapshot, template, then a structured error.
Every fallback has a quality and freshness cost; map which fallbacks are acceptable for which action.
Always return a machine-readable degraded flag and reason so the user can calibrate trust.
Written and edited by the nexGenCoders team. Spotted a mistake? Tell us and we will fix it.
Don't lose this lesson
Create a free account to save your progress, keep your streak, and work toward a shareable certificate.