What an AI agent costs, and how to test it without spending
An agent has no price of its own. You pay for the model it uses, in AI credits, at the price shown in GET /v1/models. Each round trip to the model spends credits like a chat request.
What goes into each answer
| Part | How it counts |
| Instructions and knowledge | Input tokens, on every request |
| The conversation messages | Input tokens |
| The answer | Output tokens |
| Each use of a tool | One more call to the model, which also carries the text of the ones before |
| Each web search | 0.5 credits, on top of the tokens |
So an answer that uses two tools makes three calls to the model and costs more than one without tools. To understand tokens, see tokens explained.
Reservation and settlement
|
|
|
Testing for free, and testing for real
| Way | Spends credits? | What it is for |
| A sandbox_ key | No | Writing and testing your program. The agent answers in the same format but does not call the model or the tools: the text is always "Resposta de teste (sandbox)." |
| Try it, in «Sandbox (free)» mode | No | Seeing the screen work. The answer is a test one and the model is not called. |
| Try it, in «Production» mode | Yes | Seeing the agent's real answers, with the cost of each one. The requests show up in the history as the All in One AI Playground. |
How to keep the bill down
|
|
|
|
| Before you open the agent to many people, check your balance with GET /v1/ai/balance or in All in One AI, and ask half a dozen questions in Try it, in Production mode, to see what a normal conversation costs. |
|
Want an agent whose costs you control? Visit the AI agents page. See AI agents |
|
SEE ALSO Creating an AI agent in All in One AI, step by step Your AI agent's knowledge: what to add and how to keep each answer cheap AI agent tools: reading web pages and knowing today's date |
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 |











