Use Kimi K3.1 Pro and GLM-5.3 in Kilo Code CLI
Point Kilo Code CLI at ParamHub with the setup below. You pay per token from prepaid credits; there is no subscription.
What you need
- Kilo Code CLI installed:
npm install -g @kilocode/cli - A ParamHub API key with credits on the account.Create a key →
Set it up
Put this in the global config file, not a project one: Kilo's docs say {env:…} is ignored in project-level configs. Then put your key in PARAMHUB_API_KEY and start Kilo.
{
"$schema": "https://app.kilo.ai/config.json",
"model": "openai-compatible/kimi-k3.1-pro",
"provider": {
"openai-compatible": {
"options": {
"apiKey": "{env:PARAMHUB_API_KEY}",
"baseURL": "https://api.paramhub.com/v1"
},
"models": {
"kimi-k3.1-pro": {
"name": "Kimi K3.1 Pro",
"tool_call": true
},
"GLM-5.3": {
"name": "GLM-5.3",
"tool_call": true
},
"GLM-5.2": {
"name": "GLM-5.2",
"tool_call": true
}
}
}
}
}Check that it works
- 1Run a one-off task: kilo run --auto --model openai-compatible/kimi-k3.1-pro "say hello".
- 2Send any prompt. The request appears under Usage in your ParamHub console with its token counts and cost.
Which model to pick
We ran Kilo Code CLI 7.8.32 through ParamHub on one task: fix 4 planted bugs and add a feature in a 6-file Python library, graded by 11 hidden tests.
| Model | Passed | Time | Input | Cached | Output | Cost |
|---|---|---|---|---|---|---|
| kimi-k3.1-pro | 2/2 | 3.5 min | 385,000 | 85% | 9,200 | $0.23 |
| GLM-5.3 | 2/2 | 6.7 min | 563,000 | 95% | 15,400 | $0.16 |
| GLM-5.2 | 1/1 | 2.2 min | 293,000 | 88% | 8,200 | $0.09 |
Passed is how many runs of the task passed every hidden test, out of how many we made: 4/5 means 5 runs, 4 passed. Time, input and output are medians per task; output includes thinking. Tested on November 23, 2026 on a small task with few runs, so read the numbers as rough. Cost is per task, calculated from those medians at the current prices. Pricing →
Good to know
- No Kilo account or login is needed for this setup.
- Without --auto, a non-interactive run rejects every permission request.
- Thinking is on by default and is billed as output tokens.
- Model names are case-sensitive. Use them exactly as listed on the pricing page.
- Requests are processed by model providers located in China. Read the Privacy Policy before sending confidential code. Privacy Policy →
If something goes wrong
The key is wrong or disabled. Copy it again from API Keys.
The account has no credits. Add credits on the Billing page.
Check the spelling and case of the model name.
Switch back
Delete the openai-compatible provider and the model line from kilo.jsonc.
Create an account, add credits from $5, and paste your key into the setup above.
Other tools
Kilo Code CLI belongs to its respective owner. ParamHub is an independent service and is not affiliated with or endorsed by it.