← 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 protocol

This app has exceptions — read Notes below before pasting.

Prerequisites

  1. VS Code + Copilot Chat
  2. A sufficiently recent extension version with Manage Models / BYOK
  3. 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-sol

Where to place file / fill Settings

Interfaceany
Copilot Chat → Manage Models…
Update the extension if BYOK is not visible.

Verify connection

  1. Ask a question in Copilot Chat using the BYOK model
  2. Use

Troubleshooting

SymptomReasonHow to handle
Manage Models is not visibleThe extension is outdated, or the UI field has been renamed.Update GitHub Copilot Chat, or use Cline/Continue.

Related

Cline · Continue.dev · Cursor

Zalo group