Cline Integration
Cline is a free, open-source AI coding agent for VS Code. Unlike Cursor, it has no paywall for custom providers — point it at Sozdai and get full agentic coding (reading/editing files, running commands) with any of our models.
#Why Cline (vs Cursor)
Cursor's free plan restricts custom API keys to basic chat — its Agent/Edit features require a paid Cursor Pro subscription. Cline has no such limit: its full agentic workflow works with your own key on any OpenAI-compatible endpoint, at no extra cost beyond your Sozdai usage.
#Prerequisites
Install VS Code
Cline runs as a VS Code extension.
Install the Cline extension
In VS Code, open the Extensions panel, search for "Cline", and install it. (Its fork "Roo Code" is configured the same way.)
Get a Sozdai API key
Create an API key in your console (starts with sk-corr-). Top up your balance so requests aren't rejected.
#Configure Cline
Open Cline settings
Click the Cline icon in the VS Code activity bar, then the gear icon to open settings.
Select provider: OpenAI Compatible
In the API Provider dropdown, choose "OpenAI Compatible".
Fill in the fields
| Field | Value |
|---|---|
| Base URL | https://api.sozdai.ai/v1 |
| API Key | Your sk-corr- key (paste raw, no "Bearer") |
| Model ID | claude-sonnet-5 |
Base URL must end with /v1
Set model capabilities (optional)
Expand Model Configuration and set the context window and max output tokens to match your model (see the Models page). This helps Cline avoid over-long requests.
#Recommended models
Enter one of these exact model IDs (they must match the Models page). You can switch anytime in Cline's model dropdown.
| Model ID | Best for |
|---|---|
claude-sonnet-5 | Best overall coding quality |
claude-opus-4-8 | Hardest tasks, top reasoning |
deepseek-v4-pro | Great quality, much cheaper |
deepseek-v4-flash | Fast & cheapest for simple edits |
Save cost
#Verify
Save settings, open any project, and give Cline a simple task like "Review the current file and suggest one safe improvement." If it reads the file and responds, you're connected. From there, Cline can edit files and run commands with your approval.
#Troubleshooting
| Symptom | Fix |
|---|---|
| 401 / auth error | Key is wrong or has "Bearer " prefix — paste the raw sk-corr- key. |
| model not found | Model ID doesn't match ours — use an exact ID from the Models page. |
| Connection / 404 | Base URL must be exactly the one above (ending in /v1). |
| 402 insufficient balance | Top up your Sozdai balance on the Billing page. |