13 section

Reliability & Safety

Two different problems under one heading: keeping the system up when a provider fails, and keeping the output safe when the model says something it should not.

4 pages 34 min 7,095 words

01 the section

What is in here

Start with Reliability Patterns — retries, circuit breakers, bulkheads, failover — because uptime is the cheaper problem and its fixes are deterministic. Then Guardrails for input and output filtering, hallucination checks and fallbacks, followed by its shorter companion chapter weighted toward prompt injection and tool-action safety. Ensemble Methods closes the section by pricing what a second and third model call actually buy.