
Set up Kilo Code
These instructions configure Kilo CLI’s auth.json. Merge the openai-compatible entry, then restart kilo. For the editor extension, select an OpenAI-compatible provider in its settings and enter the same URL, key and model there. Removing the entry returns the CLI to its provider selection flow.
Option 1: Use Configure
Sign in and select your local configuration file. Apply LaRouter fills your key and model and writes the file immediately; Reset defaults also writes immediately. If your browser cannot write local files, follow the manual instructions.
Configuration file location
- macOS
~/.local/share/kilo/auth.json- Linux
~/.local/share/kilo/auth.json- Windows
%USERPROFILE%\.local\share\kilo\auth.json
These are default locations. For a tool running in WSL, use its Linux path inside WSL. If you changed the configuration directory, select the tool’s actual file. Your browser can only read or write files you select.
Option 2: Configure manually
Back up your files and replace only the placeholders shown below. Codex already uses gpt-5.6-sol. Use model names without router prefixes such as cx/. Keep tool-required local provider bindings such as larouter/ where shown, and preserve unrelated settings.
Setup steps
These instructions configure Kilo CLI’s auth.json. Merge the openai-compatible entry, then restart kilo. For the editor extension, select an OpenAI-compatible provider in its settings and enter the same URL, key and model there. Removing the entry returns the CLI to its provider selection flow.
{
"openai-compatible": {
"type": "api-key",
"apiKey": "YOUR_API_KEY",
"baseUrl": "https://i-larouter.lapage.vn/v1",
"model": "YOUR_MODEL_ID"
}
}