Dev.to
7/22/2026

Multi-provider LLM resilience in Python without provider-specific code
Short summary
llm-api-resilience is a Python library that adds retries, ordered failover, circuit breakers, and checkpoint recovery across OpenAI, Anthropic, and Google without provider-specific code. It builds on llm-api-adapter, which normalizes message formats, tool definitions, and error types into a shared contract. You define one recovery plan and route requests across providers as fallbacks.
- •Library provides retries, circuit breakers, and ordered failover across LLM providers
- •Built on llm-api-adapter which normalizes API differences into one interface
- •Define recovery policy once; providers become routes in a single plan
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



