Kilocode (VS Code Extension) Guide: Connecting to NextHub
Kilocode is an AI coding extension for VS Code that supports multiple API Providers. Here is how to connect it to NextHub's Claude through OpenAI Compatible.
Connection Steps
1. Install the Kilocode extension
Search the VS Code marketplace for "Kilocode" and click install. After installation, a Kilocode icon appears in the left sidebar.
2. Configure the API Provider
Open the Kilocode settings, choose OpenAI Compatible (Responses) under API Provider, then fill in the following:
| Field | What to enter |
|---|---|
| API Key | your NextHub ApiKey |
| Base URL | https://api.nexthub.cc/v1 |
| Model ID | claude-opus-5-5 or another Claude model |
3. Recommended settings
- Prompt Caching: recommended to enable, as it effectively reduces costs
- Max Output Tokens: recommended to set
16384or higher - Context Window: recommended to set
200000
4. Verify the connection
Type a test message in the Kilocode panel; once you receive a reply from Claude, the configuration is successful.
Common Claude model IDs
claude-opus-5-5 · claude-opus-5 · claude-fable-5 (for the full list see Channels and Models; the Model Plaza is the source of truth, with real-time data)