Choosing the model for your agent, and what happens if it does not accept tools

All in One AICreating AI Agents·· 5 views· 3 min read

Each agent uses one text model, chosen in the Model field of its Settings, on the Agents tab of All in One AI. The agent has no price of its own: you pay for that model, at the catalogue price. So the choice changes the cost of each answer, and the quality too.

The model box

The box groups the models by the company that made them and shows, to the right of each one, the price in credits per 1 million input and output tokens. Type part of the name in Search model to find it quickly. The same prices are on the Models tab and in GET /v1/models, in the pricing field.

How to choose

What matters What to check
Price The instructions and the knowledge go with every request, as input tokens. For an agent with a lot of knowledge, the input price matters more than it seems.
Context The model's context_length must fit the instructions, the knowledge and the conversation. You see it on the Models tab and in GET /v1/models.
Tools If you turn tools on, the model must support them.
Job For frequent questions answered from the knowledge, a fast and cheap model is usually enough. For long reasoning, choose a stronger one.

If the model does not accept tools

Nothing breaks. The agent still answers, only without the tools: it does not read pages, search the web or check today's date, even if they are turned on. No error shows up. The answer may even look right, but it comes only from the model, the instructions and the knowledge.

So if the agent never uses the tools you turned on, check the model first. These catalogue models support tools, according to the coding tools documentation: moonshotai/kimi-k2.7-code, deepseek-ai/deepseek-v4-pro, zai-org/glm-5.2, qwen/qwen3.8-max, deepseek-ai/deepseek-v4-flash, zai-org/glm-5.3-flash. The list of the 79 models that support tools is in the configuration block of OpenCode with All in One AI.

Changing the model later

Open the agent, change the model in Settings and click Save. The agent id stays the same, so programs that already use agent/... do not need to change anything. Test it in Try it first: another model may answer the same instructions in a different way.

If an agent's model leaves the catalogue, the box shows it with the note "unavailable". Choose another one and save.

The Maximum tokens in the reply field caps the length of each answer and the credit reservation. An API request can lower that value, but never raise it. Prices and the reservation are explained in what an AI agent costs.

Want the right model for your agent? See All in One AI.

See All in One AI

SEE ALSO

Choosing a text model: price, context window and what each one is for

AI agent tools: reading web pages and knowing today's date

Letting your agent search the web: web_search, its cost and the limit per answer

What an AI agent costs, and how to test it without spending

All in One AI

RECOMMENDED PRODUCT

Web hosting with cPanel

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

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