Sozdai LogoDocs
Integrations/Cline

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

1

Install VS Code

Cline runs as a VS Code extension.

2

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.)

3

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

1

Open Cline settings

Click the Cline icon in the VS Code activity bar, then the gear icon to open settings.

2

Select provider: OpenAI Compatible

In the API Provider dropdown, choose "OpenAI Compatible".

3

Fill in the fields

FieldValue
Base URLhttps://api.sozdai.ai/v1
API KeyYour sk-corr- key (paste raw, no "Bearer")
Model IDclaude-sonnet-5

Base URL must end with /v1

Cline appends /chat/completions automatically — enter exactly the URL above, nothing after it.
4

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 IDBest for
claude-sonnet-5Best overall coding quality
claude-opus-4-8Hardest tasks, top reasoning
deepseek-v4-proGreat quality, much cheaper
deepseek-v4-flashFast & cheapest for simple edits

Save cost

DeepSeek costs a fraction of Claude and handles most coding tasks well. Prompt caching (large repeated codebase context) is applied automatically on our side to cut costs further.

#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

SymptomFix
401 / auth errorKey is wrong or has "Bearer " prefix — paste the raw sk-corr- key.
model not foundModel ID doesn't match ours — use an exact ID from the Models page.
Connection / 404Base URL must be exactly the one above (ending in /v1).
402 insufficient balanceTop up your Sozdai balance on the Billing page.