Use Cases

Real-world integration patterns. Pick the one closest to what you're building — each is a complete walkthrough from data model to API calls.

Pick Your Pattern

Decision Aid
If your billing is… Pattern Use case
Recurring monthly cycles with budgets Prepaid subscription + grants SaaS Subscription
Flat subscription with resetting quotas (every few hours/days) Prepaid subscription + matched-expiry grants Consumer AI Subscription
Per-message / per-action with a wallet Wallet + plans + metering AI Chat App
Long-running operations (seconds to minutes) Reserve / commit / release AI Generation App
Bill in arrears based on usage Postpaid metered + tiered API Platform

All Use Cases

Each use case is a complete integration walkthrough — data model, API calls, and tips.