Skip to main content

Get started in few steps

Step 1: Usage Event Schema

Configure usage event templates based on your business data format to define how the system parses the raw usage data you send. Customizable fields and attributes, such as model, request_type, tokens, region, etc., provide the data foundation for complex pricing models.

Step 2: Billable Metrics

Based on the usage event template, define core metrics that can be used for billing, such as:
  • Total Token Consumption
  • Number of Calls for a Specific Model
  • Usage Aggregated by Region or Time Period
In this step, raw data is filtered, aggregated, and transformed, converting business events into standardized billing metrics.Your preview updates automatically as you edit files.

Step 3: Billing Plan

Combine one or more charge items into a complete pricing plan, for example:
  • Token-based Pricing
  • Subscription Fee
  • Prepayment and Minimum Commitment
And configure the billing cycle, billing date, currency, and discount strategy to match different customer contracts and product plans.

Step 4: Customer Account

Create a separate account for each customer in the system to manage:
  • Contract Lifecycle
  • Usage Event
  • Invoice
  • Payment Method and Balance
Support enterprise-level customer hierarchies and multiple subscription structures.

Step 5: Contract Activation

Assign the configured pricing plan to the customer account to activate the contract. Once active, the system automatically starts metering and billing according to the plan rules.

Step 6: Usage Ingestion

Continuously send customer usage data to EasyBilling via APIs or batch interfaces in real time. Based on billing metrics and pricing rules, the system performs real-time or near real-time rating and billing, while synchronously updating usage and balance status.

Step 7: Invoicing

The system automatically generates invoices based on billing cycles or real-time rules:
  • Prepaid model: charges are deducted from the balance in real time.
  • Postpaid model: invoices are generated after the billing period ends.
Supports billing details, usage visualization, and invoice generation, making it easier for customers to verify and for finance teams to reconcile.

Step 8: Payment & Reconciliation

Automatically handle payments, refunds, and retries with integrated payment gateways, while updating payment status in real time. Billing, collection, and financial data remain consistent, providing a reliable foundation for revenue recognition and reconciliation.

One system that integrates billing, payments, and compliance

Through the above process, EasyBilling helps businesses achieve:
Usage Collection → Pricing & Billing → Invoice Generation → Global Payments → Financial Reconciliation A fully automated closed-loop.
Enable AI teams to have global commercialization capabilities without the need to build complex systems in-house.