Docs/BYOK.md
Copilot for Xcode supports Bring Your Own Key (BYOK) integration with multiple model providers. You can bring your own API keys to integrate with your preferred model provider, giving you full control and flexibility.
Supported providers include:
To configure BYOK in Copilot for Xcode:
| Model Provider | How to get the API Keys |
|---|---|
| Anthropic | Sign in to the Anthropic Console to generate and retrieve your API key. |
| Gemini (Google) | Sign in to the Google Cloud Console to generate and retrieve your API key. |
| Groq | Sign in to the Groq Console to generate and retrieve your API key. |
| OpenAI | Sign in to the OpenAI’s Platform to generate and retrieve your API key. |
| OpenRouter | Sign in to the OpenRouter’s API Key Settings to generate your API key. |
| Azure | Sign in to the Azure AI Foundry, go to your Deployments, and retrieve your API key and Endpoint after the deployment is complete. Ensure the model name you enter matches the one you deployed, as shown on the Details page. |
[!NOTE] Please keep your API key confidential and never share it publicly for safety.