Nasca is a monetisation layer for AI applications that handles per-user AI spend limits, credit top-ups, and upgrade prompts automatically. It integrates with OpenAI, Anthropic, and OpenRouter in just 10 lines of code. Key features include:
- Per-user spend limits: Set monthly, daily, and weekly AI budgets per user tier.
- Credit top-ups: Sell AI credits via Stripe Connect with a 2% platform fee.
- Subscription plans: Link Stripe recurring prices to AI spend limits.
- Revenue analytics: Track conversions, revenue, and blocked prompts.
- No proxy required: Works with any host (Next.js, Express, Node.js).
- Instant blocking: Over-budget users receive a
NascaBlockedErrorwith a custom message and checkout URL.
Ideal for indie developers and SaaS builders who want to monetise AI features without building billing infrastructure.

