Prerequisites
- VS Code installed
- BetterToken API Key (register here (
https://www.bettertoken.ai/register))
Setup
Configure the API provider
Fill in:
- API Provider →
OpenAI Compatible - Base URL →
https://www.bettertoken.ai/v1 - API Key → your BetterToken API Key
- Model → a Codex group model ID copied from the model plaza (
https://www.bettertoken.ai/pricing)
Only configure extra headers when the official docs explicitly require them
The official Kilo Code material we checked mentions optional custom headers for OpenAI-compatible providers, but it does not treat
User-Agent as a required BetterToken setup step.If you are also using a custom gateway, tenant routing, observability, or caching layer, add headers only according to that upstream service’s official docs.If you need extra headers, follow the current Kilo Code docs or your upstream gateway requirements instead of assuming
User-Agent is mandatory for BetterToken.