← All applications · Connect apps section on /docs
Anthropic + OpenAIManual setup
VS Code Copilot Chat (BYOK)
Also known as: Copilot BYOK
VS Code Copilot Chat (BYOK): configure models and providers in your editor.
Published instructions · App version: unverified
Chat, ping, invoke and content-generation examples may send real billable requests. Check the model, balance, rate and minimum before running them. GET /v1/models checks authentication and the catalogue only. Set up environment variables safely
Base URL to paste
OpenAI SDKs generally use a URL ending in /v1; Anthropic SDKs use the root URL. Avoid adding /v1 twice. Protocol compatibility does not guarantee every provider feature.
See notes / depends on the protocolThis app has exceptions — read Notes below before pasting.
Prerequisites
- VS Code + Copilot Chat
- A sufficiently recent extension version with Manage Models / BYOK
- API key ThAPI
Recommended model: claude-fable-5
Quick way — command / config
Copilot Chat → select model → "Manage Models…"
Provider : Anthropic
API Key : sk-thapi-...
URL (nếu có): https://thapi.cloud
# If the Anthropic URL cannot be changed:
Provider : OpenAI Compatible
Base URL : https://thapi.cloud/v1
API Key : sk-thapi-...
Model : claude-fable-5 or gpt-5.6-solWhere to place file / fill Settings
Interfaceany
Copilot Chat → Manage Models…
Update the extension if BYOK is not visible.
Verify connection
- Ask a question in Copilot Chat using the BYOK model
- Use
Troubleshooting
| Symptom | Reason | How to handle |
|---|---|---|
| Manage Models is not visible | The extension is outdated, or the UI field has been renamed. | Update GitHub Copilot Chat, or use Cline/Continue. |