Every generation can run on your own API key with the model's provider, billed by that provider to you. The app stores one key per provider, encrypted, and uses it only server-side for your own calls.
How to use it
Add a key where it is asked for: the dialog that opens on a first generation (or use your own key under the credits panel, with a tab per provider), or the profile page's Connections card, which lists each provider with a dot when a key is on file. Paste the key and save; the field's placeholder names the last characters of a key it would replace. Remove takes it off.
Two providers are on: Anthropic (Claude Sonnet and Claude Opus) and OpenAI (GPT-6.1 Sol and GPT-5.6 Sol). Google is off; a stored pick for a provider that is off moves to Claude Sonnet. Credits run Claude models only, so an OpenAI model always needs your own key.
How it works
A key is checked before it is stored: the app asks the provider for its model list, and only a 200 keeps the key. A 401 or 403 (and Google's 400) rejects it; anything else stores nothing and says to try again. Saving is throttled to 10 attempts per account and 30 per network address before a wait, and an accepted key gives its attempt back.
A stored key is encrypted with a server-held secret, decrypted per request, and never reaches the browser, a URL, a log or a response: the status the app shows is connected, a hint of the last characters, and whether the last call rejected it.
A provider refusing a stored key (a 401 on a call) marks it rejected: the key dialog reopens on that provider with the call queued behind a new key. A provider's own credit refusal or rate limit opens a dialog with the next steps.
Own key beats credits per provider: a key for the model's provider runs the call; without one, credits run it when the server can; otherwise a key for another provider runs that provider's default model, and the picker says so.
What can go wrong
Anthropic needs an API key before it can generate — add one to continue.: no key, and credits cannot run this model.- The key was accepted and calls fail with
AI connection is temporarily unavailable: the server's own configuration, not your key; try later. stale_sessionon save: the account behind the session is gone; sign out and in.