Prerequisites
- VS Code with the Cline extension installed
- A Qhaigc API key — get one from the API Tokens page
Configuration Steps
Open the Cline panel
In VS Code, open the Cline panel from the Activity Bar or via the Command Palette.
Open provider settings
Click the settings icon in the Cline panel to open the provider configuration screen.
Select OpenAI Compatible as the API provider
In the API Provider dropdown, select OpenAI Compatible.
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 ID | e.g. gpt-4o or claude-opus-4-20250514 |
Validate and save
Use Cline’s built-in validation to test the connection. If the check passes, save your settings.
Verifying the Connection
Your setup is working when:- The validation check completes without authentication errors
- You can start a conversation or coding task in the Cline panel
- Cline returns a response from Qhaigc’s model
Frequently Asked Questions
The connection fails — what should I check first? Check that the Base URL ishttps://api.qhaigc.net/v1, that your API key is correct, and that your Model ID matches an available model. Then confirm your network can reach api.qhaigc.net.
No models appear automatically — how do I pick one?
Enter the model ID manually in the Model ID field. Cline’s OpenAI Compatible provider does not auto-populate models from the API; you specify the model name directly.