# Budgets

> Every task has a budget in credits, an estimate before it starts, and a hard stop.

Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service).  
Source: https://agent.docs.sypnia.com/safety/budgets/

For agents: Budgets: each task has a budget in Sypnia credits (Cloud) or in the person's model-provider currency (self-hosted, tracked by tokens). Before starting: an estimate (range). During: spending per step (model tokens, sandbox minutes) shown live. At 80%: a notice. At 100%: hard stop, work saved on its branch, a summary of what is left. Defaults per person and per team; no task without a budget. Credits are prepaid (topped up with PayPal); nothing is billed afterwards.

Every task has a **budget**. The agent cannot start a task without one, and stops when it reaches it.

1. **Before starting**, it estimates the cost as a range («between 8 and 15 credits»).
2. **While working**, it shows what each step spent: model use and sandbox time.
3. **At 80 %**, it tells you, and says what is left to do.
4. **At 100 %**, it stops. The work so far is saved on its branch, with a summary of what remains; you can raise the budget and continue.

In Sypnia Cloud the budget is in **credits**, prepaid: you top them up (with PayPal) and tasks spend from them; nothing is billed afterwards. In your terminal with your own model key, the budget is counted in your provider's tokens.

Teams set a default budget and a maximum per task; a person can lower them, never raise them past the team's maximum.
