惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

有赞技术团队
有赞技术团队
Apple Machine Learning Research
Apple Machine Learning Research
IT之家
IT之家
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
B
Blog RSS Feed
酷 壳 – CoolShell
酷 壳 – CoolShell
人人都是产品经理
人人都是产品经理
Hugging Face - Blog
Hugging Face - Blog
博客园_首页
V
V2EX
aimingoo的专栏
aimingoo的专栏
爱范儿
爱范儿
博客园 - 聂微东
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Stack Overflow Blog
Stack Overflow Blog
罗磊的独立博客
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
MongoDB | Blog
MongoDB | Blog
Jina AI
Jina AI
T
The Blog of Author Tim Ferriss
月光博客
月光博客
云风的 BLOG
云风的 BLOG

Visual Studio Code - Code Editing. Redefined.

Visual Studio Code 1.138 (Insiders) Visual Studio Code 1.137 (Insiders) Visual Studio Code 1.136 (Insiders) Introducing the Agent Host for persistent, portable agent sessions Visual Studio Code 1.135 (Insiders) Visual Studio Code 1.134 (Insiders) Visual Studio Code 1.133 (Insiders) Visual Studio Code 1.132 (Insiders) MAI-Code-1-Flash: early results from real developer workflows Visual Studio Code 1.130 (Insiders) Visual Studio Code 1.131 (Insiders) Visual Studio Code 1.129 (Insiders) How Prompt Tuning Improved GPT-5.5 in VS Code Visual Studio Code 1.127 Visual Studio Code 1.128 Iterating faster with TypeScript 7 Visual Studio Code 1.126 What 50,000 Runs of a 5-Line Eval Taught Us Use your own language model key in VS Code Improving token efficiency for GitHub Copilot in VS Code December 2025 (version 1.108) November 2025 (version 1.107) October 2025 (version 1.106) September 2025 (version 1.105) August 2025 (version 1.104) July 2025 (version 1.103) June 2025 (version 1.102) May 2025 (version 1.101) April 2025 (version 1.100) March 2025 (version 1.99)
Expanding Model Choice in VS Code with Bring Your Own Key
Microsoft · 2021-11-03 · via Visual Studio Code - Code Editing. Redefined.

October 22, 2025 by Olivia Guzzardo McVicker, Pierce Boggan

We know that model choice is important to you. Our team has been hard at work making the latest models like Claude Haiku 4.5 and GPT 5 available to you on the same day they were announced. But we've also heard your feedback that you want support for even more models in VS Code, be it locally or in the cloud.

In March, we released the bring your own key (BYOK) functionality to let you pick from hundreds of models from supported providers like OpenRouter, Ollama, Google, OpenAI, and more to power chat experiences in VS Code.

Now, we're taking BYOK to the next level. In the v1.104 release, we introduced the Language Model Chat Provider API that enables model providers to contribute their models directly through VS Code extensions.

What is Bring Your Own Key (BYOK)?

BYOK lets you use any model from a supported provider by bringing your own API key for that provider. This means you can access a vast ecosystem of models beyond those built into VS Code. Whether you want to use a specialized model for code generation, a different model for general chat, or experiment with local models through providers like Ollama, BYOK makes it possible with just your API key. You can configure this through the Chat: Manage Language Models command.

But managing an ever-growing list of supported providers presented challenges for both users and our team. That's why we've released the Language Model Chat Provider API, allowing model providers to contribute their models directly through VS Code extensions.

The Language Model Chat Provider API

The Language Model Chat Provider API shifts BYOK from a centralized system to an open, extensible ecosystem where any provider can offer their models with a simple extension install. We will still support a subset of built-in providers, but this extensible ecosystem will allow us to scale out our model choice to meet developers' needs.

Note

Models provided through the Language Model Chat Provider API are currently available to users on individual GitHub Copilot plans (Free, Pro, and Pro+).

Here are some of our favorite extensions you can install right now to get access to more models in VS Code:

  • The AI Toolkit for Visual Studio Code extension gives you access to its provided models directly in VS Code, whether it's a custom model you've tuned in Azure AI Foundry, a local model via Foundry Local, or any of the models in GitHub Models.

  • Cerebras Inference powers the world's top coding models, making code generation pretty much instant, great for rapid iteration. It runs Qwen3 Coder and GPT OSS 120B at 2,000 tokens/s which is 20x faster than most inference APIs.

  • The Hugging Face Provider for GitHub Copilot Chat extension enables you to use frontier open LLMs like Kimi K2, DeepSeek V3.1, GLM 4.5 directly in VS Code. Hugging Face’s Inference Providers give developers access to hundreds of LLMs, powered by world-class inference providers built for high availability and low latency.

For extension developers interested in contributing their own models, check out our Language Model Chat Provider API documentation and sample extension to get started building today.

OpenAI-compatible Models

For developers using OpenAI-compatible models, you can use the custom OpenAI Compatible provider for any OpenAI-compatible API endpoint and configure the models for use in chat. This feature is currently available in VS Code Insiders only.

Screenshot showing OpenAI-compatible model configuration in VS Code.

Additionally, you can explicitly configure the list of edit tools through the github.copilot.chat.customOAIModels setting, giving you fine-grained control over which capabilities are available for your custom models.

What's Next?

The Language Model Chat Provider API is just the beginning of bringing more model choice to you. As this ecosystem grows, we expect to see:

  • Model management UI that allows you to learn about model capabilities and manage models
  • Smoother flow for installing extensions that contribute language models
  • Improvements to the built-in language model providers, using latest provider APIs and having specialized prompts depending on the model

We're continuously investing in the BYOK experience. Recent enhancements include improved edit tools for better integration with VS Code's built-in tools, but we know there's work to be done to make the experience feel more native to VS Code - for example, BYOK does not currently work with completions. We'd love to hear your feedback on our GitHub repository!

Happy coding!