Skip to content

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

Connect VS Code to amazee.ai

  1. Install the AI Toolkit extension from the VS Code marketplace
  2. Open the model picker in the Copilot chat input field
  3. Select Manage Models…AI Toolkit: Add Model
  4. Choose OpenAI Compatible as the provider
  5. 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
  1. 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.ioUsage 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.