# Bring Your Own Keys

> Platforms: Mac

Connect your own API key from Anthropic, Google, or OpenAI to use Raycast's AI features without a Pro subscription.

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](https://www.raycast.com/core-features/ai/models) will be available as models through BYOK.

![Raycast AI Quick AI answering a question with a model running through a personal API key](/images/app/ai/mac-byok-quickai.png)

You can add one API key per provider from [Anthropic](https://console.anthropic.com/settings/keys), [Google](https://aistudio.google.com/apikey), and [OpenAI](https://platform.openai.com/api-keys). Be sure to monitor the provider's API console to prevent costly surprises when using your own key.

> [!NOTE]
> 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](/ai/raycast-ai-privacy-security) page.

## Add a Key

1. Open **Raycast Settings → AI**.
2. In the API Keys section, click **Plus icon** 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.

## Managing & Deleting Keys

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.
- **Trash button** Remove the key entirely.
- **NE Arrow button** 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.

## FAQ

<details>
<summary>My key fails to verify when adding to Raycast</summary>
Double-check the key is pasted in full with no surrounding whitespace, and confirm it's active in the provider's console. If you've just created the key, give the provider a moment to propagate it on their end.
</details>

<details>
<summary>I can't see a model I want to use with BYOK in the model picker</summary>
Raycast is responsible for the list of AI models available for AI features inside the app. If a brand-new model isn't showing, we may still be working on adding it on our side. The [Raycast AI Models](https://www.raycast.com/core-features/ai/models) page lists all models available from each provider in Raycast AI.
</details>

<details>
<summary>My requests are using Raycast AI even though I've added my own key</summary>
Make sure the key has been enabled in API Keys under **Raycast Settings → AI**, then re-pick the model where you wish to use it in Raycast.
</details>

<details>
<summary>I want to stop using BYOK in Raycast</summary>
You can either toggle the API key off in **Raycast Settings → AI** to keep the key available for later, or click the trash icon to remove it entirely.
</details>


---

## Need Help?

Contact Raycast Support if you have any questions or would like help with Bring Your Own Keys. Use the **Send Feedback** command directly in Raycast to report bugs and billing issues, log feature requests, or any other queries you would like to speak to us about.

You can view all Raycast Support contact options at https://manual.raycast.com/contact-support
