Follow our Launch Week between July 1 - 5
Getting Started

OpenMeter Cloud

Watch how to quickstart with OpenMeter Cloud.

Quickstart In 5 Minutes

A step-by-step guide to get started with OpenMeter Cloud. No credit card is required.

1. Sign up for OpenMeter Cloud

Sign up for OpenMeter Cloud for free and create an account to get started.

Sign Up

2. Create your first meter

Create a meter to track usage events.

Create Meter in Cloud

3. Create an API key

Create an API key to ingest usage events.

Create API Key

4. Send your first usage

Ingest usage events in CloudEvents format:

Replace API Key

Replace <API_KEY> with the API key you created.

curl -X POST \
  -H 'Content-Type: application/cloudevents+json' \
  -H 'Authorization: Bearer <API_KEY>' \
  --data-raw '
  "specversion": "1.0",
  "type": "prompt",
  "id": "00001",
  "time": "2024-01-01T00:00:00.001Z",
  "source": "chat-app",
  "subject": "customer-1",
  "data": {
    "tokens": "123456",
    "model": "gpt4-turbo",
    "type": "output"
Use Unique ID(s)

Ensure that the id field is unique for each event to avoid duplication.

5. Query your meter

Query the meter to see the usage.

Query Meter
Last edited on July 15, 2024