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

# Kilo Code CLI Custom Model Configuration

> AceDataCloud Coding Plan integration guide - Ace Data Cloud

## 1. Obtain API Key

Open the [Ace Data Cloud application list](https://platform.acedata.cloud/console/applications), enter the available application, and copy the API Key.

![Obtain Ace Data Cloud API Key](https://cdn.acedata.cloud/dvc3cg.jpg)

## 2. Configuration

Kilo CLI reads `kilo.jsonc` and retrieves the API Key from the shell that starts the CLI.

Write in `~/.config/kilo/kilo.jsonc`:

```jsonc theme={null}
{
  "provider": {
    "acedatacloud": {
      "npm": "@ai-sdk/openai-compatible",
      "options": {
        "baseURL": "https://api.acedata.cloud/v1",
        "apiKey": "{env:ACEDATACLOUD_API_KEY}"
      },
      "models": { "MODEL_ID": { "name": "MODEL_ID" } }
    }
  },
  "model": "acedatacloud/MODEL_ID"
}
```

Then export the Token in the current shell:

```bash theme={null}
export ACEDATACLOUD_API_KEY="PASTE_YOUR_ACEDATACLOUD_API_TOKEN_HERE"
```

## 3. Verification

```bash theme={null}
kilo run -m acedatacloud/MODEL_ID "Reply only OK"
```

If the CLI cannot read the Token, ensure the variable has been `exported`, and is not just written in an unloaded `.env` file.

## Official Reference

* [Kilo Code Custom Provider](https://kilo.ai/docs/ai-providers/openai-compatible)
* [Kilo Code CLI](https://kilo.ai/docs/code-with-ai/platforms/cli)

Return to the [Coding Plan Configuration Center](https://platform.acedata.cloud/documents/coding-plan-integration).


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