
With the OpenAI Compatible provider, Cline knows nothing about the model you typed in Model ID. The Model Configuration section tells it how much text the model can take and how much it can write in each answer. With the right values, you avoid errors and spending too much.
The fields
According to Cline's documentation, Model Configuration has the context window, the maximum output, image support, Computer Use and the input and output prices. The ones that matter here:
| Field | What to enter |
| Context Window | The model's context, the context_length in the model list. For moonshotai/kimi-k2.7-code, 262144. |
| Max Output Tokens | The maximum for each answer. We recommend 16000. |
| Input Price and Output Price | They belong to Cline: Interweb does not receive them and they do not change what you pay. What each request spent is in History. |
| The other fields | Leave them as they are. |
Where to find the context
| 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.interweb.co.mz/v1/models?type=text" -H "Authorization: Bearer $INTERWEB_API_KEY"
In Windows PowerShell:
curl.exe "https://api.interweb.co.mz/v1/models?type=text" -H "Authorization: Bearer $env:INTERWEB_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.
Why 16,000 for the maximum output
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. Do not go above the model's max_output_tokens, which comes in the list. And do not go too low: the answer stops at the limit, and a big change to a file gets cut off halfway.
Why the right context matters
Context Window tells Cline how far the task's conversation can grow. With a value above the model's, the conversation can go past what the model accepts and requests can fail. Use the exact context_length value.
| When you change the Model ID, change the Context Window too: each model has its own. See how to choose a model for Cline. |
|
Want our models in Cline? Visit the Coding with AI page. See Coding with AI |
|
SEE ALSO Cline with All in One AI: the OpenAI Compatible provider, field by field Lowering the maximum output in Cline to avoid 402 insufficient_credits |
RECOMMENDED PRODUCT Web hosting with cPanel Domain and SSL included, daily backups and the panel you already know. from $5.36/mo (3-year plan, with coupon) See plans |











