01 AI products
Stop costly requests before provider work. For AI product teams shipping agents, copilots, or generation features.
When When a customer starts an AI generation, agent run, or premium-model request.
Benefit Check the customer's plan and credit balance before the provider call. Reuse the idempotency key so retries do not deduct credits twice.
Proof The decision record shows the action, plan, credits checked, outcome, and usage recorded afterward. POST /v1/images/generate
Entitlement active premium.image
Credits available 100 available · 20 required
Product work may begin after allow
02 APIs & data
Sell credits and paid API usage. For teams monetizing endpoints, data access, or developer operations.
When When a customer calls a paid API endpoint or starts a metered data export.
Benefit Check the credit balance or contracted limit before the call runs, then record accepted usage once even when the client retries.
Proof The decision record links the API action, balance change, idempotency key, and resulting usage event. Available balance 499 credits
Now api.search −1
Earlier api.export −5
Grant monthly allocation +500
Decision and usage share one reference 03 SaaS packaging
Keep plans, seats, and overrides out of route code. For SaaS teams with packaging that changes faster than application routes.
When When a customer invites a seat, runs an advanced export, or uses an add-on.
Benefit Resolve the plan, seat count, and customer override before the action runs. A blocked retry leaves the account state unchanged.
Proof The decision record shows the effective package, override, action outcome, and policy version used. Effective package Growth · v15 Account acme-inc
Effective now Feature AI agents Enabled
Limit Seats 75
Included Credits 12M
04 Compute & workflows
Reserve scarce value and capacity. For products that start long-running or failure-prone work.
When When a customer starts a render, export, or other long-running job.
Benefit Reserve credits before the job starts, commit successful usage once, and release the reservation after failure or cancellation.
Proof The usage transaction shows the reservation, job outcome, commit or release, and remaining balance. Reservation lifecycle job_8K21 1 Reserved 40 compute credits held
2 Work in flight Value is protected
3 Commit or release Resolve from the job outcome
Available 460 Reserved 40 Total 500