Skip to content

Spend control

Per-agent daily caps

Each mg_ key is an agent with a hard daily UTC spend cap. A call that would exceed remaining budget is denied on the same path as a completion — and a policy_deny event is appended to the Litheum ledger (policy id, agent, remaining cap).

Org
Window
Agent keys
0
AgentKeyCost centerDaily capSpentRemaining

Trip the near-cap agent

Seeded remaining is a fraction of a cent. One completion with the demo near-cap key should deny and write a ledger event.

Open playground in cap mode

Recent policy denies

No denies in this window.