How do I change or remove an API key?

Open Settings > AI provider accounts. To change a key, select Replace key beside the provider and paste the new one. To remove one, select Remove beside it and confirm, and agents that use it stop answering until you pick another provider for them.

Settings > AI provider accounts lists each provider you've connected, with the last four characters of its key, so you can tell which key is in use.

Change a key

  1. Make a new API key in your account at the AI provider.
  2. Open Settings > AI provider accounts and select Replace key beside the provider.
  3. Paste the new key and select Connect. It takes the old key's place.
  4. Check the last four characters in the list match the new key, then delete the old key at your provider.

Remove a key

  1. Open Settings > AI provider accounts.
  2. Select Remove beside the provider.
  3. Confirm when we ask. The box names any agent that uses it.

Agents that use a provider you remove stop answering until you pick another provider for them on their Settings tab.

Removing a key from Rarity doesn't delete it at your provider. Delete it there too if you no longer need it.

For a custom provider, select Edit beside it to change its address, its model id, its key or its headers. Leave the key empty to keep the one it has.