Your first provider is connected during the onboarding wizard. This page covers adding additional providers or managing existing ones from Settings → Connections.
Supported providers
- API key providers
- OAuth / interactive providers
- Local / self-hosted
These are the simplest to connect — paste a key, done.
| Provider | Get your key | Typical cost |
|---|---|---|
| OpenAI (GPT-4.1, o3, o4-mini) | platform.openai.com/api-keys | ~$0.01–0.06 per 1K tokens |
| Anthropic (Claude Opus, Sonnet, Haiku) | console.anthropic.com/settings/keys | ~$0.003–0.075 per 1K tokens |
| Google Gemini | aistudio.google.com/app/apikey | ~$0.007 per 1K tokens |
| DeepSeek | platform.deepseek.com | Very low cost |
| Mistral | console.mistral.ai | Competitive pricing |
| Groq | console.groq.com/keys | Fast inference, usage-based |
| OpenRouter | openrouter.ai/keys | Routes to 100+ models via one key |
| Together AI | api.together.ai | Open-source model hosting |
| Fireworks AI | fireworks.ai | Fast, cheap open-source models |
| Perplexity | perplexity.ai | Search-augmented models |
| xAI (Grok) | console.x.ai | Grok models |
| Cohere | dashboard.cohere.com | Command R and enterprise models |
Step-by-step: adding a provider
Complete auth
- API key: paste your key, click Connect
- OAuth: click Start, follow the browser flow, return to HQ
- Local URL: enter the endpoint URL (see Ollama/LM Studio guides below)
Ollama (free, runs on your machine)
Ollama lets you run models like Llama 3, Mistral, Gemma, and others locally with no API costs. Everything stays on your machine.Install Ollama
Download from ollama.com and install it.
Pull a model
Connect in HQ
Go to Settings → Connections → Add connection → Ollama. Enter this URL:
host.docker.internal is how Docker reaches your Mac/Windows machine. On Linux, use your host IP (e.g. http://172.17.0.1:11434).LM Studio
LM Studio is a Mac/Windows/Linux app with a GUI for downloading and running local models.Install and load a model
Download from lmstudio.ai, open it, browse the model library, and download a model.
Start the local server
In LM Studio, go to Local Server (left sidebar) → click Start Server. Note the port (default is 1234).
Per-agent model overrides
Each agent can use a different provider and model. This lets you run a cheap local model for a background researcher while a cofounder agent uses Claude Opus. To override for one agent: open the agent’s detail page → look for the Model section in the right rail → pick a model and thinking level.Model selection
The model picker shows models grouped by provider, filtered to only providers you’ve connected. If you have multiple connections that serve the same models (e.g. an OpenAI API key and an OpenAI subscription), the picker shows one unified “OpenAI” group that routes through whichever connection you have. If both are connected, each model appears with “Subscription” and “API” route labels so you can choose which billing path to use.Thinking level
For models that support extended thinking (Claude, o-series), you can set a thinking level per agent:| Level | Behavior |
|---|---|
| None | No extended thinking (fastest, cheapest) |
| Low | Brief internal reasoning |
| Medium | Moderate reasoning depth |
| High | Maximum reasoning depth (most capable, highest cost) |
Per-task overrides
When creating or editing a task assigned to an agent, you can override the thinking level for that specific task. This is useful for one-off complex tasks that need deeper reasoning without changing the agent’s default. Task-level overrides are passed to the agent session at wake time via the inbox dispatch mechanism.Resolution order
The model used for any given agent session follows this cascade:- Per-task override (if the wake was triggered by a task with
model_overrideorthinking_override) - Agent default (set in the agent detail sidebar)
- Gateway default (the first connected model, or the workspace default from Settings → Connections)
Rotating or removing a provider
To remove a provider or rotate keys:- Go to Settings → Connections
- Find the provider → click Remove or Update key
- For a key rotation: click Remove, then re-add with the new key

