Developer tool setup

Kilo CLI

Configure Kilo CLI with Model Studio or Token Plan credentials, then verify the selected model before handing it to developers.

Developer toolsOfficial source

Who this is for

Developers, technical support, and procurement staff preparing a customer handoff.

Configuration reference

Values to confirm before setup

Config file

~/.config/kilo/config.json

Anthropic-style Base URL

https://token-plan.ap-southeast-1.maas.aliyuncs.com/apps/anthropic

API Key

Token Plan Team Edition dedicated API key

Setup flow

Practical steps

  1. 01Install Kilo CLI and open the user config file.
  2. 02Confirm which commercial route the customer bought: Token Plan Team Edition, Coding Plan, or pay-as-you-go Model Studio.
  3. 03Paste only the matching API key into the tool settings or environment variables.
  4. 04Set the matching base URL. Do not reuse a Base URL from another package.
  5. 05Use a model that the selected Token Plan route supports. For Claude Code, configure every model slot so the client does not fall back to Anthropic's official service.
  6. 06Restart the tool, select the configured model, and run a short smoke test.

The three values that must match

Most connection failures come from mixing a key, endpoint, and model from different plans or regions. Confirm the API key source first, then choose the matching base URL, then use a model name supported by that route.

  • API key: Model Studio pay-as-you-go, Token Plan, and Coding Plan keys are not interchangeable.
  • Base URL: region-specific endpoints are not universal.
  • Model name: use the exact published model identifier, including suffixes such as qwen3.7-plus or glm-5.1 where required.

Security baseline

Use environment variables or an application secret manager. Do not paste production API keys into public code, screenshots, frontend JavaScript, or customer-facing support tickets.

Handoff checklist

Before delivery, record the plan type, model name, endpoint, owner, renewal date, and whether usage is charged from a seat quota, shared quota, or pay-as-you-go account.

Common mistakes

Check these before escalating

  • Using a normal Model Studio API key with Token Plan endpoints will fail or bill the wrong route.
  • Some free editions of third-party tools do not allow custom model providers.
  • Some Kilo/OpenCode-style integrations append paths differently; use the endpoint documented for that tool.
  • After setup, restart Kilo CLI and select the Model Studio provider.

Related guides