|
| 1 | +--- |
| 2 | +title: "Billing limits and alerts" |
| 3 | +sidebarTitle: "Billing limits & alerts" |
| 4 | +description: "Set a monthly compute spend cap for your organization and get email alerts before you reach it." |
| 5 | +--- |
| 6 | + |
| 7 | +Billing limits let you cap your organization's monthly compute spend so a runaway task or unexpected traffic spike can't blow your budget. Billing alerts notify you by email as you approach thresholds you choose. |
| 8 | + |
| 9 | +<Note>Billing limits and alerts are available to all [Trigger.dev Cloud](https://trigger.dev) organizations. They don't apply to self-hosted instances.</Note> |
| 10 | + |
| 11 | +You can find the settings in the dashboard: open the **Organization** menu in the top left, then **Settings** → **Billing limits**. |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | +## Setting a billing limit |
| 16 | + |
| 17 | +Choose one of three options: |
| 18 | + |
| 19 | +- **Plan limit**: Use your plan's maximum as the spending cap. |
| 20 | +- **Custom limit**: Set your own monthly spend threshold. |
| 21 | +- **No limit**: No cap is enforced. This is the default. |
| 22 | + |
| 23 | +A billing limit applies to your whole organization and covers billable environments: `production`, `staging`, and `preview`. Your `dev` environment is not affected. |
| 24 | + |
| 25 | +Optionally, enable **Cancel in-progress runs when this limit is reached** to immediately cancel executing runs when the limit is hit, instead of letting them finish naturally. |
| 26 | + |
| 27 | +## Billing alerts |
| 28 | + |
| 29 | +Billing alerts are email notifications sent when your monthly spend crosses a threshold. You can add multiple thresholds: |
| 30 | + |
| 31 | +- **With a billing limit set**: thresholds are percentages of your limit (e.g. 50%, 80%). |
| 32 | +- **Without a billing limit**: thresholds are dollar amounts. |
| 33 | + |
| 34 | +Alerts only notify you — they never pause environments or reject runs. Use them on their own for visibility, or alongside a limit to get advance warning before enforcement kicks in. |
| 35 | + |
| 36 | +## What happens when you reach your limit |
| 37 | + |
| 38 | +When your organization's spend reaches the billing limit, billable environments enter a **grace period**: |
| 39 | + |
| 40 | +1. Queues pause across `production`, `staging`, and `preview`. In-progress runs finish naturally (unless you enabled **Cancel in-progress runs**). |
| 41 | +2. New runs can still be triggered and are queued, but they won't start executing. Queued runs incur no compute cost until they start. |
| 42 | +3. You have **24 hours** to review and decide what to do. |
| 43 | + |
| 44 | +If you don't act before the grace period ends, queued runs are canceled and new triggers are rejected for the rest of the billing cycle. |
| 45 | + |
| 46 | +<Note> |
| 47 | + Billing limits are **soft limits**, not instantaneous hard caps. Usage is evaluated on a short |
| 48 | + delay, so spend can briefly exceed your limit before enforcement applies. See our |
| 49 | + [terms](https://trigger.dev/terms) for refund policy details. |
| 50 | +</Note> |
| 51 | + |
| 52 | +## Resuming after hitting a limit |
| 53 | + |
| 54 | +To resume execution, increase or remove the billing limit from the **Billing limits** page. You'll be asked what to do with the runs that queued up during the pause: |
| 55 | + |
| 56 | +- **Resume queued runs**: everything that built up during the pause runs in order. |
| 57 | +- **Cancel queued runs**: the backlog is discarded and only new triggers run going forward. |
| 58 | + |
| 59 | +Execution resumes automatically once you've resolved the limit. Limits also reset at the start of each billing cycle. |
| 60 | + |
| 61 | +## Tracking spend against your limit |
| 62 | + |
| 63 | +On the **Usage** page (Organization menu → **Usage**), a **Billing limit** marker appears on the usage bar alongside your current spend and plan included usage, so you can see how close you are at a glance. |
| 64 | + |
| 65 | +For tips on lowering your spend in the first place, see [How to reduce your spend](/how-to-reduce-your-spend). |
0 commit comments