Integration guide

Use OpenLux with Kilo Code

Kilo Code can connect to any OpenAI Chat Completions-compatible endpoint. Add OpenLux as a custom provider to use a curated catalogue of coding and reasoning models while keeping usage, cost and billing on one OpenLux key.

Create an API key Read the docs

Abstract orange glass sculpture illustrating the Kilo Code integration with OpenLux
Kilo Code + OpenLux — one key, one endpoint, one bill.

Set it up in four steps

1

Open the provider settings

Install Kilo Code, open Settings → Providers and choose Custom provider at the bottom of the provider list.

2

Create an OpenLux key

Create a dedicated key in the OpenLux console and keep it outside source-controlled workspace files.

3

Add the OpenAI-compatible provider

Set Provider API to OpenAI Compatible, Base URL to https://openlux.lol/v1, enter the key and add the OpenLux model IDs you want.

4

Test models and tools

Start with a small file-reading and editing task, then verify tool calling, streaming and request cost in the OpenLux console before a larger task.

Configuration

Copy these blocks, replace the placeholder key and you are done.

Kilo Code custom provider

Provider ID:    openlux
Display name:   OpenLux
Provider API:   OpenAI Compatible
Base URL:       https://openlux.lol/v1
API key:        sk-openlux-...
Models:         gpt-6-astra
                claude-sonnet-4-5-20250929
                gemini-3.8-flash
                deepseek-v4

CLI configuration (kilo.jsonc)

{
  "provider": {
    "openlux": {
      "npm": "@ai-sdk/openai-compatible",
      "env": ["OPENLUX_API_KEY"],
      "options": {
        "baseURL": "https://openlux.lol/v1"
      },
      "models": {
        "gpt-6-astra": { "name": "GPT-6 Astra" },
        "claude-sonnet-4-5-20250929": { "name": "Claude Sonnet 4.5" },
        "deepseek-v4": { "name": "DeepSeek V4" }
      }
    }
  },
  "model": "openlux/gpt-6-astra"
}

Models that fit Kilo Code

GPT-6 Astra

OpenAI · $0.3677 / 1M tokens

Claude Sonnet 4.5

Anthropic · $0.2647 / 1M tokens

Gemini 3.8 Flash

Google · $0.0551 / 1M tokens

DeepSeek V4

DeepSeek · $0.0613 / 1M tokens

The full list is in the model catalogue and the use-case collections.

Kilo Code + OpenLux questions

Does Kilo Code support custom OpenAI-compatible providers?

Yes. Kilo Code has a Custom provider flow for OpenAI Chat Completions-compatible APIs, with a Base URL, API key and model list.

Can Kilo Code fetch OpenLux models automatically?

Kilo Code can query a compatible /v1/models endpoint after the Base URL and key are entered. If discovery does not populate, add the catalogue model IDs manually.

Which Kilo Code model should I start with?

Use GPT-6 Astra or Claude Sonnet 4.5 for agentic coding, Gemini 3.8 Flash for cheaper iterative work and DeepSeek V4 for low-cost reasoning tests.

How do I isolate Kilo Code billing?

Create one OpenLux key for Kilo Code and another for unrelated applications. The per-request log then shows which traffic belongs to Kilo Code and makes monthly reconciliation simpler.

How much will this cost?

Estimate Kilo Code API cost

Forecast usage across coding tasks, models and team size.

Open the cost guide

Add AI review to the pull-request loop

Build a bounded code reviewer

Use the same OpenAI-compatible endpoint to review pull-request diffs, publish findings and estimate the review budget.

Open the AI code review guide

Connect Kilo Code to OpenLux today

One key covers every model in this guide and the rest of the catalogue, metered in USD with free trial credit to start.

Create an API key See pricing