This is the documentation for version 0.22.0. Read this page for the latest version, 0.26.0.
Documentation · version 0.22.0
Spend limits
Each AI provider has an estimated daily spend limit that stops runaway bots and tasks from running up a large bill.
How the limit works
- Every paid provider starts with an estimated limit of $50 a day.
- Bot Legger estimates each request's cost from the model's list price. Your provider's bill is what counts; the estimate leaves out discounts, surcharges, and some fees.
- The limit is per provider, not per bot. It covers chats, tasks, messages from apps like Telegram, and bot-to-bot messages together.
- The day resets at midnight in your Time zone (Settings → Data).
- Local models run on your computer and cost nothing, so they have no limit.
See today's spend
- Open Settings → Connect AI models.
- Open the provider.
- Its spend limit section shows today's estimated spend against the limit, with a bar.
On a computer, the info icon next to the section's heading also shows today's token count; on a phone it shows under the spend.
You can also ask any bot, for example "how much have I spent on AI today?". It can tell you each provider's limit, today's spend per model, and the total. Bots can't change the limit.
Change or turn off the limit
- Open Settings → Connect AI models and the provider.
- In the spend limit section, type an amount in US dollars per day, or switch off Limit daily spend to remove the limit.
- To go back to $50, choose the button that restores the default.
The change applies from the next request.
When the limit is reached
- Every request to that provider stops until midnight: chats, tasks, pictures, speech, and app messages alike. Other providers keep working.
- A reply already running finishes, so a day can end a little over.
- The chat shows a message with Raise limit, which opens the provider's page. Steps the bot finished before the stop are kept.
- A repeating task waits for the next day. A task started by Run now or by an event ends with the limit's message instead.
- To keep going today, raise the limit, turn it off, or switch the bot to a model from another provider (AI models).
Keep spending down
- Prefer tasks that repeat on an interval over continuous ones (Tasks and schedules).
- Give repeating tasks an end, such as a maximum number of runs.
- Ask tasks to report only when there is something new.
- Smaller, cheaper models often do routine jobs well.