Sledbot AI providers, accounts and fallback
How Sledbot uses CLI logins and API keys: add and test any of 49 providers or a local model, connect several accounts, and set fallback at usage limits.
Updated 8 min read
On this page
This page helps you connect Sledbot to AI models. CLI agents such as Claude Code and Codex use their own logins. The keys you add under Sledbot providers in Settings ▸ Providers are used by the native agent, routines and Night shift. Below you'll find how to add and test keys, use local models and custom endpoints, connect several accounts, and set up fallback when one account hits its usage limit.
CLI logins vs API keys: which agents use what
Sledbot keeps two kinds of credentials apart.
- CLI agents such as Claude Code, Codex and Gemini CLI use their own logins. You sign in with the CLI itself, and Sledbot never sees the password.
- Provider keys are API keys or local model servers that you add in Settings ▸ Providers. The native agent, routines and Night shift use these.
| Who runs the work | What it uses | Where you set it up |
|---|---|---|
| CLI agents (Claude Code, Codex, Gemini CLI, Copilot CLI, …) | The CLI's own login | Settings ▸ Agents (Log in…) or Settings ▸ Accounts (Subscription (CLI login)) |
Native agent (sled chat, the "Sledbot" agent, native-runtime teammates) | Provider keys or local models | Settings ▸ Providers |
| Routines and Night shift | Provider keys or local models | Settings ▸ Providers |
| A teammate's account list and fallback chain | CLI subscription logins and API-key accounts, in order | Settings ▸ Accounts, then Team ▸ teammate ▸ Settings |
On the New task page, the model chip appears only for agents that accept a model. With no provider added, it shows "No models yet." and Open Settings….
Add a Sledbot provider key and test it
- Open Settings (⌘, Command-Comma) and choose Providers.
- Pick a provider. Built-in providers stay off until you save a key for them.
- If you need a key, use the Get a key link. Documentation opens the provider's docs.
- Enter the key and click Save.
- Click Test.
- Check that Enabled is on. Disabled providers are hidden from model pickers.


Under Models, Refresh reloads the provider's model list and Filter models narrows it. Long lists show "Showing 300 of N…". Advanced holds Base URL and Headers.
Keys are stored in your Keychain under the service app.macsuite.sledbot.core. Once saved, a key is never shown again and never written to project files.
What the test results mean
| Result | Meaning |
|---|---|
| "Connected (N models)" | The key works. |
| "The key was rejected (HTTP 401/403)" | The provider refused the key. Check it, or get a new one with Get a key. |
| "Endpoint not found — check the base URL" | The Base URL under Advanced is wrong. |
| "Rate limited (HTTP 429) — the key works" | The key is valid; the provider is throttling requests right now. |
| "No API key saved" | Save the key before you test. |
"Not running at <url>: …" | A local server isn't running at that address. |
| "Key saved (this provider has no cheap test endpoint)" | The key was saved but couldn't be tested here. |
The 49 built-in providers
| Group | Providers |
|---|---|
| Closed labs (10) | Anthropic, OpenAI, Google Gemini, Google Vertex AI, Azure OpenAI, Amazon Bedrock, xAI, Mistral, Cohere, Perplexity (no tool calling) |
| Open-model hosts (25) | Groq, Cerebras, Together AI, Fireworks AI, DeepInfra, Hugging Face Inference Providers, DeepSeek, Moonshot AI (Kimi), Z.AI (GLM), Zhipu AI (BigModel, China), MiniMax, Qwen (Alibaba DashScope), Nebius Token Factory, Novita AI, SambaNova, Baseten, Hyperbolic, Chutes, Venice AI, Scaleway Generative APIs, OVHcloud AI Endpoints, IO.NET Intelligence, NVIDIA NIM, Ollama Cloud, Cloudflare Workers AI |
| Gateways (6) | OpenRouter, Vercel AI Gateway, Cloudflare AI Gateway, Requesty, LiteLLM proxy (http://localhost:4000/v1), GitHub Models (fine-grained PAT with models:read) |
| Local (8) | Ollama, LM Studio, llama.cpp server, vLLM, MLX, Jan, LocalAI, Apple on-device |
GitHub Copilot is not an API-key provider. It works through a CLI login only, either with the Copilot CLI or through OpenCode's /connect.
Local models: Ollama, LM Studio, MLX and others
Local providers need no key. Sledbot looks for a running server at these addresses:


| Server | Default address |
|---|---|
| Ollama | localhost:11434 |
| LM Studio | :1234 |
| llama.cpp server | :8080 |
| vLLM | :8000 |
| MLX (mlx_lm.server) | :8080 |
| Jan | :1337 |
| LocalAI | :8080 |
The provider row shows "Looking for a server on …", then "Detected on …" or "Nothing is running on …". Start the server, then click Check again.
Night shift accepts local models from Ollama, LM Studio or MLX as an alternative to an API key with a spend limit.
Custom OpenAI- or Anthropic-compatible endpoints
Use a custom endpoint for a server that isn't in the built-in list.
- In Settings ▸ Providers, click Add custom endpoint….
- Under Compatible with, choose OpenAI, Anthropic or Responses (an OpenAI Responses-compatible endpoint).
- Fill in Name and Base URL. API key and Headers are optional.
- Turn on Runs on my machine (no internet needed) if the server is local.
- Click Add.
Connected plans and multiple logins of the same CLI
Settings ▸ Accounts lists your Connected plans. Each card shows its label, plan, machine, "N tokens today", today's cost and a state: "In use", "At limit (resets HH:mm)", "Standby", "Logged out" or "Unknown". The card menu has Log in… and Remove….


To add one, click Add account… and choose a type:
- Subscription (CLI login): set Agent, Machine, an optional Plan (for example "Max 20x") and a Label, then click Add and log in. You finish the login in the CLI.
- API key: choose a Provider whose key is already saved in Providers, add a Label, and click Add.
Each subscription account gets its own config folder, so several logins of the same CLI don't overwrite each other. Sledbot does this through CLAUDE_CONFIG_DIR, CODEX_HOME, GEMINI_CLI_HOME, COPILOT_HOME, QWEN_HOME or PI_CODING_AGENT_DIR, depending on the agent. Other agents use their default folder.
Token and cost figures come from Claude Code and Codex session logs on disk. Sledbot never reads credentials.
Stacking and fallback: what happens at a usage limit
Each teammate has its own ordered account list and fallback chain, set in Team ▸ teammate ▸ Settings:


- With Runs as set to CLI agent (your subscription), the Accounts list sets the order of logins ("Default login for this agent").
- Fallback lists what to try next. With nothing listed, it reads "No fallback: work pauses at the limit".
Stacking is opt-in: nothing switches accounts unless you list more than one. Some providers restrict using several personal subscriptions this way, so check their terms before you stack.
When the current account hits its limit, Sledbot:
- Stops the agent cleanly by sending Ctrl-C twice, and kills it if needed.
- Starts the next entry in the same worktree with a handoff prompt that contains:
- the task and the last plan;
git status --short,git diff --statandgit diff(cut at 12,000 characters);- the last 200 screen lines.
- Records "Switched from X (at limit, resets HH:mm) to Y" in Activity. When no entries are left, it records "X is at its limit and the fallback chain is exhausted".
Two rules apply to the chain:
- A model entry in the chain runs through OpenCode by default.
- A Claude subscription is never chained into another Claude subscription.
When Health reports that an agent hit a rate limit, its Switch account fix opens Settings ▸ Accounts.
The native agent and sled chat
The native agent is Sledbot's own coding agent for any API-key or local model. Start it one of three ways:
- Pick the agent Sledbot on the New task page.
- Run
sled chatin any terminal. - Set a teammate's Runs as to Native agent (API key or local model).
It talks to Anthropic Messages, Gemini, OpenAI Chat Completions, OpenAI Responses, Amazon Bedrock Converse and Google Vertex AI. Every OpenAI-compatible provider works through Chat Completions.
Modes. Build mode has all tools. Plan mode is read-only. In sled chat, press Tab to switch between them.
Approvals. Every tool call goes through your approval rules. Edits outside the working folder always ask first.
Limits:
- 60 turns per run: "Reached the turn limit (60). Send a message to continue."
- A budget: "Reached the budget ($X.XX). Send a message to continue."
- 16,384 output tokens per call.
- Compaction at 75% of the context window.
- On a limit or an HTTP 429, it switches to the next fallback model.
Which model sled chat uses, in this order:
--model.$SLED_CHAT_MODEL.- The last model you used.
- The first tool-capable model of an enabled provider.
If none is found, it prints: "No model configured. Add a provider key in Sledbot (or set e.g. ANTHROPIC_API_KEY) and pass --model provider/model."
sled chat -m provider/modelThis starts sled chat with a specific model. Slash commands include /model, /provider, /cost and /undo. /undo restores files to how they were before the last turn and needs a git repository. The full flag list is on the sled command line page.
On remote machines, keys saved on your Mac are never copied. The native agent there reads <PROVIDER>_API_KEY environment variables on that machine, for example ANTHROPIC_API_KEY in the server's shell profile.
Model catalogue and overrides
The model list comes from a bundled models.dev snapshot that Sledbot refreshes weekly from https://models.dev/api.json. When Insights can't report an exact cost, it estimates it from models.dev list prices.
- To override catalogue entries, use
~/.config/sledbot/models.json. - To stop the weekly refresh, set
SLED_NO_NETWORK=1. There is no switch for this in Settings.
What isn't supported
- Claude subscription tokens (
sk-ant-oat…). Sledbot refuses them: "That is a Claude subscription login token, which Sledbot doesn't store. Sign in withclaudeon the machine instead, or use an Anthropic API key." - Apple on-device for the native agent. The Apple row reads "Nothing to set up: Apple's on-device model runs on this Mac (Apple Intelligence must be on)." The native agent still can't use it ("Apple on-device models are not supported by the native agent yet"). In Sledbot, Apple's model only drafts commit messages, on macOS 26 with Apple Intelligence.
- Night shift on subscription logins. Night shift never runs on a Claude subscription or other subscription logins. It needs an API key with a spend limit set at the provider and confirmed in Sledbot, or a local model.
- Teammate "Daily budget (USD)" as a daily total. It acts only as a per-run cap for native-agent runs and doesn't limit CLI agents.