Kilo Code Integration
Use Halfbill with Kilo Code in VS Code. Built-in provider — just search, connect your API key, and start coding.
Kilo Code is an AI coding assistant that runs as a VS Code extension. It supports autonomous coding, file editing, terminal commands, and browser automation. Halfbill is a built-in provider in Kilo Code, so setup takes under a minute — no manual base URL configuration required.
Using Halfbill Code? This integration also works with a Halfbill
Code plan key. Use the canonical model IDs from
the catalogue (for example claude-sonnet-5).
Prerequisites
- VS Code or a VS Code-based editor (Cursor, Windsurf, etc.)
- A Halfbill API key — sign up
Setup
Install Kilo Code
Open VS Code, go to the Extensions view (Ctrl+Shift+X / Cmd+Shift+X), search for Kilo Code, and click Install.
Alternatively, install from the VS Code Marketplace.
Open Providers Settings
Click the Kilo Code icon in the VS Code sidebar, then open Settings > Providers. You'll see the list of popular providers:

Find Halfbill
Click Show more providers at the bottom of the list. In the "Connect provider" dialog, type llm in the search box — Halfbill will appear:
Click the + button next to Halfbill.
Enter Your API Key
Kilo Code will show the Connect Halfbill dialog. Paste your Halfbill API key (starts with llmgtwy_) and click Submit:
Sign up or log in to your Halfbill dashboard and navigate to API Keys to get your key.
Start Coding
Once connected, select a Halfbill model from the model picker at the bottom of the chat panel. All requests now route through Halfbill — you'll see usage, costs, and logs in your dashboard.
Why Use Halfbill with Kilo Code
- Claude and GPT — Anthropic and OpenAI models at half list price
- One API key — No separate provider accounts to manage
- Cost tracking — See exactly what each session costs in your dashboard
- Response caching — Repeated requests hit cache automatically
Features
Once configured, you can use all of Kilo Code's features with Halfbill:
- Autonomous coding — Create and edit files, build features from natural language
- Terminal commands — Run builds, tests, and scripts directly from the chat
- Browser automation — Preview and interact with web apps
- Checkpoints — Save and restore session states
- Multiple modes — Switch between Code, Architect, Ask, and Debug modes
Switching Models
Click the model name at the bottom of the Kilo Code chat panel to open the model picker. Select any Halfbill model — the switch takes effect immediately for the next message.
Troubleshooting
Halfbill not in provider list
Click Show more providers at the bottom of the Providers page. In the search dialog, type "llm" or "gateway" to find it.
Authentication errors
Make sure your API key starts with llmgtwy_ and is active. Check your dashboard to confirm the key is valid.
Model not found
Verify the model ID matches exactly what's listed on the models page. Model IDs are case-sensitive.
View all available models on the models page.
Need help? Email support@halfbill.uk.
How is this guide?