Prerequisites
- VS Code with the Kilo Code extension installed
- A Qhaigc API key — get one from the API Tokens page
Configuration Steps
Open settings
Navigate to the settings or provider configuration section within the Kilo Code panel.
Select OpenAI Compatible as the provider
In the API Provider dropdown, select OpenAI Compatible. This bypasses Kilo’s own login flow and lets you point directly to Qhaigc’s endpoint.
Enter your Qhaigc connection details
Fill in the following fields:
| Field | Value |
|---|---|
| Base URL | https://api.qhaigc.net/v1 |
| API Key | Your Qhaigc API key (starts with sk-) |
| Model | e.g. gpt-4o or claude-opus-4-20250514 |
Verifying the Connection
Your setup is working when:- The configuration saves without errors
- A coding conversation returns a response from Qhaigc
- No provider authentication or model unavailability errors appear
Frequently Asked Questions
Should I use Kilo’s built-in provider instead? Kilo Code’s built-in provider uses Kilo’s own hosted service. The OpenAI Compatible approach described in this tutorial connects directly to Qhaigc’s API. Choose whichever fits your workflow — this tutorial only covers the OpenAI Compatible path. The connection failed — what should I check? Check each field in order: API Provider (should be OpenAI Compatible), Base URL (https://api.qhaigc.net/v1), API Key (your sk- prefixed key), and Model (a valid model ID). Then verify that your network can reach api.qhaigc.net.