Every instance has a monthly usage cap: the most it can spend on platform tools in a calendar month. It protects you from an agent stuck in a loop, and lets you set what each client or user can spend.
What the cap covers
The tools the agent uses on the platform:
- the cloud browser, basic and stealth;
- connected apps;
- Molted Flash and the other included models (memory search, voice, decision models).
It does not cover the instance's hosting, nor your own model subscription or key.
Default and changes
- Each instance starts with a default cap of $15 a month.
- Change it per instance from the instance's page, through the API, or by asking your agent or the management agent:
curl -X PUT "https://api.<region>.molted.net/v2/instances/<instance>/usage-cap" \
-H "Authorization: Bearer $MOLTED_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "cap": 30 }'
nullputs the instance back on the default cap.- A change applies immediately: raising a reached cap resumes what was paused.
- The counter resets on the 1st of each month (UTC).
What happens as the cap fills up
| Share of the cap | What changes |
|---|---|
| 90% | The browser switches to economy mode and the stealth browser pauses. Each tool result tells the agent where it stands, so it can save. |
| 95% | The browser pauses. Voice, decision models and the included models pause. |
| 100% | Connected apps and memory search stop until the next month or until the cap is raised. |
A Mue agent can read its own usage report at any time (where the month's usage goes, a projection to the end of the month and ways to save), and tells you when it gets close.
Reading usage
- On the instance's page in the dashboard.
GET /v2/instances/{id}/usage-capfor the cap and what is spent,GET /v2/instances/{id}/usage-reportfor the detail.
Using caps for your clients
Set each client's cap to what they pay you for usage. Tools stop at the cap (a small overshoot is possible, as usage is measured with a short delay), and you pay only what they actually used. See Resell and re-bill.