This is the documentation for version 0.25.0. Read this page for the latest version, 0.26.0.
Documentation · version 0.25.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 and backups).
- Local models run on your computer and cost nothing, so they have no limit.
See today's spend
- Open Settings → AI models.
- Open the provider.
- Its estimated daily 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 → AI models and the provider. In its estimated daily spend limit section:
| Setting | What it does |
|---|---|
| Limit daily spend | Off removes the limit for this provider. |
| US dollars per day | The daily limit. |
| Use the default ($50.00) | Puts the limit back to $50. |
The change applies from the next request.
Early warning
Once a day per provider, when today's spend reaches 80% of the limit, a notice at the top of the app says how much is spent and what used the most, such as a scheduled task or a chat. The same notice appears when the limit is reached. It offers:
- Pause the task for today, when a scheduled task used the most. It skips its runs until midnight and runs on schedule tomorrow.
- Add an amount for today: raises today's limit by half the limit (at least $5) until midnight. The saved limit doesn't change.
- Limit setting: opens the provider's limit in Settings.
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, and the same choices as the early warning. Steps the bot finished before the stop are kept.
- A repeating task waits for the next day; its status says it is paused until the limit resets. 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.