1. What is Continue?
Continue is an open-source and free AI coding extension for VS Code that supports configuring multiple custom Providers. By pointing the Provider to our gateway, you can unify calls to Claude, GPT, and Gemini with centralized billing.
2. Preparation
- Log in to the AzzTimes console and create an
sk-xxxxxxAPI Key (it will only be displayed once, please save it). - Confirm the model slug you wish to use (e.g.,
claude-sonnet-5,gpt-5.4,gemini-3.7-flash). - Confirm the gateway address:
https://www.relay-api.com.
3. Configuring Continue
Edit ~/.continue/config.yaml (or .continue/config.yaml) and add a Provider for each model:
models:
- title: Claude Sonnet 5
provider: anthropic
model: claude-sonnet-5
apiBase: "https://www.relay-api.com"
apiKey: sk-your-api-key
- title: GPT-5.4
provider: openai
model: gpt-5.4
apiBase: "https://www.relay-api.com/v1"
apiKey: sk-your-api-key
- title: Gemini 3.7 Flash
provider: openai
model: gemini-3.7-flash
apiBase: "https://www.relay-api.com/v1beta"
apiKey: sk-your-api-key
After saving, restart the extension and use /models to switch between models.
4. API Endpoint Reference
| Model Group | Gateway URL (apiBase) | Protocol |
|---|---|---|
| Claude / Anthropic | https://www.relay-api.com | Anthropic Messages |
| GPT / OpenAI | https://www.relay-api.com/v1 | OpenAI Chat Completions |
| Gemini | https://www.relay-api.com/v1beta | Google generateContent |
5. Troubleshooting
| Issue | Solution |
|---|---|
| 401 / 403 | Key is invalid, disabled, or has insufficient balance; verify the sk- key and recharge if necessary. |
| 404 / Model unavailable | Model name does not match the platform slug, or the model is not enabled; verify the model ID. |
Security Tip: Do not commit your API key to public repositories; generation tasks consume tokens quickly, so keep an eye on your balance.
