openmeter

Metering and Billing for AI, API and DevOps. Collect and aggregate millions of usage events in real-time and enable usage-based billing.

What is openmeter?

Metering and Billing for AI, API and DevOps. Collect and aggregate millions of usage events in real-time and enable usage-based billing.

Overview of openmeter

What it is

OpenMeter is open-source monetization infrastructure designed for AI, API, and usage-based products. It ingests high-volume events, aggregates them in real-time, and supports usage-based billing, access enforcement, and invoice lifecycle management. The project is released as beta software and is licensed under Apache 2.0.

Key features

  • Ingest CloudEvents and attribute usage to customers, aggregate in real time, and query by time window or dimension.
  • Model versioned plans, features, add-ons, and flat, recurring, per-unit, tiered, package, or dynamic prices; assign customer subscriptions.
  • Calculate feature access and usage-limit balances for application enforcement, with one-time or recurring entitlement grants.
  • Rate flat and usage-based charges, manage customer credit balances and subscription changes, and run the invoice lifecycle.
  • Provide an OSS REST API and JavaScript, Python, or Go SDKs, send webhooks, and connect external invoicing providers.

Use cases

Products with usage-based or hybrid pricing, prepaid credits, or usage limits that need a single source of truth for consumption. It is not a bundled operator UI, payment processor, tax engine, or general-purpose accounting system. For fixed recurring subscriptions only, a direct payment-provider integration is usually simpler.

Getting started

shgit clone https://github.com/openmeterio/openmeter.gitcd openmeter/quickstartdocker compose up -d --waitAfter starting the stack, send a usage event and query the meter using curl, the TypeScript SDK, or the Python SDK (see the repository README for full examples).

License and pricing

OpenMeter is licensed under the Apache License 2.0. It is open source with no stated pricing.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/openmeterioopenmeter.svg)](https://yunodb.com/tools/openmeterioopenmeter?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/openmeterioopenmeter?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/openmeterioopenmeter.svg" alt="Featured on YunoDB" height="20"></a>