CheapAI

Documentation

Everything you need to plug CheapAI into your tooling — setup guides for popular agents, API reference, FAQ.

Kilo Code

VS Code / JetBrains agent extension

Vision (image input) is not forwarded to custom OpenAI-compat providers by Kilo Code, Cline/Roo and similar forks. Text works as expected. For vision use Cursor or Claude Code.

Create an API key — Keys page → click Create key, name it (e.g. kilo), copy the value. We won't show the plaintext again.

Install Kilo Code from the marketplace. In VS Code press ⌘⇧X (Windows/Linux Ctrl⇧X), search «Kilo Code» and click Install. JetBrains — Settings → Plugins → Marketplace → «Kilo Code».

Open the Kilo Code panel (sidebar icon) → click the gear ⚙ in the top-right of the panel — the Settings page opens.

In the API Provider dropdown select OpenAI Compatible — this is the universal path that works for all our models, not just Claude.

Fill in the three fields exactly as below:

Base URL — behind a CDN
https://cheapai.io/v1
Base URL — no CDN
https://api.cheapai.io/v1
API Key
YOUR_API_KEY
Model
claude-sonnet-4-6

Model ID can be any from the Models page (e.g. gpt-5.5, gemini-3-pro-high, claude-opus-4-6).

Save the settings (Kilo applies them on field blur) → open the chat in the Kilo Code panel → ask a simple question. If you get a streaming response within seconds — the integration works.

If you see 401 — wrong API key. 404 on model — wrong Model field (check the catalog). For other errors check Logs.

Replace YOUR_API_KEY with a real key from the Keys section.