LLM Provider Resilience

Keep an LLM feature up when the provider rate-limits, overloads, times out or has an outage: classify errors as retryable (429 rate limit, overloaded, 5xx, timeout, truncated stream) or deterministic (schema, refusal, context length, spend-cap 429) and retry only the first, honour Retry-After with full-jitter backoff under one global retry budget of about 10% of first attempts, cap concurrency per tenant, break the circuit per model, admit a fallback only after the same eval, and prove it with fault injection. Use for "the provider had an outage and our feature went down", "we keep hitting 429s from the model API", "add a fallback model", "retries against the model API made the outage worse". Not for spend ceilings (llm-cost), generic call chains (timeout-and-retry-budget), queues (event-driven-reliability), planned moves (model-migration) or running the incident (incident-response).

greenblacked Updated
The twenty-nine plugins: coding, family, gamedev, operations, delivery, security, manager, personal, career, design, llm, data, techdocs, assurance, client-apps

File contents

greenblacked/AI commit 578ecb64a7

Frequently asked questions

npx get-skill add greenblacked/llm-provider-resilience