Skip to content

Kilo Code ​

Kilo Code officially supports the OpenAI Compatible provider, so it can connect to this service directly.

1. Install ​

Official extension page: https://marketplace.visualstudio.com/items?itemName=kilocode.kilo-code

If you use VS Code, a direct install path is:

bash
code --install-extension kilocode.kilo-code

If you use Windsurf, VSCodium, or another Open VSX-compatible environment, Kilo's official docs provide the matching marketplace route there as well.

2. Open settings ​

Open the Kilo Code settings panel and go to provider configuration.

3. Enter connection details ​

Set API Provider to OpenAI Compatible, then fill in:

  • Base URL: https://codex.openai.com/v1
  • API key: your codex_... or sk-... key
  • Model ID: gpt-5-codex-mini

If the model does not appear automatically, enter it manually.

4. Verify ​

Save the settings and start a new task to confirm Kilo Code can connect and return responses normally.

Notes ​

  • Kilo Code's official docs use the OpenAI Compatible provider
  • Kilo Code also supports full endpoint URLs, but this service does not require that mode
  • Use https://codex.openai.com/v1 directly instead of the full /chat/completions endpoint
  • Official docs: https://kilo.ai/docs/ai-providers/openai-compatible

OpenAI-compatible gateway integration docs