Kilo Code¶
Kilo Code uses an OpenAI-compatible provider block. The model
id is claudinio/claudinio (provider/model).
Quick setup (script)¶
First export your key so
$CLAUDINIO_API_KEY is set. This writes ~/.config/kilo/kilo.jsonc, backing up
any existing file:
kilo_config_install() {
local key="$1"
local dir="$HOME/.config/kilo"
local file="$dir/kilo.jsonc"
mkdir -p "$dir"
if [ -f "$file" ]; then
cp "$file" "$file.claudinio.bak"
echo "[ok] Backup: $file.claudinio.bak"
fi
cat > "$file" <<'JSONCEOF'
{
"$schema": "https://app.kilo.ai/config.json",
"model": "claudinio/claudinio",
"provider": {
"claudinio": {
"name": "Claudinio",
"options": {
"baseURL": "https://api.claudin.io/v1",
"apiKey": "__CL_KEY__"
},
"models": {
"claudinio": {
"name": "Claudinio",
"tool_call": true,
"limit": { "context": 128000, "output": 16384 }
}
}
}
}
}
JSONCEOF
sed -i.bak "s/__CL_KEY__/${key}/g" "$file" && rm -f "$file.bak"
echo "[ok] Configured: $file"
}
kilo_config_install "$CLAUDINIO_API_KEY"
unset kilo_config_install
Then run kilo.
Manual setup¶
Put this in ~/.config/kilo/kilo.jsonc:
{
"$schema": "https://app.kilo.ai/config.json",
"model": "claudinio/claudinio",
"provider": {
"claudinio": {
"name": "Claudinio",
"options": {
"baseURL": "https://api.claudin.io/v1",
"apiKey": "YOUR_API_KEY"
},
"models": {
"claudinio": {
"name": "Claudinio",
"tool_call": true,
"limit": { "context": 128000, "output": 16384 }
}
}
}
}
}
Environment-variable alternative¶
Kilo also reads the standard OpenAI env vars:
| Setting | Value |
|---|---|
| Base URL | https://api.claudin.io/v1 |
| Model | claudinio/claudinio |
| Tool calls | enabled |