Skip to main content
Kilo Code is an open-source AI coding agent that runs in VS Code, JetBrains and the terminal: it reads and edits files and runs commands on its own. By default, Kilo asks you to sign in to a Kilo account and pay for models through it, but you can also bring your own key. RuAPI gives you access to Claude, GPT, Gemini, DeepSeek, GLM, Qwen and Kimi with a single API key, and works from Russia without a VPN. You top up your balance in USDT; no foreign-issued card required.

How it works

In Kilo Code, a third-party service is added as a Custom provider. For RuAPI, it’s convenient to create two: Claude is best added as the second provider, over the Anthropic protocol: requests then use Claude’s native format and prompt caching works. Claude also works through OpenAI Compatible, but without caching — long tasks end up costing several times more.
Unlike in Cline and Roo Code, both providers here use the URL with the trailing /v1: Kilo appends the rest of the path itself.

Before you start

1

RuAPI API key

Sign up at www.ruapi.ai and top up your balance (how to top up). Then go to Console → API Keys and click Create API key. Keys start with sk-.
2

Latest version of Kilo Code

Install Kilo Code from the VS Code Marketplace (search for “Kilo Code”) or update it to the latest version.
No bank card needed: you can top up your balance in USDT. If you don’t have USDT yet, follow our step-by-step guide to buying it with rubles. Foreign-issued cards are accepted too.

A provider for DeepSeek, GPT and other models

1

Open the provider settings

Open Kilo Code in the sidebar → ⚙️ (Settings) → Providers tab. Scroll to the bottom and click Custom provider.
2

Fill in the dialog

3

Save the provider

Click Submit — RuAPI models will appear in the model picker.
If the model list doesn’t load, double-check the URL and key and click Fetch models again, or enter model names manually. You’ll find the exact names on the pricing page; enter them exactly as listed, including any prefix and capitalization (e.g. kimi/kimi-k3).

A provider for Claude

1

Add another provider

⚙️ → Providers → Custom provider.
2

Fill in the dialog

3

Save the provider

Click Submit.

Picking a model and running your first task

In the Kilo Code chat, open the model picker and choose, for example, RuAPI Claude → claude-sonnet-5-5 or RuAPI → deepseek-flash. Then open a project folder and give it a task:
To confirm that requests are going through RuAPI, open Console → Usage Logs: you’ll see an entry for each request with the model and cost. For Claude, from the second or third step onward the entry details should show how many tokens were read from the cache. Which model to pick:

Keeping costs down

  • New topic, new task. The context grows with every step and is sent in full each time.
  • Use a cheaper model for routine work. Plan with a strong model and hand edits to deepseek-flash.
  • Use a separate key with a spending limit. Create a dedicated key for Kilo Code and set a limit on it in Console → API Keys.

Troubleshooting

Make sure you pasted the full RuAPI key (sk-...) with no extra spaces and that Base URL is set to https://www.ruapi.ai/v1.
Double-check the URL and key, then click Fetch models. If that doesn’t help, enter model names manually, copying them from the pricing page.
The model name must match the one on RuAPI exactly. Pick Claude models from the RuAPI Claude provider and all other models from RuAPI.
This can happen with DeepSeek in reasoning mode if you switch models mid-task. In most cases RuAPI automatically fixes and retries the request. If the error persists, start a new task.

What’s next