Common AI Pricing Models
Recommended Alguna Setup
1
Create usage-based products
Navigate to Products → Add Product
- Create “API Usage” as a metered product
- Price per 1,000 or 1,000,000 tokens/units
- Consider separate pricing for input vs. output tokens
2
Set up billable metrics
Navigate to Billable Metrics → Create Metric
- Metric: “Input Tokens” (sum of input_tokens property)
- Metric: “Output Tokens” (sum of output_tokens property)
- Metric: “API Calls” (count of requests)
3
Implement credit system (optional)
Use Alguna’s credits/wallet feature:
- Customers pre-purchase credits
- Usage depletes credits in real-time
- Auto top-up when balance is low
- Overage billing when credits exhausted
4
Create tiered pricing for volume
Reward high-volume customers:
- First 1M tokens: $3.00 per 1M
- 1M - 10M tokens: $2.50 per 1M
- 10M+ tokens: $2.00 per 1M
5
Set up real-time usage tracking
- Ingest usage events via API
- Provide customers with usage dashboards in portal
- Configure alerts at 50%, 80%, 100% of limits
Billing Flow
Credit System vs. Post-Paid
Key Features to Configure
Billable Metrics
Define what usage events to track and how to aggregate them.
Credits & Wallets
Set up pre-paid credit systems with auto top-up.
Usage Metering
Ingest usage events and see real-time consumption.
Customer Portal
Let customers view their usage and manage billing.
API Reference
Ingest Events
Send usage events to Alguna.
Credit Grants API
Manage customer credit balances.
Webhooks
Get notified of billing events.
Customers API
Create and manage customer accounts.
Related Quick Starts
Self-Serve (PLG)
Most AI companies start with self-serve checkout.
Developers
API integration for usage metering.
Hybrid Motion
Land self-serve, expand with sales for enterprise.
← Back to Quick Starts
See all quick start guides