ApiBilling
API billing engine β cost estimation, safety margin, customer rate cards, and negative-margin reconciliation.
Statusβ
| Key | Value |
|---|---|
| Layer | composite |
| Tier | Business |
| Status | released |
| Version | 1.0.0 |
| Price | Free (subscription) |
| Category | AI / LLM |
Overviewβ
Overviewβ
ApiBilling is the API billing and settlement engine for multi-saas-kit. It works above ApiUsageAnalytics and manages four pricing layers: provider raw cost estimate, buffered internal cost, customer rate cards, and reconciliation adjustments after actual provider cost is finalized.
Core Featuresβ
- Product-code based internal cost policies
- Tenant/customer rate cards
- Billing-event snapshots
- Audit logs for policy changes
- Negative-margin reconciliation adjustments
- Separate presenters for customer-facing and operator-facing amounts
Relationship with ApiUsageAnalyticsβ
ApiUsageAnalytics owns usage logs, actual cost sync, and spend aggregation. ApiBilling owns pricing policy, customer billable amount, and reconciliation.
Licenseβ
MIT
Dependenciesβ
π View on Plugin Store: store.codebase.how/plugins/api-billing