Providers & Models

One schema for 20+ LLM providers, with a primary and fallbacks.

Point BudgetAI at the backend that fits the work. Switching providers never requires application code changes — one schema covers them all.

Supported providers

OpenRouter (default), OpenAI, Anthropic, Gemini, DeepSeek, DashScope/Qwen, Ollama, MiniMax, Mistral, Groq, Zhipu, SiliconFlow, vLLM, LM Studio, and more.

Configure a provider

budgetai configure provider \
  --provider anthropic \
  --model claude-sonnet \
  --api-key-env ANTHROPIC_API_KEY

Primary and fallbacks

BudgetAI selects a primary provider with backups ready if a call fails. Fallback happens automatically and is recorded in the receipt.

Inspect models

budgetai providers list
budgetai models list --json
budgetai models show gpt-4o

Tiers from the router map to concrete provider profiles. You control which model backs each tier.