Set a monthly budget
Navigate to Dashboard → Settings → Budget and enter your monthly cap in USD. Tokonomics uses this figure as the baseline for all threshold calculations. You can update it at any time; changes take effect immediately.
Choose alert thresholds
Select which spend percentages should trigger an alert. The available thresholds are 50%, 80%, and 100%. You can enable any combination — for example, enable 80% and 100% if you only want a warning near the limit and a final alert when you hit it. Each threshold can route to its own channel.
Configure alert channels
Choose where each alert is delivered.
- Slack
- Teams
- Email
- Webhook
Paste your Slack incoming webhook URL into the Slack webhook URL field. Tokonomics sends a formatted message that includes the threshold, current spend, and budget total.
Webhook payload
When a threshold is crossed, TokonomicsPOSTs the following JSON body to your webhook URL:
| Field | Type | Description |
|---|---|---|
event | string | Always budget.threshold |
threshold_percent | number | The threshold that was crossed (50, 80, or 100) |
current_spend | number | Your cumulative spend in USD at the time of the alert |
monthly_budget | number | Your configured monthly cap in USD |
budget_used_percent | number | Exact percentage used, which may exceed the threshold slightly |
Hard caps (Pro)
Pro plan users can enable a hard cap in addition to alerts. When your spend reaches 100% of your monthly budget and the hard cap is active, Tokonomics rejects further requests with a429 Too Many Requests response until the budget resets or you increase your cap. This prevents runaway spend caused by loops or unexpected traffic spikes.
Alert delivery is best-effort. Tokonomics retries failed deliveries up to 3 times with exponential backoff before marking the alert as undelivered. You can see the delivery status of every alert in Dashboard → Settings → Alert History.