1. Set Up Your API Key
You’ll enter your Consus Gateway API key as a custom header in the Cline settings panel (no environment variable needed).2. Configure Cline
Open VS Code and click the Cline icon in the sidebar. In the settings panel at the top of the Cline view:- Set API Provider to
OpenAI Compatible - Set Base URL to
https://api.consus.io/v1 - Set API Key to any non-empty placeholder such as
dummy. Consus reads your key from thex-api-keyheader (step 4 below), which wins over this field, but Cline requires it to be non-empty. - Under Custom Headers, add a header with name
x-api-keyand your Consus Gateway API key as the value
Important: Consus Gateway authenticates via thex-api-keycustom header, so that header must hold your real key. When both are sent,x-api-keywins over the API Key field, so any non-empty placeholder (such asdummy) works there. The header name must be exactlyx-api-key(all lowercase, with hyphens); a typo likex-api-kywill result in a403error with no error body. Alternative: put your Consus key in the API Key field and skip the custom header. Cline sends it as a Bearer token, which the gateway also accepts (Authentication).
- Set Model ID to any composite model ID from the Models page. For example,
gpt-5.6-sol:itar,gpt-5.4:itar,gpt-5.6-terra:itar, orgrok-4.6:itar.