AI coding in terminal
Kilo CLI brings AI-powered coding assistance directly to your terminal. Connect it to QwenCloud via Token Plan (Personal Edition), Token Plan (Team Edition), or pay-as-you-go billing.
Get running in a few minutes:
You should see: Kilo generates the fibonacci function code
Open
You must first purchase a Token Plan (Personal Edition) package with an active subscription. You can purchase a package on the Token Plan (Personal Edition) page.
Replace
You must first purchase a Token Plan (Team Edition) with an active subscription on the Token Plan page.
Replace
Replace
To add more models, append them in the same format within
After saving the configuration, restart Kilo CLI, type
If you encounter errors, refer to the FAQ documentation for the corresponding billing plan:
Quick start
Get running in a few minutes:
Configuration
Open ~/.config/kilo/config.json with a text editor and add the configuration for your chosen plan.
Free quota and billing:
- First-time users get a free quota. See Free quota for details.
- Enable Free quota only to prevent unexpected charges.
Token Plan (Personal Edition)
You must first purchase a Token Plan (Personal Edition) package with an active subscription. You can purchase a package on the Token Plan (Personal Edition) page.
Replace YOUR_API_KEY with the Token Plan (Personal Edition) dedicated API Key. For available models, see Token Plan (Personal Edition) supported models.
qwen3.8-max thinking mode:
- thinking: Supports both enabled and disabled (hybrid thinking mode).
- temperature: Defaults to 0.6 in thinking mode. Values below 0.6 are automatically adjusted to 0.6.
- reasoning_effort: Controls reasoning depth. Options: xhigh, medium, low. Default: xhigh.
Token Plan (Team Edition)
You must first purchase a Token Plan (Team Edition) with an active subscription on the Token Plan page.
Replace YOUR_API_KEY with the Token Plan (Team Edition) dedicated API Key. For available models, see Token Plan (Team Edition) supported models.
qwen3.8-max thinking mode:
- thinking: Supports both enabled and disabled (hybrid thinking mode).
- temperature: Defaults to 0.6 in thinking mode. Values below 0.6 are automatically adjusted to 0.6.
- reasoning_effort: Controls reasoning depth. Options: xhigh, medium, low. Default: xhigh.
Pay-as-you-go
Replace YOUR_API_KEY with your QwenCloud API Key. For available models, see supported models.
The following uses the Singapore (ap-southeast-1) endpoint. For another region, replace ap-southeast-1 and use an API key from that region. See Regions and endpoints.
models.
Verify configuration
After saving the configuration, restart Kilo CLI, type /models, search for "QwenCloud", and select the model you want to use.
For more tips and common commands, see the Kilo Code official documentation.
FAQ
If you encounter errors, refer to the FAQ documentation for the corresponding billing plan:
- Pay-as-you-go: Error codes and troubleshooting
- Token Plan (Personal Edition): Token Plan (Personal Edition) FAQ
- Token Plan (Team Edition): Token Plan FAQ