About this starter
Tokenfold focuses on the part of AI products that usually gets built last: charging for them. It includes prepaid credit packs, monthly plans with included usage, Stripe billing meters, per-user and per-team rate limits in Redis, spend alerts by email, and a usage page that shows customers exactly where their credits went. A sample chat and summarizer app demonstrate the metering hooks.
It is opinionated that every model call goes through one wrapper that records cost before returning. That rule makes margins visible from day one. The limitation: the sample apps are thin. The kit is strongest when you already know what your AI feature does and need the billing around it.
Highlights
- 01Prepaid credits and plans with included usage
- 02Per-team rate limits and spend alerts
- 03Customer usage page broken down by feature