Prerequisites
- Visual Studio Code installed
- Continue extension installed
- Active Orq.ai account with AI Gateway access
- Orq.ai API key
- Model enabled in AI Gateway → Supported Models
Setup
Create or edit ~/.continue/config.yaml
Create Replace
~/.continue/config.yaml if it does not exist. If the file already has a models list, add the Orq.ai entry as a new item:<ORQ_API_KEY> with an API key. To avoid storing the key in plain text, use apiKey: $ORQ_API_KEY and export the variable in the shell that launched VS Code. Use the code command to open VS Code from the terminal; VS Code launched from Dock or Spotlight does not inherit shell variables.Keep openai/gpt-5.4 to route requests to that model through the AI Gateway, or replace it with any provider-prefixed model ID enabled in AI Gateway → Supported Models (e.g. anthropic/claude-sonnet-4-6).Configuration reference
| Field | Value | Description |
|---|---|---|
name | Any display label | Name shown in the Continue model picker. |
provider | openai | Tells Continue to use the OpenAI-compatible wire format. |
model | provider/model-id | Provider-prefixed model ID (e.g. anthropic/claude-sonnet-4-6). |
apiBase | https://api.orq.ai/v3/router | AI Gateway router endpoint. |
apiKey | Orq.ai API key | Sent as the Bearer token. Use $ORQ_API_KEY to read from the environment. |
Troubleshooting
Orq Gateway not appearing in the model picker
Orq Gateway not appearing in the model picker
Confirm
~/.continue/config.yaml was saved correctly. Open the Continue panel and check for a config error banner at the top. It displays YAML parse errors that prevent models from loading. Reload VS Code if the file was edited while Continue was already running.Authentication error
Authentication error
Confirm the
apiKey value is a valid Orq.ai API key. To avoid storing the key in plain text, set apiKey: $ORQ_API_KEY and export the variable in the shell that launched VS Code.Model not found
Model not found
The model must be enabled in AI Gateway → Supported Models and the
model field must use the provider-prefixed format (e.g. openai/gpt-5.4, not gpt-5.4).No traces appearing in Orq.ai
No traces appearing in Orq.ai
Confirm
apiBase is https://api.orq.ai/v3/router with no trailing slash. Verify Orq Gateway is selected in the Continue model picker before sending a prompt.Verification
Send a prompt in the Continue panel. The response appears in VS Code and a new row appears within a few seconds in Orq.ai Traces, showing the model identifier (e.g.openai/gpt-5.4) and token usage.