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 your Consus Gateway API key
- Under Custom Headers, add a header with name
x-api-keyand your Consus Gateway API key as the value
Important: Both the API Key field and thex-api-keycustom header must be set to your key. Consus Gateway authenticates via thex-api-keyheader. The API Key field is required by Cline but is not used for authentication. 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 one of the available models:
| Model ID | Description | Provider |
|---|---|---|
claude-3-7-sonnet:il5 | Claude 3.7 Sonnet (IL5) | AWS Bedrock (GovCloud) |
claude-sonnet-4-5:il5 | Claude Sonnet 4.5 (IL5) | AWS Bedrock (GovCloud) |
gemini-2-5-pro:il5 | Gemini 2.5 Pro (IL5) | GCP Vertex AI (Assured Workloads) |
gemini-2-5-flash:il5 | Gemini 2.5 Flash (IL5) | GCP Vertex AI (Assured Workloads) |