BYOAIK — Bring Your Own AI Key: a directory of AI tools that run on your own API key.
GitHub Copilot (BYOK)
Run Copilot Chat and agents on your own provider API keys
- Category:
- Coding Assistants
- Pricing:
- Open Source
- Open source:
- No
- Self-hostable:
- No
- Local-first:
- Yes
- Platforms:
- Desktop, Self-hosted
- AI providers (bring your own key):
- Anthropic, OpenAI, Google Gemini, Azure OpenAI, OpenRouter, xAI Grok, Ollama, Custom / OpenAI-compatible
- API key storage:
- Stored locally on device
- Key risk level:
- LOW
- Trust score:
- 90/100
GitHub Copilot's Bring Your Own Key (BYOK) lets developers use Copilot Chat and agents in VS Code (and supported IDEs) with their own LLM provider API keys instead of GitHub-hosted models. Configured via the "Chat: Manage Language Models" command in VS Code, BYOK supports models from Anthropic, OpenAI, Google Gemini, Azure OpenAI, OpenRouter, xAI Grok, AWS Bedrock, and any OpenAI-compatible endpoint, plus local models via Ollama and Foundry Local. BYOK usage is billed directly by the chosen provider and does not count against Copilot request quotas. Generally available as of April 2026 for Copilot Business and Enterprise customers (admins can disable the policy). BYOK applies to chat/agent models, not code completions. Copilot itself is a closed-source, paid product.
How your API key is handled
Your API key is stored locally on your device. Requests are sent directly to the AI provider.
Setup
Open settings, paste your provider API key, choose a model, and start — the key stays on your device.