What Meter is
Meter predicts inference costs before they happen, enforces budgets per feature, and autonomously tops up provider credits — so you don't have to worry about running out at 3am.
How to use it
Scroll through the process. The code updates in real-time on the right. No mocks, no illustrations. Install takes about a minute.
Your app normally talks straight to api.openai.com. Point it at Meter instead. Now every request arrives at our door — we look at it, price it, write it down, and forward it on. Anthropic works the same way.
When a limit is hit, the refusal names the exact scope in X-Meter-Budget-Scope, so a developer reading a 429 knows which line to raise. Two ways in, one place it lands.
Meter cannot know whether a support ticket was resolved — so you tell it. Post an outcome against a trace_id and every call in that trace rolls up behind it. The ledger stops being a cost report and starts being a margin report.
# the only line that changes OPENAI_BASE_URL=https://meter.acme.dev/v1 OPENAI_API_KEY=mtr_platformeng_e7c9a1b2 ANTHROPIC_BASE_URL=https://meter.acme.dev/v1 ANTHROPIC_API_KEY=mtr_platformeng_e7c9a1b2
projects: - id: acme-app ceiling_usd_day: 200 features: - id: summarize ceiling_usd_day: 50 - id: chat ceiling_usd_day: 120
# one resolved ticket, a dozen AI calls, one number curl -X POST https://meter.acme.dev/v1/annotate \ -H "Authorization: Bearer mtr_platformeng_e7c9a1b2" \ -d '{"trace_id":"tkt_9812","outcome":"resolved","value_usd":40}' # -> {"cost_usd": 0.184, "request_count": 12, "margin_usd": 39.816}
Meter is live for select teams. Point your first request at us today and see exactly where the money goes.
Open dashboard →