Monetize AI usage in your app with buyer credits

Set a buyer AI allowance and markup, manage limits, and handle exhausted balances.

Buyer credits give each customer an AI allowance at a markup you choose. Your workspace still pays the actual AI cost; the customer's allowance is a separate meter.

At a 2× markup, an action costing your workspace 1 credit uses 2 buyer credits. An allowance of zero leaves that plan outside buyer-credit billing.

Set up an allowance

  1. Open your app's Monetize section and create or select a plan.
  2. Set Included AI credits / period and the markup multiplier. You set these values yourself; the builder can help create the plans.
  3. Republish the app and check the buyer's balance card and out-of-credits message.

If the AI credits panel is missing, ask support to check availability for your workspace.

Plan fields for included AI credits and markup

Customers see their balance, usage, reset date and top-up button in the app's AI Credits card. When their wallet runs out, the app should show the top-up or upgrade action.

Buyer balance and top-up button

Resets and adjustments

  • Included credits reset each billing period. Unused included credits do not roll over.
  • A markup change applies to an existing customer's next billing period.
  • To grant extra credits, open Users and choose a customer with a wallet.
  • Purchases and refunds use your app's payment setup.
  • If your workspace runs out of credits, buyer balances do not cover its bill. See Out of credits.

Set app and user limits

Where enabled, Dashboard → Settings → Advanced settings → End-User AI Limits has a monthly app budget and daily/monthly request limits per signed-in user. Blank means unlimited; zero means no AI. Plan allowances replace the flat per-user limits for customers on those plans.

These are soft limits. The budget uses hourly aggregated usage, simultaneous requests can exceed per-user counters, and temporary limit-store failures can allow requests. Anonymous visitors are not covered by per-user limits. Your own outside AI provider is billed separately.

For strict usage rules, have the builder enforce them on the server before paid work. Buyer credits measure AI usage; they do not automatically count appointments, readings or other units you sell.

Custom AI endpoints

Have the builder pass the verified getAuthContext(request, env).billingUserId as options.userId to routeToAiProviderWithUsage.

Handle these responses before showing success:

  • WALLET_CREDITS_EXHAUSTED: success: false, HTTP 402 and a topUpUrl.
  • AI_BUDGET_EXHAUSTED: HTTP 429 when the enabled app budget is exhausted, including anonymous calls.

Daily/monthly per-user generation caps apply to built-in AI routes. Existing custom endpoints need their own billing identity and error handling; a platform Worker update preserves their handler code.

Sharing credits with employees

A wallet belongs to one buyer in this app. Inviting employees does not pool their allowances.

A shared allowance needs a verified authorization and billing design. Never trust an owner ID supplied by the browser to charge someone else's wallet. Test two buyers independently before selling a team plan.

Was this helpful?

Thanks for the signal — it helps us improve the docs.

More in Billing and credits

What are credits?

Credits are how Overskill measures the AI work you use. Here's what one credit gets you and how to read the meter.

Credits in your published app: who pays for AI usage

Your workspace pays for built-in app AI. Learn how buyer allowances and your own provider differ.

Credit packs vs subscriptions

Overskill sells credits two ways. Which one's right for you depends on how often you build.

Still need help?

If this didn't answer your question, our team is one click away.