Skip to main content
Route Continue model calls through the Orq.ai AI Gateway. Continue is an open-source coding assistant extension for VS Code that supports custom OpenAI-compatible providers. Requests appear in Traces automatically.

Prerequisites

Setup

1

Create or edit ~/.continue/config.yaml

Create ~/.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:
models:
  - name: Orq Gateway
    provider: openai
    model: openai/gpt-5.4
    apiBase: https://api.orq.ai/v3/router
    apiKey: <ORQ_API_KEY>
Replace <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 GatewaySupported Models (e.g. anthropic/claude-sonnet-4-6).
2

Select the model in Continue

Open the Continue panel (+Shift+L / Ctrl+Shift+L) and select Orq Gateway from the model picker at the bottom of the chat input.If Orq Gateway does not appear, check the top of the Continue panel for a config error banner.

Configuration reference

FieldValueDescription
nameAny display labelName shown in the Continue model picker.
provideropenaiTells Continue to use the OpenAI-compatible wire format.
modelprovider/model-idProvider-prefixed model ID (e.g. anthropic/claude-sonnet-4-6).
apiBasehttps://api.orq.ai/v3/routerAI Gateway router endpoint.
apiKeyOrq.ai API keySent as the Bearer token. Use $ORQ_API_KEY to read from the environment.

Troubleshooting

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.
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.
The model must be enabled in AI GatewaySupported Models and the model field must use the provider-prefixed format (e.g. openai/gpt-5.4, not gpt-5.4).
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.