Client setup
Kilo Code setup
Kilo Code connects through its custom OpenAI-compatible provider.
export LUMOSWITCH_API_KEY="your-lumoswitch-access-key"Add this to Kilo's kilo.jsonc:
{
"$schema": "https://app.kilo.ai/config.json",
"model": "openai-compatible/your-client-facing-model-name",
"provider": {
"openai-compatible": {
"options": {
"apiKey": "{env:LUMOSWITCH_API_KEY}",
"baseURL": "https://api.lumoswitch.com/v1"
},
"models": {
"your-client-facing-model-name": {
"name": "Lumoswitch model",
"tool_call": true
}
}
}
}
}The UI offers the same setup under Providers → Custom provider. Kilo can discover models when the endpoint exposes /v1/models.
Set tool_call: true only for a capable model, and add accurate context/output limits when known.
Reference: Kilo Code custom models documentation.