VS Code extensions
Which VS Code AI extensions accept a custom base URL, and how to point each at the gateway.
Any extension that exposes a base-URL or custom-endpoint setting will work. Those that hardcode a vendor endpoint will not, and no gateway can change that.
| Extension | Setting to change | Base URL |
|---|---|---|
| Cline | API Provider: Anthropic + custom base URL | https://aiprimetech.io |
| Continue | apiBase in ~/.continue/config.json | https://aiprimetech.io (anthropic) or https://aiprimetech.io/v1 (openai) |
| Roo Code | Anthropic provider + custom base URL | https://aiprimetech.io |
| Kilo Code | OpenAI-compatible provider | https://aiprimetech.io/v1 |
| Any OpenAI-compatible extension | Base URL / endpoint field | https://aiprimetech.io/v1 |
GitHub Copilot does not support custom endpoints and cannot be redirected. Use Cline or Continue alongside it if you want Claude models in VS Code.
The suffix rule, once more
- Extension configured as an Anthropic provider — base URL without
/v1. - Extension configured as OpenAI-compatible — base URL with
/v1. - A
404almost always means you got this backwards.