Skip to content

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:

FieldWhat to enter
API Keyyour NextHub ApiKey
Base URLhttps://api.nexthub.cc/v1
Model IDclaude-opus-5-5 or another Claude model
  • Prompt Caching: recommended to enable, as it effectively reduces costs
  • Max Output Tokens: recommended to set 16384 or 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)

NextHub · Direct connections to OpenAI / Anthropic via official account pools — reliable, secure, and worry-free.