> ## 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

<Steps>
  <Step title="Open Kilo Code settings">
    Click the gear icon in the Kilo Code panel.
  </Step>

  <Step title="Add an OpenAI Compatible provider">
    Select **OpenAI Compatible** from the provider list.
  </Step>

  <Step title="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](/capabilities/models), e.g. `anthropic/claude-sonnet-4-6` |
  </Step>
</Steps>

## Troubleshooting

<AccordionGroup>
  <Accordion title="401 Unauthorized">
    Check the key is an Opper key (they start with `op-`) and that the provider is **OpenAI Compatible**, not **OpenAI**.
  </Accordion>

  <Accordion title="404 Model Not Found">
    Copy the model ID exactly from the [catalog](/capabilities/models), including the provider prefix.
  </Accordion>

  <Accordion title="The model list is empty">
    Kilo Code fetches models from `GET /v3/compat/models`. An empty list usually means your [model-access rules](/control-plane/rules/model-access) have narrowed the catalog to nothing for this key.
  </Accordion>
</AccordionGroup>

## Related

<CardGroup cols={2}>
  <Card title="Cline" icon="https://mintcdn.com/opper/H-iiE_tAhHpUz1kK/images/tools/cline.svg?fit=max&auto=format&n=H-iiE_tAhHpUz1kK&q=85&s=e9bb13bd84af8eeecdf98508a0d10dc0" href="/integrations/editors/cline" width="467" height="487" data-path="images/tools/cline.svg">
    Same setup, different VS Code agent.
  </Card>

  <Card title="All integrations" icon="plug" href="/integrations/overview">
    Every app that runs on Opper.
  </Card>
</CardGroup>
