TiloBox
Back to directory
LicenseApache-2.0
GitHub stars2.8k
Last commit1 weeks ago
Tags6 topics
ClickhouseToken TrackingSaasMeteringGolangAi Billing
Overview

Why consider OpenMeter?

OpenMeter is an open-source, real-time usage metering system written in Go and backed by ClickHouse. It processes millions of events per second to track AI token usage and API calls for accurate billing.

Guided learning

Learn OpenMeter by building

Practical setup notes, real use cases, and copy-ready examples in one focused guide.

1 min read 3 sections
In this guide3 sections

Overview of OpenMeter

OpenMeter is built for developer platforms and AI companies charging for token consumption, compute hours, or API requests. Powered by Apache Kafka and ClickHouse, it records events in real-time, calculates running balances, and syncs totals with Stripe Invoicing.

Deploying OpenMeter

bash
1git clone https://github.com/openmeterio/openmeter.git
2cd openmeter
3docker compose up -d

Access the OpenMeter API and web playground on http://localhost:8888.

Ingesting Events with CloudEvents

bash
1curl -X POST http://localhost:8888/api/v1/events \
2 -H "Content-Type: application/cloudevents+json" \
3 -d '{
4 "specversion": "1.0",
5 "id": "event-1",
6 "source": "ai-gateway",
7 "type": "tokens",
8 "subject": "customer-123",
9 "time": "2026-08-24T12:00:00Z",
10 "data": { "prompt_tokens": 150, "completion_tokens": 300 }
11 }'

OpenMeter is distributed under the Apache License Version 2.0.

Related tools

More options with a similar category or technology profile.

OpenMeter FAQs

OpenMeter is listed as a Developer Tools tool on TiloBox. Review the overview, features, and official documentation on this page to decide whether it solves your specific workflow.

Start with the project's GitHub repository and official website for supported installation and deployment instructions. Test the setup with representative data or a small project before rolling it out more widely.

OpenMeter is listed under the Apache-2.0 license. Read the complete license text and the project's notices before using, modifying, or distributing the software.

Production readiness depends on your requirements. Review maintenance activity, security practices, documentation, backup and upgrade procedures, and compatibility with your stack; then validate it in a non-production environment.

OpenMeter is listed as an alternative to Stripe Billing. Compare the core workflow, deployment model, integrations, and licensing against your must-have requirements before switching.