HelpUse your own Anthropic, OpenAI or OpenRouter API key instead of credits
Saving a key does not by itself move your agents off credits: each agent pays the way its own setting says, and there is no separate switch for the whole workspace. The one exception is an OpenAI key: once saved, live voice with Linus and the images agents make run on it, whatever the agents are set to. Owners and admins add a key in Settings (foot of the rail) › Plans and keys › Your API keys: choose Add key next to Anthropic, OpenAI or OpenRouter, paste the key and choose Save key; Agently checks it with the provider, stores it encrypted and shows only the last four characters. Then put each agent on it: in its Agent settings (the panel beside an agent's chat) › Runs on, pick Agently cloud paid with Your API key (in the Mac app; the web shows the setting without changing it). Settings (foot of the rail) › How agents run › Every new agent sets where agents you hire from then on start, for example "In Agently’s cloud · your API key". An agent paid with your key spends it, and no credits, on Smart and every Agently model; if the key is missing or the provider rejects it, the agent stops and says so rather than falling back to credits. Settings (foot of the rail) › Plans and keys › On Agently says "Credits, or your Anthropic key for agents paid by key" once Smart can use a key. With both Anthropic and OpenAI keys saved, Smart uses picks which provider's key Smart spends. Each provider takes only its own keys: Anthropic keys start with sk-ant-, OpenAI keys with sk- and OpenRouter keys with sk-or-. There is no custom base URL or OpenAI-compatible endpoint, so a DeepSeek key or a key from a relay or proxy service is refused. For DeepSeek, Gemini, Grok, Qwen, Kimi, Mistral and other models, add an OpenRouter key: OpenRouter's models that can use tools then appear in Model for this thread (the model button in the message box of a chat) › OpenRouter, at the end of the menu, and Filter OpenRouter models narrows them; they work only in a chat where you pick one, never as Smart, and OpenRouter bills you. Whether your plan takes your own keys depends on the plan: where it does not, the section shows "Not in your plan" with Upgrade. To go back to credits, set the agent to Agently credits, or remove the key; only removing an OpenAI key takes voice and images off it.
Watch the guide · 4 minHow to use your own Anthropic, OpenAI or OpenRouter keyWhere to find it
- Settings (foot of the rail) › Plans and keys › Your API keys
- Settings (foot of the rail) › Plans and keys › Your API keys › Add key
- Settings (foot of the rail) › Plans and keys › Your API keys › Save key
- Agent settings (the panel beside an agent's chat) › Runs on
- Settings (foot of the rail) › How agents run › Every new agent
- Settings (foot of the rail) › Plans and keys › On Agently
- Settings (foot of the rail) › Plans and keys › Your API keys › Smart uses
- Model for this thread (the model button in the message box of a chat) › OpenRouter
- Model for this thread (the model button in the message box of a chat) › OpenRouter › Filter OpenRouter models
Still stuck? See Report a problem or contact the Agently team, or email [email protected].
