Drop-in billing UIs, embedded in minutes
<CreditTopUpPolar />
Let users top up their balance with preset credit bundles — one click, zero friction.
1import { CreditTopUpPolar } from '@ai-billing/nextjs'
2
3<CreditTopUpPolar userId="usr_test" /><CreditUsagePolar />
Display Polar credit consumption at a glance with a labeled progress bar.
1import { CreditUsagePolar } from '@ai-billing/nextjs'
2
3<CreditUsagePolar userId="usr_test" /><CreditUsageStripe />
Display Stripe credit consumption against a set budget, highlighted when over limit.
1import { CreditUsageStripe } from '@ai-billing/nextjs'
2
3<CreditUsageStripe stripeCustomerId="cus_test" budget={100} />Choose a credit bundle to top up your workspace balance.
Top-up $5
Top-up $10
Top-up $25
Top-up $50
Top-up $100
Prices do not include tax. Tax will be added at checkout.
Optimizing cost? Then find the cheapest model based on user retention.
Expensive models are only worth it if they perform on your specific tasks. Build a custom leaderboard to find the cheapest model that actually works.

