Plan Structure
Every plan requires a product ID to associate it with a product, a name for internal identification (e.g., “Enterprise Q4 2024”), and an invoice display name that customers see on their invoices. You also set a billing interval (monthly or yearly), a currency that must match your account’s currency, and the prices — a list of price objects for the product’s metrics. Finally, the billing version controls which billing model the plan uses. It defaults to1 (Standard Billing). Set it to 0 only for Legacy Billing integrations. See Billing Version below.
Billing Version
Plans have two billing models controlled by thebillingVersion field:
- Standard Billing (
billingVersion: 1) — The default and recommended model. Required for features, metered entitlements, and Invoice 0 payment gating. Supportsin_advanceandin_arrearspayment terms. - Legacy Billing (
billingVersion: 0) — For existing integrations only. Also supports theinstantpayment term.
billingVersion defaults to Standard Billing.
Billing Cadence
Plans use an ISO 8601 duration string for thebillingCadence field:
| Value | Period |
|---|---|
P1M | Monthly |
P3M | Quarterly |
P1Y | Yearly |
billingInterval deprecationThe older billingInterval string field ("monthly", "quarterly", "yearly") is deprecated. It is still returned in plan responses for backwards compatibility, but billingCadence is the source of truth. When creating or updating plans, prefer billingCadence. See the migration guide for the full mapping.Common Strategies
Tiered Offerings
Create multiple plans for market segmentation. A Hobbyist plan offers low per-unit costs with usage caps and community support. A Professional plan improves the rates and limits with email support. An Enterprise plan adds volume discounts, unlimited usage options, and dedicated support. Each tier should offer clear value over the previous one.Customer-Specific Plans
For sales-led businesses, create custom plans per deal — “Acme Corp - Annual 2024”, “TechCo - Q1 Pilot”, “StartupX - Special Terms”. Each plan reflects negotiated pricing and can be tailored to the customer’s specific usage patterns.Freemium Model
Combine free and paid tiers. A free plan sets zero cost for base metrics with hard usage limits, prompting upgrades when customers hit those limits. Paid plans introduce graduated pricing, additional features, and no hard caps.Examples
LLM Platform
A Developer Plan (monthly) charges 0.006/1K output tokens, rate-limited to 100 req/min. The Scale Plan (monthly) halves those token prices, raises the rate limit to 1,000 req/min, and adds fine-tuning at $5/hour. An Enterprise Plan (annual) offers custom token pricing, unlimited rate limits, priority GPU access, and SLA guarantees.Data Warehouse
An On-Demand Plan (monthly) charges 0.05/query-second for compute with no minimums. A Reserved Plan (annual) drops storage to $0.015/GB-month and offers pre-purchased compute blocks at a 40% discount, with a minimum commitment required.Best Practices
Clear naming. Use descriptive names that indicate target customer and terms. Logical progression. Each tier should offer clear value over the previous. Predictable costs. Help customers estimate their bills easily. Room to grow. Always have an upgrade path available.Next Steps
- Billing Versions — understand billing model capabilities and constraints
- Define prices — configure pricing models and payment terms
- Create subscriptions — connect customers to plans
- Meter Events — report usage for Standard Billing metered prices