GitHub Copilot (BYOK)
Copilot Chat in VS Code with models from your own provider keys.
Overview
GitHub Copilot in VS Code lets users bring their own API keys for providers like Anthropic, OpenAI, Gemini, OpenRouter and Ollama to use additional models in chat and agent mode. Completions still use GitHub models.
- Agent mode
- Model picker
- MCP tools
- Inline chat
Our verdict
What we like
- Native VS Code integration
- Adds models beyond Copilot defaults
Watch out for
- BYOK limited to chat features
- Requires GitHub sign-in
Works with these providers
Keys from these providers work in this app. Usage is billed by the provider at its list price.
BYOK Key Safety Score
Key handling in GitHub Copilot (BYOK)
Grade B
Your key is stored on your device and requests go directly to the provider.
- Key storage40/40
Key stays on your device; requests go direct to the provider.
- Auditable code0/25
Closed source: key handling can't be independently verified.
- Self-hosting8/15
Runs as a local app, but not as a self-hosted service.
- Offline option10/10
Supports local models, so no key is needed at all for private work.
- Provider choice10/10
8 provider options, which lets you pick the provider whose data terms you trust.
Whatever the score, give each app its own key, set a monthly spend limit with your provider, and revoke keys you no longer use. Read the key-safety checklist.
GitHub Copilot (BYOK) FAQ
- Does GitHub Copilot (BYOK) support bring your own key?
- Yes. GitHub Copilot (BYOK) accepts your own API key from OpenAI, Anthropic, Google Gemini, OpenRouter, Groq, Ollama, Azure OpenAI and OpenAI-compatible. Usage is billed by the provider at its API rates.
- Where does GitHub Copilot (BYOK) store my API key?
- On your device. Requests go directly from GitHub Copilot (BYOK) to the provider. Its BYOK Tools Key Safety Score is 68/100.
- Is GitHub Copilot (BYOK) free?
- Freemium: Free tier; paid Copilot plans. API usage is billed separately by your model provider.
- Is GitHub Copilot (BYOK) open source?
- No. GitHub Copilot (BYOK) is closed source.
- Can GitHub Copilot (BYOK) run local models?
- Yes. It can connect to local runtimes such as Ollama or LM Studio, so no API key is needed for private or offline use.
- Which platforms does GitHub Copilot (BYOK) support?
- VS Code.
Community reviews
No reviews yet.
Alternatives to GitHub Copilot (BYOK)
All coding agents & ides →Cline
Coding Agents & IDEs
Autonomous coding agent in VS Code that uses your own API keys.
Roo Code
Coding Agents & IDEs
Customizable multi-mode AI coding agent for VS Code.
Continue
Coding Agents & IDEs
Open-source AI coding assistant for VS Code and JetBrains.
Kilo Code
Coding Agents & IDEs
Open-source VS Code and JetBrains agent combining Cline and Roo ideas.
Aider
Coding Agents & IDEs
AI pair programming in your terminal with git-aware edits.
OpenCode
Coding Agents & IDEs
Open-source terminal coding agent that works with any provider.