Documentation/Core Concepts/Prepaid vs. Postpaid Billing
Prepaid vs. Postpaid Billing
VibezCheck supports both billing paradigms with a single configuration toggle:
Which Model Should You Choose?
| Model | Best For | How It Works | Financial Risk |
|---|---|---|---|
| Postpaid | B2B SaaS, enterprise contracts, internal tools | Monthly metered invoice sent at cycle end. | Possible card decline at month end. |
| Prepaid | B2C apps, public signups, self-serve tools | Users buy a $10 credit pack upfront; deducts in real time; locks at $0. | Zero risk. You get cash before they use 1 token. |
Setting Up Prepaid Credit Wallets
typescript
model: vibezcheck('openai/gpt--mini', { customer: 'alex@gmail.com', billing: { mode: 'prepaid', // 👈 Real-time deduction; locks cleanly at $0 }, // Gracefully switch to eco-mode when balance is low: fallbackModelOnBudget: 'openai/gpt-4o-mini',})Setting Up Postpaid Invoices
typescript
model: vibezcheck('openai/gpt-', { customer: 'org_acme_corp', billing: { mode: 'postpaid', // 👈 Standard Stripe Metered Billing invoice },})Previous
Core Concepts
Profit Margins & Sane Defaults
Next Guide
Core Concepts
Agentic Tool Call Metering
💡 Tip: Use Left / Right arrow keys to navigate guidesPage 7 of 15