Skip to content
BYOK Tools

GitHub Copilot (BYOK)

Copilot Chat in VS Code with models from your own provider keys.

4.3 editor score•Coding Agents & IDEs•Free tier; paid Copilot plans

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)

How we score
68/ 100

Grade B

Your key is stored on your device and requests go directly to the provider.

  • Key storage

    Key stays on your device; requests go direct to the provider.

    40/40
  • Auditable code

    Closed source: key handling can't be independently verified.

    0/25
  • Self-hosting

    Runs as a local app, but not as a self-hosted service.

    8/15
  • Offline option

    Supports local models, so no key is needed at all for private work.

    10/10
  • Provider choice

    8 provider options, which lets you pick the provider whose data terms you trust.

    10/10

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.