Usage Metering for AI

Your AI feature shipped.
Your billing didn't.

Track usage per customer. Enforce limits. Bill with confidence. Two API calls — and you never build metering infrastructure again.

api/chat.ts
// Check limits before the call
const check = await limitry.limits.check({
  customerId: "cust_acme",
  meterId: "llm-tokens",
});

if (check.allowed) {
  const completion = await openai.chat.completions.create({ ... });

  // Record what happened
  await limitry.events.record({
    customerId: "cust_acme",
    eventType: "llm.completion",
    value: completion.usage.total_tokens,
  });
}

Your customers use AI. Can you bill them for it?

One customer burns $400 overnight. Free users consume more than paid ones. You can't track it, limit it, or charge for it.

Everything You Need to Monetize AI

Custom Meters

Define how usage is aggregated. Sum tokens, count requests, track costs — any metric you need.

Usage Limits

Set caps per customer, team, or plan. Enforce limits automatically — no overages.

Prepaid Balances

Let customers buy credits upfront. Track and debit balances atomically with every request.

Billing-Ready API

Pull usage data via API. Feed it to Stripe or any billing system. Accurate invoices, always.

How It Works

1

Check

Before each request, check if the customer is within limits or has balance. One API call.

2

Record

After the request, record usage. We handle metering, limits, and analytics.

3

Bill

Query per-customer usage via API. Feed it into your billing system.

Built For

AI-Powered SaaS

Offer AI features with usage-based pricing. Bill customers fairly.

API Platforms

Meter API calls. Enforce usage limits. Monetize your AI endpoints.

Enterprises

Per-team budgets. Accurate chargebacks. Full visibility.

Turn AI usage into revenue.

Free to start. No credit card required.