Commet
Usage MetricsSeatsPaymentsPricingDocumentation
GitHubLinkedIn

Track usage events with precision and flexibility.

Real-time event ingestion with idempotency guarantees. Track API calls, transactions, compute usage, and any consumption metric. Automatic aggregation with configurable late event policies and complete audit trails for accurate billing.

Learn about Usage-Based Pricing
Demo CarouselDemo Carousel

Event Ingestion

Real-time event ingestion with automatic idempotency. Track API calls, transactions, compute hours, and any consumption metric with customerEventId deduplication.

Metric Aggregation

Configure COUNT, SUM, and UNIQUE aggregations with custom filters. Automatic period-based calculations with customer timezone awareness.

Late Event Handling

Configurable policies for events arriving after billing cutoff. Choose next period, current period, or ignore based on your business needs.

Usage-Based Pricing

Support per-unit, tiered (volume/graduated), and package-based pricing models. Automatic overage calculation with included units and minimums.

Complete Audit Trail

Every invoice line traceable to source events with timestamps. Full transparency from event ingestion to invoice generation for compliance.

SDK Integration

Simple TypeScript SDK for event tracking. One-line integration with automatic retries, batching, and error handling built-in.

Metric Aggregation Types

COUNT

Event Count
api_calls: 45,230

Count total number of events. Perfect for API calls, requests, or any countable action.

SUM

Aggregated Value
compute_hours: 1,240.5

Sum numeric values from events. Ideal for compute hours, storage GB, or transaction amounts.

UNIQUE

Distinct Count
active_users: 3,450

Count unique values. Perfect for MAU, unique API consumers, or distinct resources accessed.

Use Cases

API Platform Billing

Track API requests, successful calls, and error rates per customer

Bill customers accurately based on API consumption with tiered pricing. Track requests by endpoint, method, and response status for complete transparency.

Cloud Infrastructure

Monitor compute hours, storage usage, and bandwidth consumption

Aggregate resource usage across multiple services and regions. Support complex pricing with minimums, included units, and overage charges.

Payment Processing

Count transactions and sum payment volumes with percentage fees

Track transaction counts and volumes separately. Apply per-transaction fees plus percentage-based charges with configurable minimums and maximums.

SaaS Analytics

Measure MAU, feature usage, and data processing volumes

Use UNIQUE aggregation for monthly active users, COUNT for feature usage, and SUM for data processing. Complete flexibility for any SaaS metric.

Commet

We’re the simplest all-in-one billing tool. We want you to never think about processing global payments again, only about receiving them and helping them grow.

© 2025 Commet. All rights reserved.