---
url: 'https://docs.byesu.com/en/clients/kilo-code.md'
description: >-
  Configure Kilo Code in VS Code with byesu API: use Anthropic native
  (/v1/messages) with prompt caching or OpenAI Compatible (/v1) for GPT-6.2 and
  Gemini 4.
---

# Connect Kilo Code to byesu API

**Kilo Code** is an open-source multi-mode AI coding extension for VS Code (combining Architect, Code, Debug, and Orchestrator modes). You can assign different **byesu** models per mode — for example `claude-opus-5-5` for Architect and `claude-sonnet-5-5` or `gpt-6.1-sol` for Code.

::: tip Quick configuration

* **Anthropic Native (Claude + Prompt Caching)**: Provider = `Anthropic`, Custom Base URL = `https://byesu.com` (no `/v1`), API Key = `sk-...`.
* **OpenAI Compatible (GPT / Gemini / DeepSeek)**: Provider = `OpenAI Compatible`, Base URL = `https://byesu.com/v1`, API Key = `sk-...`.
  :::

## Setup Steps

1. Sign up in the [byesu Console](https://byesu.com/register) and create a token in the **`auto`** group.
2. Open **Kilo Code** in VS Code → **Settings → Providers**.
3. Create a configuration profile:
   * For **Claude**: choose **Anthropic**, enable **Use custom base URL** → `https://byesu.com`, paste your `sk-...` key, and select `claude-opus-5-5` or `claude-sonnet-5-5`.
   * For **GPT / Gemini / DeepSeek**: choose **OpenAI Compatible**, set **Base URL** → `https://byesu.com/v1`, paste your `sk-...` key, and enter `gpt-6.2-sol`, `gemini-4-argon`, or `deepseek-v4-pro`.

## Troubleshooting

* **404 on Anthropic profile**: remove `/v1` from `https://byesu.com` ([Claude 404 fix](/en/errors/claude-api-model-not-found-404)).
* **Prompt caching & speed**: see [Prompt Caching](/en/guide/prompt-caching) and [weekly production benchmarks](https://byesu.com/benchmarks).
