KEEP YOUR AGENTS IN BUDGET
Know the spend.
Control the fleet.
Set caps, catch retry loops, and freeze enrolled agents from one place.
Run the local spend cap: one wrap command, no sign-in · Compare plans
Guardrails, not guarantees. Only proxy-routed traffic is controlled. Receipt-based caps can overshoot by one accepted request.
Open your workspace
Sign in with an email code. A new email creates a separate organization. Shared company domains do not grant access to another workspace.
GET STARTED
See your first agent's spend
- Set caps and create an enrollment token in Enroll an agent.
- On the agent's machine, enroll it with the token:
COSTCAP_ENROLL_TOKEN=<token> node src/cli.js enroll --url https://app.costcap.dev --name my-agent - Run the agent wrapped. Its first receipt shows here with estimated spend:
node src/cli.js wrap --enrollment .costcap/enrollment.json -- node your-agent.js
Hosted workspace plan
$19 USD per month. Automatic monthly renewal. Cancel through the billing portal; cancellation stops the next renewal. The CLI stays free and existing beta access remains available.
Checking subscription...
By continuing to checkout you accept the Terms. See Privacy for what Stripe and CostCap store.
Free workspace
- Up to 3 enrolled agents
- Up to 3 people (owner included)
- Remote caps, freeze and resume
- Alerts, audit log, receipts CSV
- Receipts shown for 30 days
Solo
- Up to 15 enrolled agents
- Up to 3 people
- Receipts shown for 90 days
- Everything in the free workspace
- Monthly renewal, cancel in the billing portal
Team
- Up to 50 enrolled agents
- Up to 15 people with admin and viewer roles
- Receipts shown for 1 year
- Everything in Solo
- Monthly renewal, cancel in the billing portal
YOUR WORKSPACE
Fleet guardrails
Policies apply to enrolled agents. Offline agents keep their last-known policy.
Spend
Synced receipt cost by budget-period day (UTC unless set below), model, agent and team. Unknown cost is counted, never shown as $0; a bucket with unknown cost is marked incomplete.
By day
Top models
Top agents
By team
Uses current team membership. Download CSV
By tag
Unknown-cost receipts
Settle an unknown cost with an audited value from provider evidence. The original receipt stays unknown; budgets use the settled cost.
Download this workspace's receipts (CSV). The file is what the proxy reported, not a provider bill.
Enroll an agent
Issue a one-use token, valid for 10 minutes. Treat it as a secret. Choose USD caps before enrolling.
Copy this token into your local CostCap enrollment command. It is shown only in this browser session.
On the agent's machine, from a CostCap checkout:
Alert destinations
Where spend alerts for this organization go. Email recipients must be verified members. The Slack webhook is stored masked and never shown in full.
Emails: none
Slack: not set
Signed webhook: not set
PagerDuty: not set
Microsoft Teams: not set
Discord: not set
Signing secret (shown once, copy it now):
Alert routes
Send chosen alert kinds for chosen teams to their own emails or Slack channel, in addition to the defaults. Up to 10.
Members
How enforcement works
Wrap each agent with the CostCap CLI and route supported provider traffic through its local proxy. Enrollment syncs policies and receipts.
Kill and resume are remote policy changes, not a network-level kill switch. An offline agent cannot receive a new freeze until it reconnects.
Optional hosted plan: $19/month. No provider-bill guarantee. The hosted datastore is single-process, not a high-availability service.
Freeze all agents
Kill switch for a runaway-spend incident. Every enrolled agent refuses new requests at its next policy poll. This is not instant, and it does not undo requests already accepted. Resume only revives agents this freeze stopped.
Fleet state: ACTIVE
Budget period
Day and month caps, alerts and the Spend card reset at midnight in this timezone, and the month starts on this day. Default: UTC, day 1. Enrolled agents pick it up on their next sync.
Weekly spend digest
Spend for the previous week vs the week before, top agents, teams and models, cap headroom, unsettled unknown cost and alerts fired, sent once a week to your alert destinations. Times use your budget-period timezone.
Receipt retention
Permanently delete synced receipts older than this many days. A nightly job runs the deletion and records it in the audit log. Receipts from the last 32 days or the current budget month, and receipts with unknown or pending cost, are always kept. Leave empty to keep everything.
Tag caps
Fleet-wide per-tag budgets (for example one $5 UTC-day cap for every customer). Every enrolled agent enforces them against the org's synced spend plus its own unsynced receipts. A local --tag-cap can tighten a rule, never loosen it. Up to 10 rules.
Org budget
One day, week or month cap (or a total that never resets) for every agent in this workspace together, including agents enrolled later. Each enrolled agent enforces it against the org's synced spend plus its own unsynced receipts (one poll interval of overshoot). Unknown cost refuses calls until it is settled.
No org budget.
API keys
Revocable keys for scripts, CI and incident tooling. A viewer key reads spend, exports and alerts. An admin key can also freeze the fleet, change policy, settle receipts and acknowledge alerts. Keys can't manage keys, billing or members. The full key is shown once.
New key (copy it now, it won't be shown again):
Team budgets
A team shares one day and month cap across its agents. Agent caps apply first. Team spend counts synced receipts only, so spend not yet synced can overshoot until the next poll.
Agents and caps
No enrolled agents yet. Create a token above to start.
Cap raise requests
Agents and members can ask for a time-boxed raise. Approving adds budget until it expires; base caps never change.