> ## Documentation Index
> Fetch the complete documentation index at: https://docs.opper.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Kilo Code

> Add Opper as an OpenAI Compatible provider in Kilo Code

[Kilo Code](https://kilo.ai) is an open-source AI agent for VS Code (Apache-2.0, [source](https://github.com/Kilo-Org/kilocode)). It combines planning, editing, and command execution with a mode system for different kinds of work.

## Setup

**1. Open Kilo Code settings**

Click the gear icon in the Kilo Code panel.

**2. Add an OpenAI Compatible provider**

Select **OpenAI Compatible** from the provider list.

**3. Fill in the connection**

| Field | Value |
| - | - |
| **Base URL** | `https://api.opper.ai/v3/compat` |
| **API Key** | Your Opper API key |
| **Model** | Any ID from the [catalog](https://docs.opper.ai/capabilities/models.md), e.g. `anthropic/claude-sonnet-4-6` |

## Troubleshooting

> [accordion] 401 Unauthorized
>
> Check the key is an Opper key (they start with `op-`) and that the provider is **OpenAI Compatible**, not **OpenAI**.

> [accordion] 404 Model Not Found
>
> Copy the model ID exactly from the [catalog](https://docs.opper.ai/capabilities/models.md), including the provider prefix.

> [accordion] The model list is empty
>
> Kilo Code fetches models from `GET /v3/compat/models`. An empty list usually means your [model-access rules](https://docs.opper.ai/control-plane/rules/model-access.md) have narrowed the catalog to nothing for this key.

## Related

> [card] [Cline](https://docs.opper.ai/integrations/editors/cline.md)
>
> Same setup, different VS Code agent.

> [card] [All apps](https://docs.opper.ai/integrations/overview.md)
>
> Every app that runs on Opper.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.