Prerequisites
1
RuAPI account and API key
Console → Tokens → create an
sk-... key. The balance tops up in USDT — see Top-up.2
VS Code and the Cline extension
Install Cline from the VS Code Marketplace (or cline.bot) and open its icon in the sidebar.
Setup
1
Open Cline settings
In the Cline panel, click ⚙️ → the provider selector (API Provider).
2
Choose OpenAI Compatible and fill the fields
3
Save
Click Done / Save. Cline is ready.
First task
In Cline’s input, describe a task, for example:Troubleshooting
Model not found / 404
Model not found / 404
The Model ID must match RuAPI verbatim. Exact names are on the pricing page.
The agent burns through the balance fast
The agent burns through the balance fast
Cline sends a lot of context and many steps — tokens go faster than in plain chat. Create a separate key with a spend limit in Console → Tokens.