Skip to content

Choose Your AI Model

ProviderModelsKey CommandStatus
AnthropicClaude Sonnet 4.6 (default), any Claude modelvault set anthropic_api_keyready
Ollama (local)Llama 3, Mistral, Qwen, any local model(no key needed)ready
Ollama CloudHosted Ollama models (validated end-to-end with glm-5.1)vault set openai_compat_api_keyready
OpenAIGPT-4o + Azure OpenAIvault set openai_api_keybeta
GoogleGemini 2.0 Flashvault set gemini_api_keybeta
xAIGrok modelsvault set xai_api_keybeta
Any OpenAI-compatibleLM Studio, vLLM, Groq, DeepSeek, custom endpointsvault set openai_compat_api_keybeta

ready means validated end-to-end in production use. beta means the adapter is code-complete and passes tests, but still needs real-world validation — test reports are very welcome.

Terminal window
# Cloud providers (pick one)
aibutler vault set anthropic_api_key sk-ant-...
aibutler vault set openai_api_key sk-...
aibutler vault set gemini_api_key AIza...
# Local (no key needed — just install Ollama)
# https://ollama.com
ollama pull llama3

For a local model, point settings.model at it in ~/.aibutler/config.yaml:

settings:
model: llama3 # any non-cloud model name routes to your local endpoint

For Ollama Cloud, set the endpoint, pick a hosted model, and store your key:

settings:
model: glm-5.1 # any model hosted on Ollama Cloud
configurations:
models:
base_url: https://ollama.com
Terminal window
aibutler vault set openai_compat_api_key <your-ollama-cloud-key>

Change model at any time in ~/.aibutler/config.yaml:

settings:
model: claude-sonnet-4-6 # or: gpt-4o, gemini-2.0-flash, llama3

The model name picks the provider automatically: claude* routes to Anthropic, gpt* to OpenAI, gemini* to Google, grok* to xAI, and anything else to your local OpenAI-compatible endpoint (Ollama by default).

Check the active model in the REPL:

/model

AI Butler tracks every token and dollar spent:

Terminal window
aibutler cost status # Current spend
aibutler cost breakdown # Per-model breakdown
aibutler cost budget 50 # Set $50/month budget

Strategies: frugal (minimize cost), balanced (default), quality (maximize quality).

Run completely offline with local models:

settings:
offline_mode: true
model: llama3

No data leaves your machine. Zero cloud API calls.