tota supports 9 AI providers and tries them in order when the primary fails — rate limits, network errors, API outages. You configure providers once during setup; the fallback chain is automatic.

Supported providers

ProviderDefault modelKey env var
DeepSeekdeepseek-chatDEEPSEEK_API_KEY
OpenAIgpt-4o-miniOPENAI_API_KEY
Anthropicclaude-3-5-haiku-20241022ANTHROPIC_API_KEY
Grok (xAI)grok-3-mini-fast-betaXAI_API_KEY
Mimomimo-vl-7b-rlMIMO_API_KEY
Ollama (local)llama3.2:latest(none)
Ollama (cloud)llama3.2:latestOLLAMA_API_KEY
OpenAI-compatibleyour chosen modelOPENAI_COMPAT_API_KEY
ℹ️

Env vars are optional — tota stores keys in ~/.tota/config.json. The env vars are only for CI/CD environments or if you prefer not to use the config file.

How fallback works

tota tries the primary provider first. On failure (rate limit, timeout, API error), it retries once, then falls through to the next configured provider. If all fail, it surfaces a clear error message.

The fallback order follows your provider setup order. To see your current chain:

tota status