Rates
| Service | Rate |
|---|---|
| Managed LLM | Provider cost, passed through with no markup |
| Web search (Brave) | $0.005 per call (5,000 micros) |
| Composio | $0.000114 per call (114 micros) |
1000000. Managed spend debits the workspace wallet, the same wallet that pays for compute. Top it up at agent37.com/dashboard/cloud/billing.
How budgets work
A budget has two parts:- Monthly cap. A spending ceiling that resets at the start of each UTC month. It defaults to $0, so managed calls are refused until you grant headroom.
- One-time top-up headroom. A ceiling that persists across months and is consumed only after the monthly portion is exhausted.
Budget figures are ceilings, not money. The workspace wallet is the only pot of dollars; raising a cap or topping up an instance moves no funds. The sum of caps across your instances can exceed the wallet balance, which is fine: caps bound each instance, the wallet bounds the total.
Set a budget at create
Passbudget in the create body to grant headroom from the first call.
Monthly managed-spend cap in micros. Resets each UTC month.
One-time headroom in micros. Persists until consumed.
Endpoints
| Action | Endpoint |
|---|---|
| Read the budget | GET /v1/instances/{id}/budget |
| Set the monthly cap | PATCH /v1/instances/{id}/budget |
| Add one-time headroom | POST /v1/instances/{id}/budget/top-up |
| Read managed spend | GET /v1/instances/{id}/usage |
The budget object
The monthly spending ceiling.
Managed spend counted against the cap this month.
monthly_cap_micros minus monthly_consumed_micros, floored at 0.The UTC month the counters cover, formatted
YYYY-MM.One-time headroom left. Consumed only after the monthly portion is exhausted.
Epoch seconds of the last budget write. Cap changes, top-ups, and managed spend all update it;
null if the budget has never been written.Set the monthly cap
PATCH /v1/instances/{id}/budget sets the cap for the current and future months. It takes effect immediately.
The new monthly cap in micros. Must be a non-negative integer.
0 turns managed services off for the instance once any remaining top-up headroom is consumed.
Add one-time headroom
POST /v1/instances/{id}/budget/top-up adds to topup_remaining_micros. Use it for a burst of work you don’t want to bake into the monthly cap.
Headroom to add, in micros. Must be a positive integer.
Up to 64 characters matching
^[A-Za-z0-9_-]{1,64}$. Repeating a request with the same key returns the current budget without adding again, so retries are safe.An instance top-up raises a ceiling; it does not move money. Funding the wallet itself happens in the dashboard at agent37.com/dashboard/cloud/billing. See Billing.
Read managed spend
GET /v1/instances/{id}/usage?month=YYYY-MM returns the instance’s managed-spend rollup for one UTC month. Omit month for the current month; an invalid value returns 400.
The UTC month covered, formatted
YYYY-MM.Total managed spend for the month.
Per-service breakdown.
llm carries cost_micros, calls, input_tokens, and output_tokens; brave and composio carry cost_micros and calls.Usage covers managed spend only. Compute prepay never appears here; the full billing ledger lives in the dashboard, not on
/v1. See Billing.When a managed call is refused
A managed call that can’t be covered fails with a 402 carrying one of two reasons. The instance keeps running either way; only managed calls are refused, and the refusal surfaces inside the instance on the call the agent was making, so the agent typically reports it in its reply.| Reason | What happened | Fix |
|---|---|---|
insufficient_balance | The workspace wallet is empty. | Top up the wallet at agent37.com/dashboard/cloud/billing. |
instance_budget_exhausted | The wallet has funds, but this instance hit its budget. | Raise the monthly cap with PATCH .../budget, or add headroom with POST .../budget/top-up. |
Connecting apps
The agent connects apps in conversation; there are no integration endpoints to call. Ask it to connect Gmail, Slack, Notion, or any other Composio-supported app, and it replies with an authorization link. Your user opens the link and grants access; Composio handles the OAuth. From the next turn on, the agent can use the app. Composio calls meter at $0.000114 each, counted against the instance’s budget like any other managed call.Bring your own keys
Managed credentials are a convenience, not a requirement. To run a service on your own account, put your own provider key inside the instance with exec or the agent’s in-instance config. Calls made with your own keys go straight to the provider and never touch the managed meter or the budget.Next steps
Billing
The workspace wallet, compute prepay, and top-ups.
Send a message
Put the managed LLM to work through the instance’s chat API.
Run commands
Set your own provider keys or inspect the instance.
Errors
Every error code and how to handle it.