🔁 A model per task
Use a strong model for planning and a cheap one for simple edits. Changing the model name is all it takes.
Setup guide
Cline, Roo Code, Zoo Code and Kilo Code are coding agents that read and edit your files inside VS Code. They all support the “OpenAI Compatible” provider, so a single KMYAI key lets you switch freely between Claude, GPT, Gemini, Grok and DeepSeek.
In VS Code open the Extensions panel (Ctrl+Shift+X), search for “Cline” or “Roo Code” and press Install.
Open the extension's settings (a setup screen appears on first launch) and enter:
OpenAI Compatiblehttps://kmyai.cloud/api/v1YOUR_KMYAI_KEYclaude-sonnet-5-5If the model list does not load, type the model name by hand. Current model names are at the bottom of the API page in the app.
Press Save and give it a task, for example “Summarize the README in this project”. The request shows up as “API” on your Usage page in KMYAI.
Use a strong model for planning and a cheap one for simple edits. Changing the model name is all it takes.
Low-multiplier models such as DeepSeek and Haiku make your balance last far longer on routine work.
Agents resend the history on every step. Starting a new task when the topic changes cuts usage.
For Claude you can also pick the “Anthropic” provider and set the custom base URL to https://kmyai.cloud/api (without /v1 at the end).
| Tool | Provider setting |
|---|---|
| Cline | API Provider: OpenAI Compatible |
| Roo Code | API Provider: OpenAI Compatible |
| Zoo Code | API Provider: OpenAI Compatible |
| Kilo Code | API Provider: OpenAI Compatible |
| Continue | provider: openai, apiBase: https://kmyai.cloud/api/v1 |
models:
- name: KMYAI claude-sonnet-5-5
provider: openai
model: claude-sonnet-5-5
apiBase: https://kmyai.cloud/api/v1
apiKey: YOUR_KMYAI_KEY
roles: [chat, edit, apply]The extension itself is free and open source; model usage needs an API key. With a KMYAI key the usage comes out of your token balance.
Cline and Roo Code work with any model and run visually inside VS Code. Claude Code works with Claude models only and is terminal-first. Both use the same KMYAI balance.
Type the name into the Model ID field by hand (for example claude-sonnet-5-5). Some extension versions do not fetch the list automatically.
Claude Opus or Sonnet for hard tasks; Haiku or DeepSeek are a good start for fast, cheap work.
Create a free account, add tokens and start working with the best models.