Building in public - Early access is free - no card, no expiry

Your AI bill shows spend. Tokonomics shows who's draining your margin.

Tag every LLM call to the customer and feature behind it. See margin leaks in real time - not 28 days later when the bill arrives.

Free during beta - Read-only setup - No prompt capture

Customer Margin Overview
margin-ops.command / updated 43 seconds ago
LiveNo prompt capture
gross margin
86.4%
+4.2 pts from routing
monthly LLM COGS
$145.80
under budget
margin leaks
2
Two customers are below your configured margin floor.
Customer IDMonthly RevenueLLM CostGross MarginStatus
cust_8a2f$199/mo$4.2097.9%Healthy
cust_3k9m$99/mo$6.8093.1%Healthy
cust_7p1n$99/mo$38.4061.2%Watch
cust_2r5t$49/mo$44.1010.0%Unprofitable
cust_9x8q$49/mo$51.30-4.7%Losing Money

The Problem

Your provider dashboard shows one number. It's the wrong one.

Total spend tells you what you burned. It doesn't tell you which customers burned it at a loss.

Month-end surprise

Your LLM bill tells you what happened 28 days ago. By the time a customer shows up as unprofitable, you've already served them at a loss for a full billing cycle. Every 30 days, the damage is already done.

avg discovery delay: 28 days

Flat pricing, variable costs

Two customers on your $99/mo plan. One costs $4 in tokens. One costs $51. Your provider dashboard treats them the same - so you do too, until one quietly breaks your margin.

heavy users skew COGS

Runaway agent loops

Without workflow attribution, a runaway agent looks exactly like normal usage - until the bill arrives and you're left reverse-engineering what happened.

alerts before invoices

The missing layer

The number that matters isn't how much you spent on AI. It's whether the customers who drove that spend paid you enough to cover it.

Tokonomics sits between your LLM provider and your revenue. It connects spend to customer, feature, and workflow - so you're not reading a surprise invoice.

provider.bill$5,000
customer.margin?
feature.cogs?

AI cost reckoning

Big teams found out the hard way.You don't have to.

$500M. One month. One client.

An enterprise client was reportedly billed $500 million in a single month for AI usage - no usage caps, no per-user visibility, no alerts. The invoice was the first signal anything was wrong.

This is not just an enterprise problem.

It is a visibility problem. If your AI product cannot connect usage to customers, revenue, and workflows, every invoice is a delayed alarm.

Budget burnAI coding budgets can disappear months before finance expected
License pullbackteams cut seats when compute costs outrun the plan
Usage capspolicy catches up only after usage gets expensive
margin drops as untracked usage risesone customer can flip the month red
Uber logoUber

AI coding budget reportedly burned out 4 months ahead of schedule

Microsoft logoMicrosoft

External Claude Code licenses pulled back as compute costs climbed

Amazon logoAmazon

Internal leaderboard shut down after tokenmaxxing drove waste

Meta logoMetaDuolingo logoDuolingo

Both teams tightening AI policies and adding usage caps - after the spend already happened

For most founders, the version is quieter: one customer slowly losing money every month until the invoice finally makes it obvious.

The pattern is always the same: usage runs ahead of visibility. Tokonomics flips that. Total spend first. Customer cost next. Real gross margin when revenue is connected.

How It Works

Start with spend visibility. Upgrade into real margin control.

Tokonomics gives you value at every setup step, from zero-code provider visibility to customer-level gross margin.

provider keyread only
sk-ant-****************

total spend

model mix

spike alerts

01

Paste your API key. See your spend in 30 seconds.

Read-only key. Zero deploy. Paste your OpenAI, Anthropic, or Gemini key and you'll immediately see total spend, model mix, cost trends, and spike alerts. No code. No infrastructure change. Just visibility.

visible in 30 seconds

paste into Cursor, Replit, Lovable, or Claude Code

Add tokonomics tracking to every LLM call. Use the logged-in user as customer_id, infer the feature name from the route, and keep prompt content private.

02

Add one line. Get cost per customer.

Tell Tokonomics your stack - Cursor, Replit, Lovable, Claude Code, or hand-coded - and you get a ready-made snippet. Drop it in and every LLM call gets tagged to the customer and feature behind it. One line. Real attribution.

one line of tracking

cust_8a2f97.9% margin
$199 revenue$4.20 AI cost
cust_2r5t-4.7% margin
$49 revenue$51.30 AI cost
03

Connect Stripe. Now you have real margin.

Revenue minus AI cost, per customer, updated daily. That's the number you've been missing - and the one your investors will eventually ask about.

margin per customer, daily

Features

The margin ops layer your AI SaaS has been missing.

You're not running a DevOps team. You don't need another observability tool. You need to know which customers are costing you money - and what to do about it.

customer.marginbreached floor
cust_8a2f97.9%
$4.20Healthy
cust_7p1n61.2%
$38.40Watch
cust_9x8q-4.7%
$51.30Losing

Per-customer attribution

Every LLM call tagged to a customer, feature, and workflow. See your exact cost-to-serve - per customer, live. No aggregates. No guessing. Just the number.

gross.margin

86.4%+4.2 pts

COGS

$145.80

AI gross margin dashboard

Stripe revenue minus LLM COGS, per customer, updated daily. The number your investors will ask about - and the one that tells you who's actually making you money.

daily cap82% used

Alert before customer spend crosses $42 today.

Budget alerts & circuit breakers

Set a daily or monthly cost ceiling per customer or feature. Get the alert before it becomes a crisis - not after the invoice confirms it.

before

GPT-4o

$0.038/call

after

Haiku

save $38/mo

quality shadow testsafe

Model routing suggestions

Think Haiku could replace GPT-4o for your simpler queries? Test it on real traffic first. Side-by-side quality comparison - so you know before you ship.

pricing.modeusage based
Fair-use limit120K tokens

MRR lift

+4.1%

margin

91.2%

Usage-based pricing simulator

Wondering if usage-based pricing would fix your margin problem - or kill your conversions? Simulate the MRR impact before you touch your pricing page.

AI Margin Score

78

heavy usersdrag -12
model wastedrag -7
pricing fitlift +4

AI Margin Score

One number that tells you whether your AI unit economics are improving - and exactly what's dragging the score down this week.

Monday digestSlack + email

2 customers crossed margin floor

1 workflow spiked 240%

3 model swaps ready for review

Weekly Margin Digest

Every Monday in Slack or email: which customers crossed your margin floor, what shifted, and 1-2 actions worth taking. Short enough to read before standup.

Integrations

Works with the LLM frameworks you already use.

OpenAI - Anthropic - Google Gemini - LangChain - Cursor - Replit - Lovable

# Install: pip install tokonomics
from tokonomics import track, Tokonomics

toko = Tokonomics(api_key="tok_live_...")

@track(customer_id=request.user_id, feature="chat")
async def generate_response(message: str) -> str:
    response = await openai.chat.completions.create(
        model="gpt-4o",
        messages=[{"role": "user", "content": message}]
    )
    return response.choices[0].message.content

Founder pains

Built around four problems every AI founder knows and feels.

cust_8a2f97.9%
cust_7p1n61.2%
cust_9x8q-4.7%

Hidden heavy users

cust_9x8q

"One customer on my $49/mo plan costs me $51 in tokens every month. I had no idea until I checked manually. I need to see this without having to dig."

-4.7% margin
flat plansame price
Usage bucket 1
Usage bucket 2
Usage bucket 3

Pricing uncertainty

pricing.sim

"I think I need to move to usage-based pricing. But I don't know if that means $400 more in MRR or losing 20% of my signups."

+$420 MRR
GPT-4o$0.038/call
Haikusave $38/mo

Model waste

route.waste

"I'm 90% sure my app is calling GPT-4o on tasks that Haiku could handle. I just can't prove it without spending a full day in logs."

$38/mo leak
app route?
model calledunknown
monthly riskinvisible

Vibe-coded stack

vibe.build

"I built this fast. I genuinely don't know what model my app calls, how often, or at what cost. I need the map before I touch anything."

unknown AI stack

ROI Calculator

What would better margin visibility actually be worth to you?

Move the sliders. See how quickly margin clarity pays for itself.

benefit.model
routing25% lower COGS
repricing+4% revenue lift
incidentsbudget guardrails
directional estimate, tuned for early AI SaaS teams.

Estimate your monthly upside.

Move the inputs to see how quickly margin visibility pays back.

estimated.roi
12.3x

Estimated monthly benefit

Model routing$1,250 /mo

Repricing lift$396 /mo

Incident prevention$800 /mo

Total benefit$2,446 /mo

Growth plan$199 /mo

Net gain$2,247 /mo

Directional estimate - real results depend on your stack, pricing model, and usage patterns. But the math tends to hold.

Pricing

Start free. Pay only when you go deeper.

You don't need to integrate everything on day one. Start with your API key, get real spend data, and upgrade when the next layer makes sense.

Free

$0/month

See your spend. Immediately.

Best for
Founders who want their first honest look at where the money is going.
Note
No card. No expiry. No catch.
  • Connect your LLM provider key
  • Total AI spend and trends
  • Model mix and provider breakdown
  • Spend-spike alerts
  • Read-only setup
  • Free forever
Start Free

Starter

$99/month

See what each customer actually costs you.

Best for
Teams connecting AI spend to individual customers for the first time.
Note
90-day customer cost history
  • Everything in Free
  • Per-customer cost attribution
  • Per-customer cost table
  • Feature and workflow tagging
  • Alerts per customer
  • Cursor/Replit prompt assist
Join Starter Waitlist

Growth

Maximum Value
$199/month

See real margin. Then fix what's breaking it.

Best for
Revenue-connected founders closing the gap between spend and profit.
Note
Unlimited cost and margin history
  • Everything in Starter
  • Stripe integration for gross margin
  • Pricing simulator
  • Safe model routing tests
  • Weekly margin digest
  • AI Margin Score
  • Slack and email notifications
Join Growth Waitlist

Scale

$399/month

Margin ops across the whole team.

Best for
Teams who need shared visibility, investor reports, and margin automation.
Note
Workspace + API access
  • Everything in Growth
  • Team access
  • Benchmark comparisons
  • White-label investor reports
  • API access
  • Margin copilot drafts fixes
  • SLA and DPA available
Talk to us

Free during beta for all early access users. No card required to start.

One API key. Thirty seconds. Real spend data.

Start with total AI spend visibility - no card, no code, no deploy. Add customer attribution and Stripe margin when you're ready.

Zero prompt captureRead-only API keyFree during beta