> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sureops.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Budgets & cost

> Set incident-level cost caps and a monthly LLM spend cap, and understand what happens when either is hit

Every incident sureops works on consumes LLM tokens — for diagnosis, recommendations, and verification. Whether you see that spend in dollars depends on how your organization is set up.

> [!NOTE]
>
> **The dollar-cost sections on this page (incident caps, monthly cap) apply to bring-your-own-key (BYOK) organizations — that's every production organization today.** Demo and trial environments run on sureops-supplied LLM capacity and don't configure dollar budgets there — instead of USD figures you see a usage meter (diagnosis credits, and premortem credits where applicable) or, before that loads, a **"Budget managed by sureops"** card. That usage meter isn't exclusive to demo/trial: every organization, BYOK included, sees the same diagnosis/premortem usage meter alongside — not instead of — its dollar budget UI. A parallel **managed** mode is designed for the same non-dollar-budget behavior for production orgs but is not yet available for self-serve signup — see [BYOK vs Managed LLM](https://docs.sureops.ai/ai-agents/byok-vs-managed.md). Skip to [Managed / demo mode](#managed--demo-mode) below for how that usage meter works.

There are two independent cost controls: **incident cost caps**, which bound a single incident's spend and can escalate it if it runs away, and a **monthly cap**, which bounds the organization's total spend for the billing month.

***

## Incident cost caps

Each of the six lifecycle stages (detection, triage, diagnosis, resolution, verification, closure) has its own configurable caps — LLM call count and cost — plus one cap for the incident as a whole. All six rows are editable; defaults are just tuned per stage (diagnosis gets the largest budget, while detection and closure default to zero since they typically involve little to no LLM spend). Admins can override any stage's cap per-environment.

> [!NOTE]
>
> There is no time-based cap: a stage running long won't breach on time alone, and the call-count and cost caps are the ones that do the work. A separate per-stage liveness check is what catches a genuinely stalled stage.

Alongside the caps is an **enforcement mode**, one of:

| Mode | Behavior |
| - | - |
| **Warn** (default for BYOK) | A cost breach is logged to the incident timeline as a warning, and the incident keeps running. The LLM-call cap is the exception: it stops a runaway run in every mode except Off, so a call-count breach escalates the incident for human review just as in Enforce. |
| **Enforce** (default for managed orgs) | A breach escalates the incident for human review instead of letting the agent continue — with one exception for sureops-supplied capacity, below. |
| **Off** | Caps aren't checked at all. |

> [!NOTE]
>
> Enforce mode doesn't pause new incidents or halt AI org-wide — it only affects the one incident that breached its cap, and only by escalating it to a human rather than letting it continue unattended.

### On sureops-supplied capacity

On **sureops-supplied capacity** (demo/trial today; managed once it ships), enforcement differs in two ways from the BYOK behavior above:

* **Only the call-count cap is enforced.** The dollar cost caps aren't checked at all, since sureops absorbs that spend — see [Managed / demo mode](#managed--demo-mode).
* **The first call-count breach on an incident usually gets one silent retry.** Rather than escalating, sureops grants the incident a fresh budget once and re-runs the stage. Nothing is escalated or flagged to you as a budget problem, though you may see a neutral "Re-running stage" note in the Command Center activity feed. A *second* call-count breach on that same incident escalates normally. The allowance is one retry per incident (not per stage), and it re-arms when someone takes control of the incident or it is reopened.

  The one case that skips the retry and escalates on the very first breach is a breach during the **resolution** stage: the agent may already have applied some of the approved fixes, and re-running the stage could re-apply them, so that always goes to a human instead.

In Warn and Enforce modes, the Diagnosis Specialist is shown how much of its call budget remains and paces itself to finish with a conclusion before the cap, so a diagnosis normally lands with its findings rather than being cut off. If Diagnosis still hits its stage call cap on sureops-supplied capacity after the automatic retry, sureops turns the evidence gathered so far into a diagnosis for human review instead of escalating empty-handed.

Configure caps and mode in **Settings → Budget** (organization default) or **Settings → Environment → Budget** (per-environment override, inheriting from the org default until you set one).

### Granting more budget to a breached incident

When an incident has escalated because it hit a cap, you have two ways forward. You can **Take Control** and drive it yourself (see [Supervised vs Self-Driving](https://docs.sureops.ai/operating-modes/supervised-vs-self-driving.md#taking-control-mid-incident)) — or, on a BYOK organization, if you'd rather the AI simply keep going, you can extend its budget and hand it straight back.

Extending the budget clears the breach, grants a fresh allowance, and re-runs the stage that breached — returning the incident to AI-driven rather than leaving it waiting on a human. This is available for BYOK organizations only: on sureops-supplied capacity the budget is managed by sureops, so there is nothing for you to extend and the request is refused (this also applies to an incident that started on sureops-supplied capacity, even if the environment has since switched to BYOK). It's an **Admin, Owner, or Compliance Officer** action, a deliberately higher bar than taking over an incident, which any Responder can do, and each extension writes an entry to the incident timeline. There's no limit on how many times you can extend.

Extending is for an incident nobody holds: once someone has taken control, extending is refused. If you're already driving the incident, you don't need to release it — reset the budget instead (below). Extending also won't work on a breach from the **resolution** stage, for the same reason resolution skips the automatic retry above: the agent may already have applied fixes, and re-running could re-apply them. Those cases need a human.

> [!NOTE]
>
> On a BYOK organization, an Admin, Owner, or Compliance Officer sees a **Raise cap and continue** button on the incident's budget-breach banner while the breach is unresolved and nobody holds control. It extends the budget in one click (no confirmation step); the pipeline then re-runs from the breached stage, which can take several minutes. The button only appears when the breached stage can be re-run (triage, diagnosis, or verification). On sureops-supplied capacity there's no button, and the API refuses the request too.

#### Resetting the budget while you hold control

If someone has already taken control of the incident when it hits its budget, the stage card offers **Reset budget and re-run** for the stage that breached. It clears the breach, grants a fresh allowance, and re-runs that one stage for you, while control stays with whoever holds it — the AI does not take the incident back. You can add context for the re-run first. If an approval is still open, you're asked to confirm, and that approval is retired, the same as for any re-run. Until you reset the budget, **Continue** and **Back** on the stage card move the incident without running the agent.

The same limits as extending apply: BYOK organizations only (an incident that started on sureops-supplied capacity is refused, even if the environment has since switched to BYOK), and only for a breach in triage, diagnosis, or verification. Unlike extending, resetting is a **Commander** action (Commander, Admin, or Owner — not Compliance Officer), since the person driving the incident is usually the one who needs it. Each reset is recorded on the incident timeline and in the audit log; if the stage can't start, the reset is undone.

***

## Monthly cap

The monthly cap is organization-wide (not per-environment) and tracks total LLM spend across all environments and agents for the current UTC calendar month. Configure it in **Settings → Budget**:

| Setting | What it does |
| - | - |
| **Monthly cap (USD)** | The ceiling for the month. |
| **Warn threshold** | Percentage of the cap at which the gauge switches to a warning state (default 80%). |
| **Auto-downgrade at cap** | When enabled, hitting 100% of the cap switches new incidents from **Self-driving** to **Supervised** control mode until the next billing period — it does not stop incidents from being created or block AI entirely, and it does not send a separate notification-based alert; the gauge itself reflects the downgrade. |

> [!WARNING]
>
> **Clearing this field does not mean uncapped, on every self-serve plan.** Your organization's plan tier has its own ceiling on monthly spend, and clearing the field (or requesting a value above that ceiling) clamps you to your tier's ceiling rather than removing the cap — you can't request "no cap" any more than you can request above the ceiling. On the Free tier, that ceiling is **0**, so clearing the field there has the same effect as explicitly setting it to `0`. Enterprise contracts may allow a genuinely uncapped monthly budget — see [Pricing & tiers](https://docs.sureops.ai/getting-started/pricing-and-tiers.md) for your plan's ceiling.
>
> **A cap of `0` is a deliberate kill switch, not a no-op.** For BYOK organizations, cap `0` immediately puts the monthly gauge into an at-cap/exhausted state; the only thing that actually changes incident behavior is **Auto-downgrade at cap** — if you have it enabled, new incidents switch to Supervised mode. With auto-downgrade off, a cap of `0` shows as exhausted but nothing about LLM calls is blocked. This is different for managed/demo organizations — see [Managed / demo mode](#managed--demo-mode), where hitting the cap can hard-block diagnosis.

The cap resets automatically at the start of each UTC calendar month — there's no manual "reset now" action, since the window is simply computed from the current date each time the gauge is read.

***

## What you see

The **Settings → Budget** page shows:

* The **diagnosis usage meter** described in [Managed / demo mode](#managed--demo-mode) — shown for every organization, BYOK included
* A **budget gauge** for monthly spend — used vs. cap, with a warning band at your threshold and an at-cap state
* The **budget settings form** — monthly cap, warn threshold, auto-downgrade toggle
* The per-stage/per-incident cap editor described above

Per-incident cost is also visible on the incident itself, in the Incident Hub's left **Stages** panel — total tokens and cost, broken down by agent (commander, diagnosis, resolution, verification). Reading per-incident cost requires Responder or above — an Observer gets no cost data.

***

## Bring your own key (BYOK)

If you supply your own LLM API key, sureops shows cost using the model provider's list price — it has no visibility into any negotiated rate you may have with your provider, so the dashboard figure may not match your actual invoice exactly. BYOK keys are configured per-environment in **Settings → AI Agents → LLM Provider**.

***

## Managed / demo mode

If your organization runs on sureops-supplied LLM infrastructure — today that means a demo or trial environment; sureops-managed mode for production organizations is designed but not yet available for self-serve signup, see [BYOK vs Managed LLM](https://docs.sureops.ai/ai-agents/byok-vs-managed.md) — dollar figures don't apply, sureops absorbs the LLM cost instead, and this usage meter is the only cost signal you see. Instead you see a usage meter tracking your diagnosis (and, where applicable, premortem) allowance for the period — the usage meter and the **"Budget managed by sureops"** card are shown one at a time, never together (the card is a fallback shown only until the meter has loaded). The meter's states are: on track, near cap, at cap, using overage (if your plan allows overage), and **Blocked** — the state that actually stops managed diagnosis once overage headroom (if any) is exhausted. There's a single related notification, delivered in-app only, when the organization crosses its metering cap; there's no email or Slack dispatch for it. It's only sent to members who can edit settings (Admin, Owner, or Compliance Officer).

> [!NOTE]
>
> BYOK organizations see this same usage meter too, displayed above the dollar budget UI rather than in place of it — your own diagnoses draw on your configured LLM key and don't consume this pool, but the meter still tracks diagnosis (and premortem) volume against your plan's allowance.

***

## Frequently asked questions

**Does the budget limit count toward my sureops subscription cost?**

No. Cost caps track LLM token spend on the model provider's API (BYOK) or your metered allowance (managed) — not your sureops subscription charge. The two are billed independently.

**Can I see spend broken down by team member?**

Not today. Spend is tracked at the incident and agent level, not per person.

**Is historical cost data retained?**

Yes — per-incident cost detail is retained as long as your organization is active.

***

## Related

* [Notifications](https://docs.sureops.ai/administration/notifications.md) — where the metering-cap notification and incident-timeline breach warnings show up
* [Roles & Capabilities](https://docs.sureops.ai/administration/roles-and-capabilities.md) — permission to edit settings required to edit budgets and caps


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.