Choosing a model for Cline: models that accept tools

Coding with AICline & Roo Code·· 2 views· 3 min read

Cline reads your project, edits files and runs commands, always asking for permission. For that work, choose a model that supports tools (function calling): these are the ones our docs recommend for coding agents.

The recommended models

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.

All four support tools and are part of the Coding Plan.

How to choose

1 For everyday work, moonshotai/kimi-k2.7-code, built for coding.
2 For a big change or a hard bug, deepseek-ai/deepseek-v4-pro.
3 For long tasks, with many tools in a row, zai-org/glm-5.2.
4 For short questions and simple tasks, deepseek-ai/deepseek-v4-flash, fast and cheap.

Weigh the price too, in credits per million tokens, on the Models tab. With the Coding Plan, stronger models spend more points per token.

Changing the model in Cline

1 Open the Cline settings (the gear icon).
2 In Model ID, replace the id, for example with zai-org/glm-5.2.
3 In Model Configuration, set Context Window to that model's context: 1048576 for this one.

More models

The catalogue has 79 text models that support tools. The full list, with each one's context, is in the OpenCode article. A text model that is not on that list did not pass our test with tools: for Cline, prefer the ones on the list.

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.

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

Model Configuration in Cline: the context window and the maximum output

Coding Plan: which plan to choose, what it costs and how to subscribe

Which coding tool to use with All in One AI: OpenCode, Claude Code, Codex, Cursor, Cline, Kilo Code or Aider

Coding with AI in All in One AI

RECOMMENDED PRODUCT

Web hosting with cPanel

Domain and SSL included, daily backups and the panel you already know. from $6.60/mo (3-year plan, with coupon)

See plans
Was this answer helpful? Your answer helps us improve this article.