Cline is a VS Code extension that codes with you: it reads the project, edits files and runs commands, with your permission. With the OpenAI Compatible provider, it uses All in One AI models, with the MozOut key. You set it up in the extension settings, with no files.
Before you start
| 1 |
Create a key in the API Center with the ai:read and ai:write permissions. Use a sandbox_ key to check the setup without spending and a prod_ key to work. The fields are explained in creating an API key.
|
|
| 3 |
Have the Cline extension installed in VS Code.
|
|
Field by field
| 1 |
Open the Cline settings (the gear icon).
|
|
| 2 |
In API Provider, choose OpenAI Compatible.
|
|
| 3 |
In Base URL, type https://api.mozout.com/v1.
|
|
| 4 |
In API Key, paste your key.
|
|
| 5 |
In Model ID, type the model id, for example moonshotai/kimi-k2.7-code.
|
|
| 6 |
In Model Configuration, put the model's context in Context Window (262144 for this one) and 16000 in Max Output Tokens. Leave the rest as it is.
|
|
We reserve credits for the maximum output the tool asks for in each answer. That is why the examples ask for 16,000 tokens: it is enough for coding and needs a smaller balance than a higher value. Each model's context is in the table below and in the context_length field of the model list.
Checking it works
Start a new task in Cline and say "hello". With a sandbox_ key, the answer is always "Resposta de teste (sandbox).". Then switch to the prod_ key in API Key: with the sandbox one, Cline cannot write code.
Another model
Cline uses the model in Model ID. To change it, replace the id and adjust Context Window. Use a model that supports tools:
| Model |
Context |
What for |
| moonshotai/kimi-k2.7-code |
262,144 tokens |
Built for coding: the starting point for everyday work. |
| deepseek-ai/deepseek-v4-pro |
1,048,576 tokens |
Strong reasoning, for big changes and hard bugs. |
| zai-org/glm-5.2 |
1,048,576 tokens |
Made for agents: handles tools well in long tasks. |
| deepseek-ai/deepseek-v4-flash |
1,048,576 tokens |
Fast and cheap, for background tasks and short questions. |
The ids are in the Models tab of All in One AI or in the API list. On Linux and macOS:
curl "https://api.mozout.com/v1/models?type=text" -H "Authorization: Bearer $MOZOUT_API_KEY"
In Windows PowerShell:
curl.exe "https://api.mozout.com/v1/models?type=text" -H "Authorization: Bearer $env:MOZOUT_API_KEY"
Each model comes with its id (always with the slash), its context_length and its price in pricing. Listing the models spends no credits.
|
For Cline to create images, video and voice, see the MCP server in Cursor, Windsurf and Cline. If you used Roo Code: the extension was discontinued on 15 May 2026, and its page points to Cline as an alternative. The steps are the same.
|