openmeter
Client for OpenMeter: Real-Time and Scalable Usage Metering
Decision gist · record as of 2026-08-14
Yes, if you are already committed to the OpenMeter platform and need a Python client to ingest and query usage data. The low install friction, permissive license, and active maintenance make it straightforward to adopt. However, the preview status and minimal community adoption mean you should treat it as an early-stage tool—verify that OpenMeter's service stability and API roadmap align with your production timeline before relying on it for critical billing workflows.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later; package is in preview mode and uses pre-release versioning (1.0.0b232).
- Low friction installation with a pure-wheel distribution.
- Actively maintained with recent releases; however, the package is in preview mode and the repository shows minimal community engagement (1 star), so stability and long-term support remain unproven.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions—suitable for most production integrations.
last release 2026-08-04 (10 days) · last repo commit 2020-12-25 · 1 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 149,774 downloads/mo, #10,986 on PyPI
Alternatives
Verify before relying
pip install --pre openmeter
from openmeter import Client
from openmeter.models import Event
import datetime, uuid
client = Client(endpoint="https://openmeter.cloud", token="your-api-token")
event = Event(
id=str(uuid.uuid4()),
source="my-app",
specversion="1.0",
type="prompt",
subject="customer-1",
time=datetime.datetime.now(datetime.timezone.utc),
data={"tokens": 100}
)
client.events.ingest_event(event)- Stability and breaking-change policy during preview phase—how frequently does the API surface change between beta releases?
- Production readiness guarantees or SLA commitments from the OpenMeter service itself.
- Performance characteristics under high-volume event ingestion (throughput, latency, retry behavior).
What it is and what it does
OpenMeter Python SDK is a generated HTTP client library for interacting with the OpenMeter usage metering platform. It wraps CloudEvents-based event ingestion and meter query operations into a Python-friendly interface with both synchronous and asynchronous support. The SDK depends on cloudevents, corehttp, isodate, typing-extensions, and urllib3 to handle HTTP communication, date parsing, and type hints.
The package is designed for applications that need to track usage in real time—particularly AI/LLM workloads tracking token consumption—and aggregate that usage into queryable meters for billing or analytics. It provides methods to ingest single events or batches, list and manage meters, and query usage data in JSON or CSV format. Because it is in preview mode and uses pre-release versioning, it is suitable for early adoption and testing but should be evaluated carefully before committing to production workflows.
Use it for
- Track AI token consumption (input/output) per customer for usage-based billing of LLM applications.
- Ingest application events (API calls, resource usage) into OpenMeter for real-time aggregation and reporting.
- Query historical meter data to build usage dashboards or generate billing reports by customer or time period.
- Manage meter definitions and subjects (customers/entities) programmatically as part of a billing system.
- Integrate usage tracking into async Python applications using the aio.Client for non-blocking event submission.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are already committed to the OpenMeter platform and need a Python client to ingest and query usage data.
The low install friction, permissive license, and active maintenance make it straightforward to adopt. However, the preview status and minimal community adoption mean you should treat it as an early-stage tool—verify that OpenMeter's service stability and API roadmap align with your production timeline before relying on it for critical billing workflows.
Install
openmeter on PyPI
Before you install
Low friction installation with a pure-wheel distribution. Actively maintained with recent releases; however, the package is in preview mode and the repository shows minimal community engagement (1 star), so stability and long-term support remain unproven.
Requires Python 3.9 or later; package is in preview mode and uses pre-release versioning (1.0.0b232).
License in practice
Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions—suitable for most production integrations.
Quickstart
pip install --pre openmeter
from openmeter import Client
from openmeter.models import Event
import datetime, uuid
client = Client(endpoint="https://openmeter.cloud", token="your-api-token")
event = Event(
id=str(uuid.uuid4()),
source="my-app",
specversion="1.0",
type="prompt",
subject="customer-1",
time=datetime.datetime.now(datetime.timezone.utc),
data={"tokens": 100}
)
client.events.ingest_event(event)
Verify before relying
- Stability and breaking-change policy during preview phase—how frequently does the API surface change between beta releases?
- Production readiness guarantees or SLA commitments from the OpenMeter service itself.
- Performance characteristics under high-volume event ingestion (throughput, latency, retry behavior).
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release <4.0,>=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagescloudeventscorehttpisodatetyping-extensionsurllib3 |
| Maintenance | Actively maintained 10 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 149,774 / month, #10,986 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9 |
Evidence: openmeter-1.0.0b232-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “usage metering client”
- openmeterOpenMeter Python SDK provides a client library to ingest usage events…
- dlms-cosemA Python library for implementing DLMS/COSEM protocol clients to read…
- pyloudnormMeasures and normalizes audio loudness according to the ITU-R…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also axiom-py · humiolib · pydiscovergy · sonic-client · dlms-cosem · ovoenergy · customerio · p1monitor · signalfx · stigg-sidecar-sdk