Use VS Code with amazee.ai
VS Code supports bringing your own language model API key for GitHub Copilot chat and agent mode. Connect it to amazee.ai to use Claude and other models through your regional endpoint.
Prerequisites
- VS Code installed
- GitHub Copilot extension installed
- An amazee.ai API key
Connect VS Code to amazee.ai
- Install the AI Toolkit extension from the VS Code marketplace
- Open the model picker in the Copilot chat input field
- Select Manage Models… → AI Toolkit: Add Model
- Choose OpenAI Compatible as the provider
- Enter your configuration:
| Field | Value |
|---|---|
| Base URL | https://llm.[your-region].amazee.ai/v1 |
| API Key | Your amazee.ai API key |
| Model ID | A model from Available Models |
- The model now appears in your model picker for chat and agent mode
Verify
Open a Copilot chat, select your amazee.ai model from the picker, and ask a question. Check my.amazee.io → Usage to confirm.
Notes
- BYOK models work in Copilot Chat and Agent Mode
- Your administrator may need to enable the Bring Your Own Language Model Key policy in GitHub Copilot settings if you're on a Copilot Business or Enterprise plan
Troubleshooting
Model not showing in picker : Make sure the AI Toolkit extension is installed and the model was added successfully.
Auth errors
: Verify your API key and base URL. The base URL should include /v1.
"Model not supported for agent mode"
: Not all models support tool calling, which is required for agent mode. Try a model like claude-sonnet-4-5.