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

# Kilo Code

> Hubungkan Kilo Code langsung ke CerasAI dengan penyedia kustom kompatibel OpenAI.

## Sebelum memulai

Pasang Kilo Code di VS Code atau gunakan CLI-nya, buat kunci pada halaman [API Keys](https://console.cerasai.cloud/keys), dan pilih model di halaman [Models](https://console.cerasai.cloud/models).

Pilih antarmuka Anda:

> [tab] Ekstensi VS Code
>
> **1. Konfigurasikan CerasAI**
>
> Buka **Settings → Providers → Custom provider** dan masukkan:
>
> | Pengaturan | Nilai |
> | - | - |
> | Provider ID | `cerasai` |
> | Display name | `CerasAI` |
> | Provider API | **OpenAI Compatible** |
> | Base URL | `https://api.cerasai.cloud/v1` |
> | API key | API key CerasAI Anda |
> | Models | Tambahkan atau pilih ID dari [katalog model CerasAI](https://console.cerasai.cloud/models), seperti `deepseek-ai/DeepSeek-V4.1-Flash-1017` |
>
> **2. Simpan penyedia**
>
> Klik **Submit** untuk menyimpan penyedia. Model yang dikonfigurasi akan langsung tersedia pada pemilih model chat.
>
> Di **Global Config**, atur `limit.context` dan `limit.output` sesuai model Anda.
>
> **Tingkat penalaran**
>
> > [accordion] Konfigurasi tingkat penalaran VS Code
> >
> > Buka **Global Config** dan gabungkan field berikut ke entri model Anda di bawah `provider.cerasai.models` untuk mengaktifkan **low**, **high**, dan **max**, dengan **high** sebagai bawaan:
> >
> > ```json Konfigurasi penalaran theme={"system"}
> > {
> >   "reasoning": true,
> >   "options": { "reasoningEffort": "high" },
> >   "variants": {
> >     "low": { "reasoningEffort": "low" },
> >     "high": { "reasoningEffort": "high" },
> >     "max": { "reasoningEffort": "max" },
> >     "medium": { "disabled": true },
> >     "minimal": { "disabled": true },
> >     "xhigh": { "disabled": true }
> >   }
> > }
> > ```

> [tab] CLI
>
> **1. Atur API key Anda**
>
> Ekspor kunci Anda:
>
> ```bash Ekspor API key theme={"system"}
> export CERASAI_API_KEY="your-key"
> ```
>
> **2. Konfigurasikan CerasAI**
>
> Konfigurasi di bawah menggunakan `deepseek-ai/DeepSeek-V4.1-Flash-1017` sebagai contoh.
>
> Gabungkan ke dalam `~/.config/kilo/kilo.jsonc` dan atur batas token sesuai model Anda. Gunakan berkas global ini karena kredensial `{env:...}` tidak dievaluasi di berkas proyek yang tidak dipercaya.
>
> > [accordion] Konfigurasi Kilo CLI
> >
> > ```json ~/.config/kilo/kilo.jsonc theme={"system"}
> > {
> >   "$schema": "https://app.kilo.ai/config.json",
> >   "model": "cerasai/deepseek-ai/DeepSeek-V4.1-Flash-1017",
> >   "provider": {
> >     "cerasai": {
> >       "npm": "@ai-sdk/openai-compatible",
> >       "name": "CerasAI",
> >       "options": {
> >         "baseURL": "https://api.cerasai.cloud/v1",
> >         "apiKey": "{env:CERASAI_API_KEY}"
> >       },
> >       "models": {
> >         "deepseek-ai/DeepSeek-V4.1-Flash-1017": {
> >           "name": "deepseek-ai/DeepSeek-V4.1-Flash-1017",
> >           "reasoning": true,
> >           "limit": {
> >             "context": 1048576,
> >             "output": 393216
> >           },
> >           "options": { "reasoningEffort": "high" },
> >           "variants": {
> >             "low": { "reasoningEffort": "low" },
> >             "high": { "reasoningEffort": "high" },
> >             "max": { "reasoningEffort": "max" },
> >             "medium": { "disabled": true },
> >             "minimal": { "disabled": true },
> >             "xhigh": { "disabled": true }
> >           }
> >         }
> >       }
> >     }
> >   }
> > }
> > ```
>
> Untuk menambahkan model lain, salin entri di bawah `provider.cerasai.models` lalu perbarui kunci dan `name` sesuai [katalog model](https://console.cerasai.cloud/models). Sesuaikan batas token dan tingkat penalaran yang didukung, lalu buka ulang Kilo.
>
> **3. Mulai percakapan**
>
> Jalankan `kilo`. Gunakan `/models` untuk beralih antar model yang dikonfigurasi dalam percakapan aktif.
>
> **Tingkat penalaran**
>
> Gunakan `/variants` untuk memilih **low**, **high**, atau **max**. Bawaannya adalah **high**.

Masalah yang berlaku bagi seluruh agen tercantum pada [Masalah umum](https://docs.cerasai.com/id/agent-integrations#masalah-umum).

## Sumber daya

* [Dokumentasi Kilo Code](https://kilo.ai/docs/ai-providers/openai-compatible)
* [Model CerasAI](https://console.cerasai.cloud/models)


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