Solution
Metering and billing agent calls.
Set a price per action, meter every call and be able to show exactly which calls sit behind each line of usage.
01
Free, keyed or paid, per action.
- Set each action to free, keyed or paid, with its own price. One surface can mix all three.
- The access mode is checked at the gate on every call, before your backend runs, so a change applies at once.
- Create an account for each company whose agents call you, and issue its keys. Secrets are shown once. Suspend a consumer or revoke one key without touching anyone else.
02
Provable metering.
- Every call writes a meter event: the call itself, the response bytes or a path.
- Events are kept in segments with inclusion proofs, so each usage line traces back to the exact calls behind it.
- A dispute packet can name a single meter event as its subject.
- Agined builds a usage statement per consumer and period. Agined does not bill or collect from your consumers; you bill them yourself.
03
Limits that protect your backend and your budget.
- Pick a rate class per action. Your plan sets daily and monthly quotas per actor and workspace.
- A call over a limit answers 429 and names the window it hit, so a well-built agent backs off.
- Cap what one actor may spend in a period. A call priced past the ceiling answers 402 and does not run.
- Every refusal is one of 23 typed codes with a fixed HTTP status.