Meterwise

Billing for AI agents

Bill your agents by outcome, and know your margin on every customer.

Send usage and outcome events from your agent code. Meterwise attributes them to your customers, prices them, adds up the AI cost behind each one, drafts the invoices in Stripe and tells you where you lose money.

Get started How it works

Acme Support
Resolved tickets: 1,240
Revenue: €1,860
AI cost: €412
Margin: 77.9%

How it works

1

Connect and define

Connect Stripe, invite finance and engineering, define products, units, tiers, included quantity and minimum commitment.

2

Send events

Your agent code posts usage and outcome events with the customer, model, tokens and tool calls.

3

Charges and invoices

Every event is priced and its AI cost computed; monthly invoices are drafted in Stripe.

4

Margins and approvals

An agent explains margin by customer and agent and proposes price changes that finance approves.

Send events

POST JSON to /api/hooks/usage_events with the app's hook secret:

{"event_id":"evt_123","customer":"acme","agent":"support","unit":"resolved_ticket","quantity":1,"outcome":"resolved","model":"claude-sonnet-5-5","tokens_in":5200,"tokens_out":800,"tool_calls":3,"timestamp":"2026-11-12"}

Events with the same event_id are never counted twice.

For everyone in the company

Finance

Revenue, cost and margin dashboards, invoices, price approvals.

Engineering

Event feed, cost rates per model, alerts on spikes.

Your customers

A portal with the value delivered and their usage.

Meterwise is decision support for pricing; amounts are computed from your own price models and cost rates. Check invoices before sending.