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), not 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. The API Key field is required by Cline but ignored by the gateway, 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.
- Set Model ID to any composite model ID from the Models page. For example,
gpt-5.4:itar.