Get an AI key and set a spending limit
A key is a long password that lets HQ ask an AI service questions on your account. HQ keeps it on your device and never shows it again.
-
Pick a service and make a key
OpenRouter reaches many models with one key. Anthropic gives you Claude directly. Google AI gives you Gemini directly. Each service has a page where you create a key, and the account needs a little credit.
The links to each service -
Cap the key where you made it
Most services let you set a spending cap or an expiry on the key itself. Do that first: it is the limit that works even if something goes wrong on your side.
-
Paste it into HQ
On the first run HQ asks for the key. Paste it and tap Check key. If you skipped it, open Settings, then AI service and keys.
-
Set a limit inside HQ too
In the web app, open Spending to set daily, weekly or monthly limits, for all AI use or for one service or model. On the phone, Settings then Spending limits shows your budgets and a forecast for the month. Changing a limit is in the web app for now.
If it went wrong
It says auth error (401)
The service refused the key. Look for a stray space or character, an expired key, or a key from a different service.It says rate limited or overloaded
The service is busy or the key hit its cap. Try again later or raise the cap.HQ says the AI service isn't answering
HQ itself is fine and your Vault and tasks still work. Check the key under Settings, AI service and keys, and that the account still has credit.First run, with the fix for each message. Next: Save your first note.