
GitHub Copilot app support for BYOK
Quick Answer
The GitHub Copilot app now enables Bring Your Own Key (BYOK) support, allowing users to run agent sessions with their own model providers like OpenAI, Azure OpenAI, Microsoft Foundry, and Anthropic.
Quick Take
This feature enhances customization and security for developers using Copilot in various environments.
Key Points
- BYOK allows integration with various model providers for enhanced flexibility.
- Supports major providers including OpenAI and Azure OpenAI.
- Enables developers to maintain control over their data security.
- Facilitates customized AI solutions tailored to specific needs.
- Improves the overall user experience by offering more options.
📖 Reader Mode
~2 min readThe GitHub Copilot app now supports bring your own key (BYOK), so you can run agent sessions against your own model providers, including OpenAI, Azure OpenAI, Microsoft Foundry, Anthropic, LM Studio, Ollama, and any OpenAI-compatible endpoint.
Add a provider in Settings → Model Providers with your endpoint and API key, or just a host for LM Studio or Ollama. Once added, your provider’s models appear in the model picker alongside Copilot-hosted models, and you choose which one to use each session. Keys are stored in the local OS keychain and are never read back by the UI.
With BYOK you can:
- Connect the providers you already use: Add Azure OpenAI, Anthropic, self-hosted Ollama, LM Studio, or any OpenAI-compatible gateway, then choose the right model for each session while keeping your existing billing, quotas, regions, and data-handling terms.
- Mix frontier and local models: Pair a frontier model with a local or self-hosted model. Frontier models handle complexity. Local models handle execution.
- Keep traffic in your tenant: Route inference through your own cloud account, tenant, or internal gateway for enterprise and regulated environments with stricter data-boundary requirements.
Download the GitHub Copilot app to start your first session.
Want to learn more? Read the docs about getting started with the GitHub Copilot app and the docs on using your own LLM models (BYOK).
Note: To access the GitHub Copilot app on a Copilot Business or Enterprise plan, your organization or enterprise admin must have the Copilot CLI enabled in policy settings.
Join the discussion within GitHub Community.
— Originally published at github.blog
Want this in your inbox every morning?
Daily brief at your local 8am — bilingual EN/中文, free.
More from GitHub Copilot Changelog
See more →
GitHub Copilot for JetBrains adds improved OpenTelemetry configuration and model management
The latest GitHub Copilot for JetBrains update enhances workflow control with OpenTelemetry configuration, improved model management, and support for servers in Claude agent flows, facilitating better observability and cost control for enterprise users.
