Skip to content
AI

Bring Your Own Keys

Bring Your Own Key (BYOK) lets you connect your own API key from Anthropic, Google, or OpenAI to use with Raycast's AI features without a Pro subscription. You'll be responsible for the API costs incurred at the provider's standard rates. Only AI models available in Raycast AI will be available as models through BYOK.

Raycast AI Quick AI answering a question with a model running through a personal API key

You can add one API key per provider from Anthropic, Google, and OpenAI. Be sure to monitor the provider's API console to prevent costly surprises when using your own key.

If using BYOK, requests are processed through our servers in order to unify the model APIs, integrate fallback behaviors, and do some final prompt management. Learn more about BYOK and Privacy on the Raycast AI Privacy & Security page.

  1. Open Raycast Settings → AI.
  2. In the API Keys section, click to add your key.
  3. Select your provider from the dropdown.
  4. Paste your key into the API Key field, then click Verify. Raycast will check the key with the provider to ensure it can be used.
  5. Once verification succeeds, click Save. The key is stored securely and the provider appears in your API Key list.

If you don't have a key yet, the Manage in [Provider] Console button opens the provider's key console page in your browser.

Each configured provider entry in the API Keys list will show:

  • A toggle to enable or disable the key without deleting it. Disabled keys won't be used for any AI request.
  • Remove the key entirely.
  • Shortcut to the provider's console for rotating or revoking the key on their side.

When a key is active, a small key icon appears next to that provider's model names in Raycast AI to show that the request will use your own credentials.