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

# Kimi Code CLI Konfigurationsanleitung

> AceDataCloud Coding Plan API guide - Ace Data Cloud

## 1. API Key erhalten

Öffne die [Ace Data Cloud Anwendungsliste](https://platform.acedata.cloud/console/applications), gehe zu einer verfügbaren Anwendung und kopiere den API Key.

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

## 2. Kimi Code installieren

macOS / Linux:

```bash theme={null}
curl -fsSL https://code.kimi.com/kimi-code/install.sh | bash
```

Windows PowerShell:

```powershell theme={null}
irm https://code.kimi.com/kimi-code/install.ps1 | iex
```

Kann auch über npm installiert werden:

```bash theme={null}
npm install -g @moonshot-ai/kimi-code
```

## 3. AceDataCloud konfigurieren

Bearbeite `~/.kimi/config.toml` und füge die folgende Konfiguration hinzu:

```toml theme={null}
default_model = "acedatacloud/MODEL_ID"

[providers.acedatacloud]
type = "openai"
base_url = "https://api.acedata.cloud/v1"
api_key = "dein API Key"

[models."acedatacloud/MODEL_ID"]
provider = "acedatacloud"
model = "MODEL_ID"
```

Gehe zum [Modellverzeichnis](https://platform.acedata.cloud/models), um die Modellnamen anzuzeigen (zum Beispiel `claude-opus-5`, `gpt-6-sol`), und ersetze alle `MODEL_ID` durch denselben Namen; bei genauer Überprüfung gilt der `id`-Wert in der Antwort von `/v1/models`. Dieser Wert ist der Modellname, der vom API-Parameter `model` verwendet wird, und nicht die UUID des Dienstes oder der API. `type = "openai"` verwendet das OpenAI-Chat-Completions-Protokoll.

Die Konfigurationsdatei enthält den Key, unter macOS / Linux wird empfohlen, die Berechtigungen einzuschränken:

```bash theme={null}
chmod 600 ~/.kimi/config.toml
```

## 4. Überprüfen und starten

```bash theme={null}
kimi doctor
kimi provider list
kimi -p "Reply only OK"
```

Führe nach dem Betreten des Projekts `kimi` aus, um die Verwendung zu starten. Wenn 401 zurückgegeben wird, überprüfe den API Key; wenn model not found angezeigt wird, bestätige, dass `default_model`, der Name in der Modelltabelle und das Feld `model` dieselbe ID verwenden.

## Offizielle Referenzen

* [Kimi Code](https://www.kimi.com/code)
* [Provider-Konfiguration](https://moonshotai.github.io/kimi-code/zh/configuration/providers)
* [Konfigurationsdatei](https://moonshotai.github.io/kimi-code/zh/configuration/config-files)


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