DocsEditors
Cline
Point the Cline extension for VS Code at your Osarai GPU with its OpenAI Compatible provider.
Cline is an autonomous coding agent for VS Code and other editors built on it (Cursor, Windsurf, VSCodium). It reaches Osarai through its OpenAI Compatible provider.
Set up
Open Cline's settings
Install Cline from the extensions view, open its panel and press the gear icon.
Choose the provider
Set API Provider to OpenAI Compatible and fill in:
| Field | Value |
|---|---|
| Base URL | https://osarai.xyz/v1 |
| API Key | your qck_… key |
| Model ID | qwen3.8-27b |
Describe the model
Open Model Configuration and enter your instance's real limits, so Cline neither overfills the context nor cuts answers short:
| Setting | Value for qwen3.8-27b on an RTX 5090 |
|---|---|
| Context Window Size | 131072 |
| Max Output Tokens | 16384 |
| Supports Images | On only if your instance takes image input (Models) |
| Input / Output Price | 0: you pay for the GPU by the hour, not per token |
Check the connection
Send a short message such as "List the files in this project". Cline reads the folder with its tools and answers.
Tips
- Cline sends long system prompts with many tool definitions. A model with at least a 128K window, such as
qwen3.8-27b, leaves room for your code. - Cline shows the model's reasoning as it streams. For quick edits, a lower reasoning effort answers faster.
- Every request counts as activity, so an instance stays up while Cline works and stops by itself after the idle timeout once you are done.
Troubleshooting
| Symptom | Fix |
|---|---|
401 | The key field holds something other than your qck_… key |
404 | The Base URL must end with /v1 and nothing after it |
| Cline says the model does not use tools correctly | Use a model with tool calls (qwen3.8-27b); OCR and embedding models cannot drive Cline |
503 … not ready yet | The instance is still starting; wait for Ready on the instance page |