Back to blog

Tools & integrationsGuide

How to connect Kilo Code to CheapTokens

Set up the OpenAI Compatible provider in Kilo Code with the CheapTokens base URL, key and model ID, then check that the agent answers.

By CheapTokens TeamPublished 1 min read

Kilo Code connected to the CheapTokens API
On this page
  1. Before you start
  2. Step 1. Provider, address and key
  3. Step 2. Model and its limits
  4. Step 3. Check that it works

Kilo Code is an AI coding agent for VS Code that works with any OpenAI-compatible API. Connecting it to CheapTokens takes four fields: provider, base URL, key and model ID. The steps follow Kilo Code's provider settings as of October 2026; they have not been run on a live installation yet.

Before you start#

  • Kilo Code is installed in your editor.
  • You have a CheapTokens API key and a positive balance — see Your first API request.

Step 1. Provider, address and key#

Open Kilo Code settings and fill in:

Field Value
API Provider OpenAI Compatible
Base URL https://api.cheaptokens.dev/v1
API Key your CheapTokens key

The address must end with /v1.

Step 2. Model and its limits#

In Model ID enter the full ID, for example deepseek-ai/DeepSeek-V4-Flash-0731. If Kilo Code asks for the model's limits, take them from GET https://api.cheaptokens.dev/v1/models:

Model Context window Max output tokens
deepseek-ai/DeepSeek-V4-Flash-0731 380000 32768
zai-org/GLM-5.3-Flash 390000 8192
MiniMaxAI/MiniMax-M2.7 200000 8192

All three accept text only, so leave image support off. Which one to pick: GLM vs DeepSeek vs MiniMax.

Step 3. Check that it works#

Start a new task with a short request. An answer means the setup is done. Kilo Code's modes and orchestration run on your machine and call the same endpoint, so they keep working. Errors by status code: Connection errors and fixes.

Kilo Code is a close relative of Cline, and the Cline guide shows the same kind of settings with screenshots: Connecting Cline.