Blog
/
Guides

Stripe Usage-Based Billing: Setup, Pros, and Limits

Stripe usage-based billing explained, including Metronome vs basic billing, setup steps, fees, pros, limits, & the entitlements layer that enforces usage.

Sara NelissenSara Nelissen
Written by
Sara Nelissen
Last updated
July 10, 2026
read time
11
minutes
Stripe Usage-Based Billing: Setup, Pros, and Limits

Table of contents

A voice agent product sends one Stripe meter event for every call minute. A customer on a 1,000-minute plan passes minute 1,000, and the calls keep connecting because nothing in the request path tells the agent to stop.

Stripe usage-based billing counts that consumption and turns it into an invoice. Enforcement of plan limits sits in a separate layer that your application owns.

You will get the two ways Stripe handles usage today, a setup walkthrough for native meters, the pros and limits, Stripe’s fees, and where an entitlements layer fits beside Stripe.

How Stripe usage-based billing works

Usage-based billing charges customers for measured consumption, such as tokens, calls, or minutes, and totals it at the end of the billing period. Our usage-based billing guide covers the pricing models in depth.

Stripe offers 2 usage-based billing paths. Metronome is Stripe’s primary platform for usage-based billing, and the docs recommend it for all new integrations.

Metronome handles metering, rating, and billing, while Stripe handles payment collection, tax calculation, and revenue recognition.

Basic usage-based billing, built on the Meters API, stays supported for existing integrations. It fits pay-as-you-go pricing, and it suits businesses that need full Connect, Checkout, Adaptive Pricing, or Workflows support.

The table compares the 2 paths on the points that decide the choice:

ㅤ Basic usage-based billing Metronome
Best for Existing Billing Meters integrations and pay-as-you-go pricing New integrations, prepaid credits, enterprise contracts, and high-volume events
Usage visibility Reconciled at invoice time Real-time usage tracking
Credit burndown Reconciled at invoice time, so a customer can pass a balance mid-cycle Real-time credit burndown
Stripe product support Full support for Connect, Checkout, Adaptive Pricing, and Workflows Limited Checkout support, and no support listed for the other 3

The comparison page in Stripe’s docs lists prepaid credits, enterprise contracts with commits, ramp schedules, and real-time usage visibility as reasons to move to Metronome.

How to set up Stripe usage-based billing with native meters

Native meters follow a fixed object chain, and each of the five steps below includes an API sketch.

Step 1: Create a meter

The meter holds the event name Stripe listens for and the formula that aggregates values. Meters are immutable apart from the display name, and an event name maps to one meter.

The formula can be sum (add up every value), count (count the events), or last (keep the most recent value in the period).

bash

curl https://api.stripe.com/v1/billing/meters \

  -u "sk_test_...:" \

  -d display_name="Call minutes" \

  -d event_name=call_minutes \

  -d "default_aggregation[formula]=sum"

Step 2: Create a product and a metered price

The product is the line item customers see on the invoice. The metered price links that product to the meter, so Stripe multiplies aggregated usage by the unit amount.

The example below charges a flat amount per unit, but a metered price can also be tiered, where the per-unit rate changes as usage climbs. Graduated tiers price each band at its own rate, while volume tiers price every unit at the rate of the tier the total lands in.

bash

curl https://api.stripe.com/v1/products \

  -u "sk_test_...:" \

  -d name="Voice agent minutes"

‍

curl https://api.stripe.com/v1/prices \

  -u "sk_test_...:" \

  -d product=prod_123 \

  -d currency=usd \

  -d unit_amount=7 \

  -d "recurring[interval]=month" \

  -d "recurring[usage_type]=metered" \

  -d "recurring[meter]=mtr_123"

Step 3: Create a customer and a subscription

The subscription attaches the metered price to the customer, and billing starts from there.

bash

curl https://api.stripe.com/v1/customers \

  -u "sk_test_...:" \

  -d name="Acme Voice"

‍

curl https://api.stripe.com/v1/subscriptions \

  -u "sk_test_...:" \

  -d customer=cus_123 \

  -d "items[0][price]=price_123"

Step 4: Send meter events

Each event carries the event name, a numeric value, and the Stripe customer ID in the payload, as the meter events API describes.

The identifier field gives each event a stable ID, and Stripe rejects duplicates within a rolling window of at least 24 hours, so a retry doesn’t double count.

bash

curl https://api.stripe.com/v1/billing/meter_events \

  -u "sk_test_...:" \

  -d event_name=call_minutes \

  -d "payload[value]=25" \

  -d "payload[stripe_customer_id]=cus_123" \

  -d identifier=call_8841

Step 5: Watch for meter errors

Stripe’s meter event processing is asynchronous, so upcoming invoices can lag behind recent events. Invalid events trigger an error report event, and your webhook handler should record each one.

Pros of Stripe usage-based billing

Stripe usage-based billing is the right fit when invoicing and payment collection are the problems to solve. The strengths come from the platform around the meters:

  • Fast launch: Checkout, Payment Links, and the customer portal ship ready to use with Billing.
  • Payments, tax, and revenue recognition in one place: Stripe handles collection, tax calculation, and revenue recognition beside the invoice.
  • Included meters: basic usage-based billing comes with Billing pricing, with up to 100M events per month included.
  • Collection tooling: automatic reminders and Smart Retries for failed payments.

Stripe covers the invoice and the payment end-to-end. The limits start inside your product.

What are Stripe Billing usage fees?

Stripe Billing usage fees depend on the plan and the usage path. The Billing pricing page lists the current rates:

  • Pay as you go: 0.7% of Billing volume, with no recurring fee.
  • Basic usage-based billing: included in Billing pricing, with up to 100M events per month.
  • Metronome: listed on Metronome’s own pricing page, with custom plans through its sales team.
  • Card payments: 2.9% + 30¢ per successful card charge, billed under Stripe Payments.

Disclaimer: Prices are subject to change without notice. Always visit the official company websites for the most up-to-date pricing information.

Limits of Stripe usage-based billing

Stripe’s usage docs cover metering, rating, invoicing, payments, and tax. Feature access and limit enforcement inside your product stay in your application code.

Take a Pro plan with 10 agents and 1,000 voice minutes a month. Stripe knows the customer bought Pro, and your code decides whether agent 11 starts and whether minute 1,001 connects.

Basic usage-based billing reconciles usage at invoice time, so a live usage display or a credit balance check needs its own data source. These three jobs stay with your application:

  • Controlling which features each plan includes
  • Enforcing usage limits in real time inside the product
  • Modeling the catalog of plans, features, and limits

An entitlements layer exists to own those 3 jobs.

The common engineering pattern and where it breaks

The default pattern resolves a customer’s plan from Stripe, maps it to feature flags and usage limits in code, and gates access in the API handlers. It works while the catalog stays small and pricing holds steady.

Coupling shows up as the catalog grows:

  • Custom enterprise plans stop fitting the plan structure
  • New tiers add conditionals across services
  • Usage limits end up hardcoded in API handlers
  • A single pricing change touches billing config, application logic, and access control

Adding 1 usage limit to an existing Pro plan means editing the Stripe product, changing the code that reads limits, deploying every service that checks them, and updating the UI.

The sync work your application owns

Stripe sends and receives data, and your code keeps both sides consistent. These jobs are on your side:

  • Meter event retries: Idempotency keys on every write keep a retry from double-counting usage.
  • Meter error reports: Stripe emits an error report event when a meter receives invalid usage, and your handler has to catch it.
  • Subscription webhooks: Plan changes, renewals, and cancellations arrive as webhooks, and your handler has to process repeats and out-of-order delivery. We wrote up best practices for Stripe webhooks from our own integration.
  • Live usage and credit balance: The Stripe-hosted customer portal manages billing details, so in-product usage meters and credit burn-down come from your own system.

Our breakdown of usage metering architecture and pipelines covers how to build that event path.

The missing layer: Entitlements

Entitlements are commercial allowances for feature access, set by the plan a customer subscribed to, with measurement and consumption limits attached. A free plan gets a fixed monthly allowance, and a paid plan gets a higher cap or none.

RBAC decides who may act, and entitlements decide how much of a feature the plan allows.

The entitlements layer sits between your application and your billing system. On every request, it answers the question: does this customer have access to this feature, and how much has the customer used?

An entitlement resolves from the active plan, the parent plan, add-ons, trials, and promotional overrides. The most generous value wins when sources conflict.

A check returns access status, a machine-readable reason when access is denied, the usage limit, current usage, and an unlimited flag.

Stigg is the usage runtime for AI products. We enforce entitlements, credits, usage limits, and spend governance synchronously in the request path. Stripe handles payments, while we handle what’s allowed.

How our entitlements layer works with Stripe

Our layer manages the product catalog and entitlements inside your application, and Stripe manages billing and payments. Our Stripe integration walkthrough covers the full model.

Layer Responsibility
Application Checks feature access through our SDK
Our entitlements layer Product catalog, entitlements, usage metering, feature gating
Stripe Invoicing, payment processing, taxes, compliance

Your application asks our layer whether a customer may use a feature, and the layer evaluates the plan, limits, and current usage. Stripe does not enter the request path.

Our layer acts as the source of truth for pricing configuration. The flow looks like this:

  1. Define plans, features, and usage limits in our catalog
  2. Our layer syncs pricing objects to Stripe
  3. Stripe handles checkout, invoices, and payments
  4. Your application checks feature access through our SDK

We send usage data to Stripe at invoice generation for pay-as-you-go subscriptions.

Our layer Stripe
Plan Product
Add-on Product
Coupon Coupon
Customer Customer
Subscription Subscription
Feature No equivalent

The feature row is the key difference. Stripe models products, prices, and subscriptions, and has no concept of a product feature or how much of it a customer can use.

We connect through a Stripe app install and push catalog, customer, subscription, and usage changes to Stripe, and subscriptions cancelled in Stripe are cancelled in our layer too.

We support multiple billing providers at the same time, which simplifies a Zuora to Stripe migration. The choice between basic meters and Metronome changes the invoice path and leaves enforcement in the same place.

How Stigg’s Sidecar enforces limits in the request path

Our Sidecar is a Docker container that runs alongside your application and serves entitlement checks from an in-memory cache.

Cache hits resolve in single-digit milliseconds, and Redis is optional when cached entitlements need to survive restarts or be shared across instances.

The Sidecar fetches from our Edge API at around 100ms on a cache miss, with a network timeout of 10 seconds by default, which you can configure, so upstream latency cannot cascade into your app.

The local cache keeps checks running during an outage on our side, and on a timeout the Sidecar returns the defaults you configured instead of hanging or retrying.

BYOC extends the same runtime into your own VPC if you have data-residency requirements.

Should you use Stripe alone or with an entitlements layer?

Coupling entitlements to Stripe subscription objects is a valid answer for a single-product company with a handful of plans. A few tables and a middleware layer carry it.

The pattern stops working at specific points:

  • Atomic debits and idempotency when a retry hits the same balance twice
  • Cache invalidation across instances
  • Fallback behavior when the enforcement path is slow or down
  • Concurrent sessions drawing from the same wallet
  • Mid-cycle upgrades, downgrades, and grandfathered plan versions

Miro hit this list when it launched AI features. Free users get a monthly allowance of AI credits, paid users get more per seat, and every balance has to be tracked, enforced, and reset automatically.

Miro shipped that credit-based AI pricing on our runtime in under 6 weeks, and now ships pricing and packaging changes 6x faster. 

Webflow runs our runtime alongside Stripe. Webflow first estimated 3 engineers for 6 months to build a bare-bones version in-house, and later said it would have been closer to 5 full-time engineers for 6 months.

Before Stigg, Webflow’s team had to turn down about 80% of the pricing requests that came to it.

Scenario Stripe alone Stripe with an entitlements layer
Pricing model Simple and stable Complex or evolving
Feature access Minimal gating Multiple plans with feature limits
Pricing changes Rare updates Frequent changes or experiments
Usage-based pricing Metered invoicing Real-time enforcement in the product
Credit systems Not required AI credits or token balances
Billing provider Fixed Swappable later

We built the runtime so you can adopt the credits engine, entitlements, or metering on their own. Startups can begin with a single SDK integration.

It keeps working for large companies with complex billing setups and high event volume, and it runs alongside Stripe, Zuora, and other billing systems.

Packaging changes move through configuration with no code, and structural pricing model changes involve engineering. Node.js apps use the Node SDK in-process and skip the Sidecar.

Add the enforcement layer beside Stripe

Entitlements that eat sprint capacity belong in their own layer beside Stripe. The architecture is a Sidecar or Node SDK beside your app, an in-memory cache for reads, with optional Redis persistence, and the Edge API as the fallback path.

Here is what you get:

  • One platform with any starting point: start with metering, credits, or entitlements and add the rest on the same runtime as you grow.
  • Node.js note: Node.js apps skip the Sidecar, because the Node SDK provides the same low-latency checks in-process.
  • AI-native tooling: an MCP server, a CLI, and agent skills.
  • Sidecar with in-memory caching: cache hits resolve in single-digit milliseconds.
  • Credits engine: blocks with expiry and cost basis, paid and promotional categories, configurable burn order, and an append-only ledger.
  • Billing integrations: Stripe, Zuora, and custom systems keep invoicing while we enforce access.

Every packaging change that waits on a deploy pulls your engineers off real work.

The Stigg docs show how the Sidecar, the Node SDK, and the Stripe integration move those changes into configuration, so the next plan update ships without touching a handler.

To map this onto your own Stripe setup, talk to a human on our engineering team. We’ll walk through where entitlement checks sit in your request path and what moves out of your webhook handlers.

FAQs

1. Should you use Stripe for usage-based billing?

Yes, Stripe usage-based billing works well for invoicing consumption, collecting payment, and handling tax, though it does not enforce plan limits inside your product.

Stripe recommends Metronome for all new integrations and keeps basic usage-based billing for existing ones.

2. What are Stripe Billing usage fees?

Stripe Billing usage fees are 0.7% of Billing volume on the pay-as-you-go plan, and basic usage-based billing includes up to 100M events per month. Metronome lists its own rates, with custom plans through sales, and card payments carry separate Payments fees.

3. Does Stripe usage-based billing enforce usage limits?

No, Stripe usage-based billing does not enforce usage limits inside your product. Stripe’s docs cover metering, invoicing, usage alerts, and billing thresholds, so your application owns feature access and limit checks. An entitlements layer answers each request before compute runs.

4. Does an entitlements layer replace Stripe?

No, an entitlements layer does not replace Stripe. Stripe keeps invoicing, payments, and tax, while Stigg’s entitlements layer manages feature access, usage limits, and pricing configuration through the Stripe app integration.

5. Does an entitlements layer add latency to Stripe usage-based billing?

Yes, an entitlements layer adds a check to the request path, but the Sidecar keeps that check local.

Cache hits resolve in single-digit milliseconds from the in-memory cache, and cache misses fetch from the Edge API at around 100ms with a configurable timeout.

Latest news.

One email per month.
From engineers, for engineers.

Thank you! Your submission has been received.
Oops! Something went wrong while submitting the form.