What limits how much an agent spends?
Every agent caps the length of each answer, how many messages it takes from each chat, person and in total each hour, and how much it sends to Anthropic each day. With Claude Opus 5.5, one day costs at most about $17.50. Set a spending limit at Anthropic as well.
Anyone who can message your bot can make your agent answer, and every answer is paid from your Anthropic account. So each agent has limits built in, which keep a busy chat, or someone sending messages on purpose, from running up a large bill.
The limits
- Each answer is at most 2,048 tokens long, Claude's thinking included. A longer answer is cut off with a note saying so.
- Each chat can send a few messages in a row, then 30 an hour.
- In groups, each person can send a few in a row, then 20 an hour, across all groups.
- The agent as a whole answers 200 messages an hour.
- Each day, counted in UTC, the agent sends Anthropic at most 2,500,000 tokens and gets back at most 250,000. Once either is used up, it stops answering until the next day.
When a limit is reached, the agent says so in the chat with a short notice, and the reason shows in the agent's own log.
What that comes to
With Claude Opus 5.5, the model agents use unless you pick another, one answer costs at most about $0.16, and one day at most about $17.50. These figures are worked out from Anthropic's prices when the agent software was checked, and Anthropic's current prices are on its own site. A cheaper model costs less within the same limits. A typical message costs a small part of the most, since it's short and most of the conversation is read from Anthropic's cache.
Set your own limit too
- Set a spending limit in your Anthropic account. It covers every agent and key on that account.
- Give a test agent its own key or account, so its costs are kept apart.
- These limits are the same for every agent, and you can't change them in the dashboard.
Other things to know
- The personality and instructions aren't secret. Anyone who chats with the agent can ask it to repeat them.
- Conversations are kept on your server, and one nobody has written in for 90 days is deleted. Sending /reset clears one. In a group only its admins can, and on Discord members who may manage messages.
- A message deleted in Telegram or Discord stays in the agent's copy of the conversation until it's cleared.