Know who spent it,
and whether it paid.

Two lines of code price every AI call and tag it to a customer and feature. Connect provider billing and every day is checked against the invoice, with any gap shown.

Free up to 1M events a month. No card. No proxy required.

Sample stream 0 tokens $0.0000
Token Meter Overview: AI spend $26,395.17 this month, requests, tokens in, tokens out, input cached and coding agents, each with its trendToken Meter Overview: AI spend $26,395.17 this month, requests, tokens in, tokens out, input cached and coding agents, each with its trend
Bill, each source counted once
Improvements, with a saving
Invoice check, a gap found

Your calls still go straight to the provider, on your own keys. Token Meter reads the usage that comes back. Provider docs →

  • OpenAI
  • Anthropic
  • Google Gemini
  • Amazon Bedrock
  • Azure OpenAI
  • Vercel AI Gateway
  • OpenRouter
  • Mistral
  • xAI
  • Fireworks
  • Together AI
  • DeepInfra
The problem

Three AI bills.
No total.

Calls your product makes. Seats your team sits in. Invoices that land a month later. Here they are on one page, each counted once.

o1 is 87.3% of this month's billed spendAnalytics, Spend · Demo data
Seats your team sits in

Claude Code, Cursor, Copilot and Codex, each billed its own way. Engineering has 21 seats, 2 dormant.

$26,395.17 billed and tracked, each source on its own lineAnalytics, Bill · Demo data
Invoices that land a month later
OpenAI$17,743.50Matched
Anthropic$611.32 apartFlagged

Each day of metered spend is set against what the provider billed.

It comes from two directions, and it has to add up.

01 Inside “Who on my team is using what?”

What your team's AI tools
are really doing.

Claude Code, Cursor, Codex and Copilot. By person, by repository, by pull request. Coding agents docs →

How it gets hereVendor analyticsOpenTelemetryGitHubJiraSign-in and network logsDemo data
02 Outside “What does Nimbus cost me?”

Which customers
lose you money.

Follow one call from your app. It gets a price, an owner and a place in that customer's month. Customers docs →

RequestsDemo data
Requestsreq_7f3a91
OpenAIgpt-4o1,204 in312 out$0.006130
1,204 × $2.50 per 1M + 312 × $10.00 per 1M
customerNimbus Logisticsfeatureticket-classificationteamplatform-eng
CustomersNimbus Logistics, this month
Requests7,938
Cost to serve$4,986.04
Margin−$1,640.12 to −$1,490.17
Cost against revenueLosing money
Customers: revenue against cost to serve for every customerCustomers: revenue against cost to serve for every customer
Every customer, revenue against cost to serve. Where coverage has a gap, margin is shown as a range. Demo data
03 Check “Can I trust this number?”

Checked against the invoice,
every day.

Connect provider billing once. Every day is checked against the invoice, and a gap over 2% is flagged.

Analytics, Bill, by providerAnalytics, Bill, by provider
Analytics, Bill, by providerDemo data
ConfirmedMatches the invoice.
FlaggedMore than 2% apart.
InferredAn estimate until the invoice lands.
AI bill docs →
04 Control “Can we stop a runaway loop?”

Set the rules once.
The router enforces them.

Send your API calls through one endpoint. It picks a cheaper model where one is enough, uses a backup when a provider fails, and stops a call that breaks your rules before the provider sees it. Budgets warn you by email or Slack.

Asked forAnswered byWhy
o1→gpt-4oTask typeRerouted.
gpt-4o→gpt-4oAnswer reused from cacheCached.
claude-sonnet-4-5→claude-sonnet-4-5Model was named in the requestAnswered.
gpt-4o→claude-sonnet-4-5Backup model usedAnswered.

Router.

One endpoint for your API calls, with fallbacks and caching. Each request shows the model you asked for, the model that answered and why. Router docs →

Free runs on your own provider keys, for the model you name. Paid plans add auto routing, with $25 a month of model spend included.Caching is off until you turn it on.

Router: the model asked for, and the one that answeredRouter: the model asked for, and the one that answered
RouterDemo data
req_9c21e4team Stagingo1
Blocked by No reasoning models in staging: o1 is a blocked model in staging. OpenAI never saw the request.

Rules. Allowed models, blocked models and a cost ceiling per request, set by team or environment. A routed call that breaks a rule stops before it reaches the provider.

Budget, Staging and dev sandboxes$3,714.04 of $3,790
Near cap, 98%$75.96 left
A runaway loop caughtCritical

Budgets and alerts.
A monthly cap for the workspace, a team, a customer or an environment. Email or Slack when spend nears it. A workspace cap can also be enforced on routed calls.

Downgrade support ticket classification to GPT-4o mini
High (98%)About $1,420 a month

Improvements. Savings found in your own usage and billing. Each one comes with a monthly figure and a confidence.

How it gets here

Every source in.
One bill out.

Provider usage, coding tool analytics, your repositories and your bills. Each one connected once, each counted once.

Provider usage
Vendor analytics
SDKTwo lines of code
OpenTelemetry
GHGitHub
JIRAJira
Cloud billing
CSVAny other bill
Token MeterPriced, owned and checked once
Billed and tracked$26,395.17this month, each source counted once
Nimbus Logistics, margin−$1,640.12cost to serve passed revenue
Anthropic invoice$611.32 apartflagged, beyond the 2% tolerance
Demo data
The app

Everything in the app.
Pick a page to see it.

What your team's tools spend, what your customers cost, whether it matches the bill, and what to do about it.

Coding tools

Customers and spend

Check

Act

Demo data
Set up

Two lines in.
Nothing in the path.

01Wrap the client you have.

TypeScript and Python. Usage ships in the background.

02Tag at the edge of a task.

One action gives every call inside it the same customer and feature.

03Or point at the router.

Change the base URL for routing, fallbacks and caching. On Free it runs on your own provider keys, for the model you name.

Start free →Read the quickstart
import OpenAI from "openai";
import { TokenMeterClient, wrapOpenAI, action } from "@tokenmeter/sdk";

const tl = new TokenMeterClient({ apiKey: process.env.TOKEN_METER_KEY! });
const openai = wrapOpenAI(new OpenAI(), tl);

await action("generate-report", { customerRef: "acme", feature: "reports" }, async () => {
  await openai.chat.completions.create({ model: "gpt-4o-mini", messages });
  // tagged customer_ref=acme, feature=reports
});
usage captured, gpt-4o-mini, 1,204 tokens, $0.0004, customer_ref=acme
FAQ

Ask the hard ones.
The answers are short.

Anything else, the docs go deeper.

Read the docs →
01Do my calls go through your servers?

No. The SDK wraps the client you already use, reads usage from the response it returns and ships it in the background. The router is a separate choice, for when you want routing, fallbacks and caching.

02Do you hold my provider keys?

Not with the SDK: your keys stay in your app. For the invoice check you connect a billing source, such as a read-only provider admin key, AWS Cost Explorer, Azure Cost Management or a BigQuery billing export.

03How do I know a number is real?

Every figure says where it came from. Metered cost is set against what the provider bills, day by day. A day that agrees is confirmed, a day beyond the tolerance is flagged, and anything inferred is marked Inferred until the invoice lands.

04Which providers does it cover?

OpenAI, Anthropic, Google Gemini, Amazon Bedrock and Azure OpenAI directly, plus OpenRouter, xAI, Mistral, Fireworks, Together AI, DeepInfra and the Vercel AI Gateway through the OpenAI-compatible wrapper. Any other bill comes in by CSV.

05What counts toward a plan?

Events, one per model call, and AI spend, their metered cost. Imported invoice lines and seat licences count toward neither. Settings, Billing shows where you stand. See pricing →

06Does it cover Claude Code, Cursor and Codex?

Yes. Coding tools report through their vendor analytics or OpenTelemetry. You get seats and usage per person, with coding tool spend beside your API spend.

07Are the numbers on this page real?

They are demo data from a sample workspace, and the screens are captures of the app showing it. There are no invented customers, quotes or statistics on it.

08Does a budget stop spend?

A budget alerts by default, by email or Slack. A workspace cap can be enforced on calls sent through the router. Rules stop a routed call before it reaches the provider. Budgets and alerts are on paid plans.

09Is there a dark mode?

Yes. Use the switch in the top bar. The app keeps your choice.

Know who spent it
this week.

Free up to 1M events a month. No card.