API Docs
Client Setup

Kilo Code Setup

Connect the Kilo Code extension for VS Code / JetBrains to UnioAPI — OpenAI Compatible for GPT models, Anthropic with a custom base URL for Claude models.

Kilo Code is an open-source coding agent extension with modes such as Code, Architect, Ask and Debug. Its API Provider settings are similar to Cline's and connect directly to UnioAPI.

Settings depend on your version

Kilo Code's own sign-in is unrelated to this page; choose the API Provider below to use UnioAPI.

Prerequisites

  • The Kilo Code extension installed in VS Code (or a JetBrains IDE).
  • A topped-up UnioAPI account and an API key.

Steps

Open the provider settings

Open the settings in the Kilo Code panel, go to Providers and create a configuration profile named UnioAPI.

Choose the protocol and fill in

GPT models:

FieldValue
API ProviderOpenAI Compatible
Base URLhttps://api.unioapi.com/v1
API KeyYour UnioAPI key
Modele.g. gpt-5.6-sol

Claude models:

FieldValue
API ProviderAnthropic
API KeyYour UnioAPI key
Use custom base URLTick it and enter https://api.unioapi.com (no /v1)
Modele.g. claude-sonnet-5
A Kilo Code provider configuration profile
public/docs/screenshots/kilo-code-provider.png · 1600×1000

Assign models per mode (optional)

Kilo Code can use a different profile per mode — for example a stronger reasoning model for Architect and a faster one for Code — to balance usage against quality.

Verify

Switch to the new profile and ask a simple question. If it replies and the call appears in the console's Request logs, you are connected.

FAQ

SymptomCheck
404The /v1 in the base URL doesn't match the protocol; see FAQ & Troubleshooting
401 / 402Invalid key, or the balance is too low
A parameter isn't supported by the modelUse the Anthropic protocol for Claude, or turn off unsupported options in the OpenAI Compatible settings

Next steps