Credits + usage limits + feature access

Stop rebuilding credits and usage limits.

QuotaMint gives your SaaS one API for customer plans, feature access, credits, and usage tracking. Bring your own billing.

Join the early developer preview.

No credit card. Early developer access.

usage.ts
const result = await quotamint.consume({
  customerId: "user_123",
  feature: "generate_image",
  idempotencyKey: "job_abc123"
});

if (!result.allowed) {
  return res.status(402).json({
    error: "Usage limit reached"
  });
}

Response

{
  "allowed": true,
  "creditsUsed": 10,
  "creditsRemaining": 490
}

One call checks access, balance, and retry safety.

The familiar problem

You’ve probably built this before.

Every usage-based SaaS eventually ends up maintaining the same infrastructure. QuotaMint turns that into a small API.

Credits table
Usage counters
Monthly resets
Plan checks
Feature access rules
Usage limits
Usage history
Retry protection
Upgrade and downgrade handling
How it works

Define the rules once. Call one API.

QuotaMint keeps product access logic in one place instead of scattered across your backend.

01

Create your plans

Starter500 credits / month
Pro2,000 credits / month
02

Define feature costs

generate_text1 credit
generate_image10 credits
generate_video50 credits
03

Call consume()

await quotamint.consume({
  customerId: "user_123",
  feature: "generate_image"
});

QuotaMint checks the customer’s plan, feature access, and remaining credits, then returns allow or deny.

See the whole customer

Configure access. Inspect every credit.

Plans, feature costs, balances, and usage history stay visible without digging through application logs.

Acme Inc.

user_123

ACTIVEPlan · Pro

Credits remaining

740740 / 1,000

Usage this month

Image generations26
Text generations84
Video generations2

Feature access

AI TextEnabled
ImagesEnabled
VideoDisabled

Recent usage

generate_image-10
generate_text-1
generate_image-10
Bring your own billing

Keep your existing billing.

QuotaMint doesn’t replace Stripe, Paddle, Razorpay, Lemon Squeezy, or your billing system.

Your app tells QuotaMint which plan a customer has. QuotaMint handles everything after that.

await quotamint.customers.setPlan({
  customerId: "user_123",
  plan: "pro"
});

Native billing integrations are planned later.

Stripe / Paddle / Razorpay / Custom Billing
Customer plan
QuotaMint
Credits + usage + access
Your application

Payment stays with your billing provider. Runtime access decisions stay with QuotaMint.

Built for usage-based products

The same API fits different business models.

Track any unit your product sells or restricts, without coupling access logic to one billing provider.

AI SaaS

Charge credits for images, text, video, tokens, documents, or agent runs.

API products

Track API usage, set usage limits, and control feature access.

B2B SaaS

Enable features based on plans without hard-coding plan logic everywhere.

Credit-based apps

Manage monthly credits, top-ups, rollovers, and consumption.

Safe consumption

Retries don’t double-charge usage.

Pass an idempotency key with consume(). If the same request is retried, QuotaMint returns the original result instead of consuming again.

Idempotent consumption by design.
image-job.ts
await quotamint.consume({
  customerId: "user_123",
  feature: "generate_image",
  idempotencyKey: "image_job_8392"
});

First request

-10 credits

Retry

0 additional credits

Why QuotaMint

Keep product rules out of your product code.

A usage counter is easy. Maintaining everything around it is not.

Without QuotaMint

  • –Plan logic scattered across code
  • –Custom counters
  • –Custom credit resets
  • –Difficult retry handling
  • –Difficult usage history
  • –Billing-provider-specific logic

With QuotaMint

  • One consume() API
  • Central plan configuration
  • Consistent feature access
  • Credit tracking
  • Usage audit trail
  • Billing-provider independent
The infrastructure boundary

QuotaMint complements payments. It doesn’t replace them.

Billing providers collect money. QuotaMint decides what a customer can use inside your application.

Comparison between billing providers, API gateways, and QuotaMint
Product categoryPrimary responsibilityWhere QuotaMint fits
Stripe / PaddlePayments, subscriptions, and invoicesUsage, credits, feature access, and runtime decisions
API gatewaysRouting, rate limiting, and API trafficApplication-level usage and feature access
QuotaMintComplements billing and gateway infrastructurePlans, consumption history, and allow or deny decisions
Pricing

Choose capacity, not a different integration.

Every plan runs the same checks, consumption, credits, idempotency, and Test/Live isolation. Upgrade only when your traffic or team needs more room.

Prices are per workspace. Usage resets on the first day of each UTC month.

Free

Ship one product with the complete metering core.

$0per workspace / month

  • 5,000 events each month
  • 1 project
  • 60 runtime requests / minute
  • 3 days of usage history
  • 2 Test + 2 Live API keys per project
  • 1 team member
Start free
Most popular

Pro

Run several products with exports and team controls.

$29per workspace / month

  • 2,000,000 events each month
  • 5 projects
  • 600 runtime requests / minute
  • 30 days of usage history
  • 10 Test + 10 Live API keys per project
  • 5 team members
Choose Pro

Scale

Support higher traffic, larger teams, and longer history.

$79per workspace / month

  • 10,000,000 events each month
  • No project cap
  • 3,000 runtime requests / minute
  • 90 days of usage history
  • Unlimited Test and Live API keys
  • 20 team members
Choose Scale

Compare every limit

Runtime capacity, data retention, and team controls are enforced from the same plan definition used by the product.

Free$0 per month

Capacity

Projects
1
Monthly events
5,000
Active API keys — Test
2
Active API keys — Live
2
Team members
1

Runtime

Requests per minute
60
Metadata per event
2 KB
Metadata keys
10
Visible usage history
3 days
Audit history
3 days

Operations

Usage exports
Dashboard only
Environment configuration
Basic
Project roles
Workspace roles
Credit top-ups
Basic
Pro$29 per month

Capacity

Projects
5
Monthly events
2,000,000
Active API keys — Test
10
Active API keys — Live
10
Team members
5

Runtime

Requests per minute
600
Metadata per event
8 KB
Metadata keys
30
Visible usage history
30 days
Audit history
30 days

Operations

Usage exports
CSV
Environment configuration
Per environment
Project roles
Admin and developer
Credit top-ups
Standard
Scale$79 per month

Capacity

Projects
No cap
Monthly events
10,000,000
Active API keys — Test
No cap
Active API keys — Live
No cap
Team members
20

Runtime

Requests per minute
3,000
Metadata per event
32 KB
Metadata keys
100
Visible usage history
90 days
Audit history
90 days

Operations

Usage exports
CSV + JSON
Environment configuration
Per environment
Project roles
Admin, developer, viewer
Credit top-ups
Standard

All plans include customer plans, feature entitlements, atomic credit deduction, idempotency, API authentication, monthly grants, manual credit changes, and separate Test and Live data. Active API key limits apply per project and per environment: Test and Live keys are counted separately.

Frequently asked questions

Everything developers ask before adding QuotaMint.

Clear boundaries now. Production details before launch.

What is QuotaMint?
QuotaMint is a backend service for managing customer plans, feature access, usage limits, and credits in SaaS applications.
Is QuotaMint a payment gateway?
No. QuotaMint does not process cards or collect payments. Continue using Stripe, Paddle, Razorpay, Lemon Squeezy, or your own billing system.
How does QuotaMint know which plan a customer is on?
For the MVP, your application tells QuotaMint when a customer is assigned, upgraded, downgraded, or removed from a plan using the API.
Do I need Stripe?
No. QuotaMint is payment-provider independent.
Can I use Paddle, Razorpay, or Lemon Squeezy?
Yes. For the MVP, your application can sync the customer’s plan into QuotaMint regardless of which billing provider you use.
Will native Stripe integration be available?
Native billing integrations are planned, but the first release focuses on usage, credits, plans, and feature access.
What happens when a customer uses a feature?
Your backend calls consume(). QuotaMint checks the customer’s plan, feature access, credit cost, and remaining balance, then returns whether the action is allowed.
Can different features cost different amounts?
Yes. For example, text generation can cost 1 credit, image generation 10 credits, and video generation 50 credits.
Can plans have different feature access?
Yes. You can enable or disable features for each plan.
Can plans have different monthly credit amounts?
Yes. For example, Starter can have 500 credits and Pro can have 2,000 credits.
What happens when credits run out?
consume() returns allowed: false and your application decides what to show, such as an upgrade or top-up message.
How are retries handled?
QuotaMint supports idempotency keys. Repeating the same consume request with the same idempotency key will not consume usage twice.
Can I see why credits were consumed?
Yes. QuotaMint keeps usage history so you can see when, where, and which feature consumed credits.
Can customers buy extra credits?
Yes, through credit grants or top-ups. Your billing provider handles the payment, and your application or a future integration updates the credit balance.
Can credits reset every month?
Yes. Plans can define recurring credit allocations such as monthly credits.
Can credits roll over?
Initial plans can reset on a billing cycle. More advanced rollover rules are planned.
Does QuotaMint sit in front of my API like an API gateway?
No. Your application calls QuotaMint from the backend. You do not need to proxy all of your traffic through QuotaMint.
Will QuotaMint slow down my application?
QuotaMint is designed for fast runtime checks. The client libraries and API minimize the work required in your request path.
What languages will be supported?
The first SDK is TypeScript and Node.js. The REST API can be used from any backend language, and more SDKs will follow.
Can I use QuotaMint for AI token usage?
Yes. You can track arbitrary usage units including tokens, images, API calls, documents, storage, minutes, or custom credits.
Can I use it without credits?
Yes. You can use QuotaMint only for feature access or usage limits if your product does not use a credit system.
Can I use it for API rate limits?
QuotaMint focuses primarily on application usage and feature-access logic. Basic usage limits can be supported, but it is not intended to replace a full API gateway.
How is QuotaMint different from Stripe?
Stripe handles payments and subscriptions. QuotaMint handles what a customer can use inside your application and how much they have used.
How is QuotaMint different from RevenueCat?
RevenueCat primarily handles mobile app purchases and feature access. QuotaMint is designed for backend SaaS, AI, and API products with usage-based features and credits.
How is QuotaMint different from Zuplo or Tyk?
Zuplo and Tyk are primarily API management and gateway products. QuotaMint does not require routing your API traffic through a gateway and focuses on application-level usage, credits, plans, and feature access.
What happens if QuotaMint is temporarily unavailable?
We’re designing SDK fallback and caching options so applications can choose fail-open or fail-closed behavior for critical checks. More details will be available before production launch.
Is usage data auditable?
Yes. Every consumption creates an immutable usage record with identifiers and timestamps.
Can I send my own customer ID?
Yes. QuotaMint works with the customer, user, or organization identifiers you already use.
Does QuotaMint store my customer passwords or payment details?
No. QuotaMint does not need customer passwords or card details.
Who is QuotaMint for?
Developers building SaaS, AI applications, APIs, or any software with plan-based access, credits, or usage limits.
Who is QuotaMint not for?
Teams looking for a payment processor, accounting platform, full API gateway, or complete subscription checkout system.
Is there an SDK?
The first SDK is TypeScript and Node.js, with a REST API underneath so any backend language can use it.
Can I test it before using it in production?
Yes. Separate test and production environments are included in the product roadmap.
How much will it cost?
Early access starts around $29 per month. Final pricing can depend on usage volume.
How do I join?
Enter your email in the early-access form.
Early developer preview

Stop maintaining usage logic yourself.

Join the early developer preview and add credits, plans, and usage limits to your SaaS with one API.

Join the early developer preview.

No credit card. Early developer access.