At its core, Metronome transforms your customers’ usage into precise, tailored invoices that reflect your unique business model. Let’s start by looking at the end result — an invoice — and break down the building blocks that make it possible.Documentation Index
Fetch the complete documentation index at: https://docs.metronome.com/llms.txt
Use this file to discover all available pages before exploring further.


Quantity: Usage Tracking & Aggregation
In usage-based billing, quantity represents how much your customers actually use your platform. Unlike traditional subscription models with fixed fees, usage-based billing requires accurately measuring customer activity — whether that’s API calls made, data processed, storage consumed, or users onboarded. Metronome’s approach to determining these quantities gives you exceptional flexibility through two key components:- Usage Events capture the raw data about customer activity directly from your platform
- Billable Metrics transform this activity data into meaningful, billable quantities by defining both what to measure (filtering) and how to measure it (aggregation)
Usage Events
Usage events are the raw data about how customers interact with your platform—API calls, storage consumption, user logins, or any measurable interaction. Metronome lets you design your own usage schema around your business needs. Send usage events via our API in the format that makes sense for your operations, without conforming to rigid predefined structures.Billable Metrics
Billable metrics transform raw usage events into meaningful quantities that appear on an invoice. They define how to meter, filter, and aggregate usage into billable units. Define exactly what you want to measure—from simple counts to complex aggregations with custom filters and groupings. One usage event can feed multiple billable metrics, giving you the flexibility to meter anything your customers use.
Strategic Insight: By separating raw usage collection from billable metrics, you can evolve your metering model without changing how you instrument your application. Your engineering team simply instruments your application to send activity data, while your business team configures how to bill for it—all without additional code changes.
Price: Products & Rate Cards
While the quantity side of our equation deals with measuring usage, to configure the price for each metric, you must first define what you’re selling and how much you charge for it. Metronome provides two components designed specifically for these tasks:- Products define what you’re selling to customers
- Rate Cards establish how much you charge for those products
Products
Products define what you actually sell to customers—the individual SKUs that appear as line items on your invoices. Metronome supports multiple product types to accommodate different types of charges, including usage-based, fixed, or subscription charges. This ensures your product catalog represents everything you might charge for, not just usage-based items.
- Customize invoice appearance by determining how quantities are displayed, whether they’re rounded, or how they’re converted
- Organize related SKUs using product tags for easier management and reporting
- Control granularity by presenting charges as either a consolidated lump sum or itemized by specific dimensions
Rate Cards
Rate cards define the default pricing for your usage products across your entire customer base. Each rate includes what to charge per unit for specific start and end dates, enabling scheduled price changes, promotions, or gradual increases/decreases.

Contracts: Encode Your Commercial Model
With quantities measured and prices defined, the final element in our equation is your Commercial Model—how customers actually pay for what they use. This is where Metronome truly differentiates from traditional billing systems. Your commercial model must answer three essential questions:- What has the customer agreed to pay for? (products and rates)
- How have they agreed to pay? (arrears, commitments, credits, subscriptions)
- Where should they be charged? (payment systems and marketplaces)
Contracts
Contracts connect customers to your pricing structure and define their specific commercial arrangement. Unlike rigid plan-based systems, Metronome contracts let you configure each aspect of the commercial relationship:- Base Pricing : Inherit standard rates from your rate cards
- Custom Terms : Apply overrides like percentage discounts or custom per-unit pricing
- Product Access : Enable or disable specific products for different customer segments
- Payment Structure : Configure commitments, credits, or subscription fees
- Billing Cycles : Determine invoice frequency and timing

- Pay-as-you-go : Bill customers in arrears for their actual usage
- Prepaid Credits : Sell credits upfront that draw down with usage
- Subscriptions with Overage : Provide usage allowances with charges for exceeding thresholds
- Enterprise Commitments : Secure minimum spend commitments with discounts
- Hybrid Models : Combine any of these approaches for specific customer segments
- And many more!
Invoice Generation: Bringing It All Together
When it’s time to generate an invoice, Metronome:- Receives usage data from your events for the billing period
- Processes this data through the appropriate billable metrics to calculate quantities
- Applies pricing from the customer’s contract, including any overrides from the base rate card
- Generates an invoice that clearly communicates charges to your customer
- Real-time with usage - Every time usage is sent, Metronome evaluates customer alerts and thresholds to send webhooks if spending limits are reached or credits are depleted
- On-demand via API - Whenever the Metronome APIs are called, powering real-time dashboards in your end-user applications
- At billing cycle close - When a customer invoice is finalized and sent to your system of choice, such as at the end of the month or quarter
