New guide

Refine your pricing strategy with a complete guide to pricing economics for AI agents.

Get the guide
×

Usage metering

Meter what your agents actually do

Send one event per billable action. Clocknext turns it into credits drawn, outcomes billed, and usage you can show a customer.

Usage metering

Every billable action, captured once

A signal is any event worth charging for: an agent run, a tool call, a batch of tokens, a resolved ticket. Define it once, send it from wherever it happens, and it flows into pricing, wallets, and margin without a second pipeline.

Definitions

Decide what counts as billable

Define a signal and what it draws: one credit per agent run, a credit per thousand tokens, a unit per document. Change the rate later without re-instrumenting anything.

Signal definition

Signal

agent.run

Draws

1 credit per run

Used in

4 plans

Active

Ingest

Send events from anywhere in your stack

One endpoint takes events from your backend or straight from your agent framework. Same signal, same result, whichever path it arrives on.

Event

Endpoint

POST /v1/events

Signal

agent.run

Customer

acme

Accuracy

Charge once, even on a retry

Send an idempotency key with each event. A retried call is recognised and rejected rather than billed twice, so a network blip doesn't turn into a refund conversation.

Duplicate check

Idempotency key

run_8f2a

First seen

14:22:05

Billed

Once

Rejected

What metering at the source gives you

One event per billable action, from your code to your customer's invoice.

One definition per billable action

Name the event once and set what each one draws down.

Send it from anywhere in your product

Send the event when the action happens, with a customer ID and an idempotency key.

Priced against each customer's plan

Clocknext matches every signal to the customer's plan and converts it into credits, outcomes, or units.

Usage and cost on the same invoice

Usage rolls up each cycle, with provider cost attributed to the same signal.

Part of a bigger set of primitives

Usage metering is part of a bigger platform designed to make AI billing a breeze.

Bill for what happened, not an estimate

Usage metering ships with Clocknext's other primitives, ready to feed pricing, wallets, and margin.