Pricing
Pricing configurations define how metered usage translates to charges. They connect meters to monetary values.What is a Pricing?
A pricing configuration specifies:- Which meter to price
- How much to charge per unit
- Optional tiers for volume discounts or overage charges
Pricing Models
Flat Per-Unit
Charge a fixed amount for each unit of usage.- 100 API calls = $10.00
- 1,000 API calls = $100.00
- 10,000 API calls = $1,000.00
Tiered Pricing
Charge different rates based on usage volume. Each tier can have:unitAmount— Per-unit rate within the tierflatAmount— Fixed charge for entering the tierminQty/maxQty— Range of the tier
- First 1,000 @ 100.00
- Next 4,000 @ 320.00
- Total: $420.00
Package Pricing
Sell usage in pre-defined bundles.- 1-1,000 calls = $50.00 (1 package)
- 1,001-2,000 calls = $100.00 (2 packages)
- 5,500 calls = $300.00 (6 packages)
BPS (Basis Points)
Charge a percentage of a transaction value.- 250 BPS = 2.5%
- 250 fee
Pricing Fields
| Field | Required | Description |
|---|---|---|
name | Yes | Human-readable name |
meterId | Yes | ID of the meter this prices |
pricingModel | Yes | TIERED, PACKAGE, or BPS |
unitAmount | Conditional | Per-unit price (minimum $0.01) |
currency | Yes | ISO currency code (e.g., USD) |
pricingTiers | Conditional | Array of tier definitions (for TIERED model) |
packageSize | Conditional | Units per package (for PACKAGE model) |
bps | Conditional | Basis points (for BPS model) |
Minimum Price: All
unitAmount values must be at least $0.01 (1 cent).Included Quantities
Give customers free usage before charges apply:- First 1,000 calls are free
- Calls 1,001+ charged at $0.10 each
- Customer uses 1,500 calls → charged for 500 = $50.00
Dimensional Pricing
Charge different rates based on event attributes like region, tier, or outcome. Instead of one rate for all usage, define a rate card that maps dimension combinations to specific prices.- Regional pricing (US, EU, APAC at different rates)
- Tiered service levels (standard, priority, enterprise)
- Outcome-based billing (resolved vs. escalated support calls)
Pricing vs Plans
Pricing configurations are reusable building blocks. Plans bundle them together. A single meter can have multiple pricing configurations. Different plans select which pricing to use.Design Patterns
Good Pricing Design
Start simple, add tiers later
Start simple, add tiers later
Begin with flat per-unit pricing. Add volume tiers when customers ask for
discounts.
Use clear tier boundaries
Use clear tier boundaries
1,000 / 10,000 / 100,000 are easier to understand than 1,247 / 8,543 /
92,100.
Include free tier for activation
Include free tier for activation
A small included quantity reduces friction and lets customers try your
product.
Common Patterns
| Pattern | Implementation |
|---|---|
| Freemium | includedQuantity: 100 with no base fee |
| Volume discount | Tiered pricing with decreasing unitAmount |
| Committed use | Package pricing with bulk discount |
| Platform fee | BPS pricing on transaction value |
Next Steps
How Usage-Based Billing Works
See how pricing fits into the full billing flow
Dimensional Pricing
Different rates by event attributes
Pricing API
API reference
Plans
Bundle pricing into plans
Meters
What pricing measures