OpenMeter - Open Source Usage Metering for Engineers

OpenMeter

OpenMeter - Open Source Usage Metering for Engineers

Discover OpenMeter, the open-source metering tool for developers, enabling usage-based billing and real-time customer dashboards.

Connect on Social Media
Access Platform

OpenMeter - Open Source Usage Metering for Engineers

Introduction

OpenMeter is a powerful open-source metering and billing tool designed specifically for developers. It allows you to collect and aggregate millions of events instantly, enabling you to turn any events, logs, and metrics into revenue. With seamless integration with LLMs and cloud infrastructure components, OpenMeter provides SDKs for popular programming languages like Node.js, Python, and Go.

Key Features

1. Usage-Based Billing

OpenMeter empowers product and revenue teams by providing usage-based billing solutions that work with your existing infrastructure. You can bill from any events, metrics, and logs, making it a flexible solution for developers.

2. Real-Time Customer Dashboards

Create real-time consumer dashboards using embeddable components and React hooks. This feature allows your customers to monitor their usage and manage their spending effectively.

3. Balances, Credits, and Quotas

Track customer balances and credits to enforce usage limits and entitlements. You can grant one-time and recurring credits to your customers, ensuring they stay within their budget.

4. Low Latency Limit Enforcement

Protect your margins from expensive overages with low latency limit enforcement. This feature offers usage gating on the edge, ensuring that your API usage remains within desired limits.

5. Scalable Metering

OpenMeter is designed for scalability, allowing you to meter millions of events per second. With a self-service signup and free forever plans, you can get started without a credit card.

Getting Started

To get started with OpenMeter, you can follow the quickstart guide that provides SDKs for TypeScript, Python, Go, and cURL. Here’s a simple example of how to measure OpenAI/ChatGPT token usage:

import { OpenMeter } from '@openmeter/sdk';
const openmeter = new OpenMeter({ baseUrl: 'http://localhost:8888' });

// Measure OpenAI / ChatGPT token usage
await openmeter.events.ingest({
  id: 'e59cac1f-dd52-43a2-bc4f-36cd3c09a39c',
  type: 'tokens',
  subject: 'user-id',
  data: { tokens: 15, model: 'gpt-4' },
});

Real-Time Usage Query

To retrieve token usage data, you can use the following code snippet:

// Retrieve token usage
const values = await openmeter.meters.query(
  'token-usage',
  { subject: ['user-id'], from: new Date('2021-01-01'), to: new Date('2021-01-02') }
);

Pricing

OpenMeter offers a free forever plan with no credit card required. This allows developers to explore the platform and its capabilities without any financial commitment.

Customer Support

OpenMeter provides professional support to help you onboard quickly and maximize value. Whether you need technical onboarding or custom integrations, their team is ready to assist you.

What Users Are Saying

Nate Smith, Founding CTO of LEVER, states, "AI products need usage metering from the start. OpenMeter takes the pain out of scalable billing." Smruti Patel from APOLLO GRAPHQL adds, "OpenMeter seamlessly solves the multi-disciplinary problem of consumption-based SaaS revenue modeling."

Conclusion

OpenMeter is an essential tool for developers looking to implement usage-based billing effectively. With its powerful features and user-friendly interface, it simplifies the metering process and helps you maximize revenue.

Call to Action

Ready to start metering today? Get started with OpenMeter for free!


Note: Pricing information is time-sensitive; please check the official website for the latest updates.