Skip to main content
Kilo Code is a VS Code extension. Connecting to BetterToken requires selecting the OpenAI Compatible provider in the settings UI.

Prerequisites

Install Kilo Code

Open VS Code, search for Kilo Code in the Extensions marketplace, and click Install. Restart VS Code after installation.

Setup

1

Clear conflicting environment variables

unset ANTHROPIC_AUTH_TOKEN
unset ANTHROPIC_BASE_URL
2

Open Kilo Code settings

Click the Settings button in the Kilo Code sidebar.
3

Configure the API provider

Fill in the following:
  • API ProviderOpenAI Compatible
  • Base URLhttps://www.bettertoken.com/v1
  • API Key → your BetterToken API Key
  • Modelclaude-sonnet-4-5 (or another supported model)
4

Save

Click Save then Done to apply the configuration.

Supported models

ModelDescription
claude-sonnet-4-5Balanced — recommended
claude-opus-4-5Most capable — complex tasks
claude-haiku-4-5Fastest — simple completions
gpt-4oOpenAI flagship
gpt-4o-miniLightweight, faster