Available Providers
Installation
Configuration
Environment Variables
Check Availability
Provider Factory
Auto-Detection
Specific Provider
Custom Model
Direct Provider Usage
Anthropic
claude-opus-5 (and Claude Fable 5 / 5.1), requests opt into Anthropic’s server-side refusal fallbacks: if a safety classifier declines a request, the API retries it on Anthropic’s recommended fallback model. If the whole chain declines, complete() raises LLMError.
OpenAI
Ollama (Local)
Ollama runs completely locally - no API keys, no data sent externally, works offline. Setup:
See the Ollama notebook for working examples.
Using with Explainer/Generator
Response Metadata
Get usage information withcomplete_with_metadata:
Error Handling
Provider Interface
All providers implementLLMProvider: