Daily spend cap
| Property | Value |
|---|---|
| Default | $5.00 (500 cents) |
| Type | Soft pause — auto-resumes |
| Resume | At 00:00 in the workspace timezone (configurable) |
| Status | PAUSED_COST |
| User notification | Email + any channels subscribed to on_pause |
agent_cost_ledger per (agent, day, provider, model). Before each LLM call, the CostGovernor computes estimated_cost = prompt_tokens × 1.2 × per-token price and refuses if ledger_today + estimated > cap. Refusal sets status=PAUSED_COST, files a COST_PAUSE pending item, and exits the cycle.
Hourly action cap
| Property | Value |
|---|---|
| Default | 60 actions/hour |
| Type | Hard pause — requires human resume |
| Status | PAUSED_RATE |
| Backing | Redis sliding-window counter |
| User notification | Email + any channels subscribed to on_pause |
80% warning
When daily spend crosses 80% of the cap, the agent fires aon_cost_threshold notification. The UI shows an “approaching cap” banner on the agent header.
Configurable via the rule set:
Model choice
| Model | Use | Cost (relative) |
|---|---|---|
claude-opus-4-7 (default) | Planning loops, escalation triage, user-initiated chat | 1× |
claude-haiku-4-5-20251001 (fast path) | Routine event-triggered cycles | ~0.1× |
gpt-4.1 (BYO) | When llmProvider = BYO_OPENAI | Your account’s pricing |
Other claude-* (BYO) | When llmProvider = BYO_ANTHROPIC | Your account’s pricing |
true. Saves ~10× on the common (event-driven) path.
BYO key
Bring your own Anthropic or OpenAI API key. We never bill you for usage on the BYO path — your account is charged by the provider directly. See the full walkthrough: BYO Anthropic key.Pro Max downgrade
If your workspace downgrades off Pro Max, allACTIVE agents move to PAUSED_USER with reason "Plan downgraded — Pro Max required". The agent rows stay in the database — re-upgrade reactivates them with config intact, including rule sets, channels, data sources, and pending items. Memory notes and run history persist throughout.
Cost dashboard
Two views in the app:/workspace/agent-costs— workspace-wide MTD total, sum of caps, projection./agents/{id}/costs— per-agent breakdown by day and model.
API
| Endpoint | Returns |
|---|---|
GET /api/v1/workspaces/{wid}/agent-costs | Workspace aggregate + per-agent rollup. |
GET /api/v1/agents/{id}/costs | Per-day breakdown, MTD vs cap, projection. |
Related
- Agents overview — trust-by-design context for the caps.
- Recipe: Pause when cost spikes — wire alerts so you hear about it before the cap fires.