For SaaS teams using AI APIs

Your AI margin, measured per customer.

Connect AI costs to Stripe revenue. See which customers are profitable and which are underwater — in real time.

No credit card required

Dashboard

February 2026
Revenue

$12,480

Cost

$8,340

Margin

$4,140

Margin %

33.2%

Revenue vs Cost Over Time

Revenue Cost

Budget Status

Organization-wide 72%
Image Generation 91%

100+ models with daily pricing updates from

OpenAI Anthropic Google Gemini AWS Bedrock Azure Groq and more

What-if analysis

Find cheaper models without changing code

Pick any event type. MarginDash simulates the cost of alternative models — ranked by intelligence-per-dollar — and shows you the savings instantly.

  • Smart suggestions ranked by quality per dollar
  • Benchmark scores (MMLU-Pro, GPQA) side by side
  • Frontier, mid-tier, and budget model tiers
Total Cost

$2,380

Simulated Cost

$1,800

Cost Difference

-$580

Cost by Event Type

Click any event type to swap its model.

Event Type Events Cost
summarize
1,240 $820
translate
890 $640
chat
760 $380
image_gen
420 $540

summarize

Smart Recommendation

Switch to

Claude 4.5 Haiku

Est. saving $240 (29.3%)

Simulate with

Search...

Revenue minus cost, per customer

Know which customers are profitable

Stripe revenue syncs automatically. AI costs are tracked per call. MarginDash gives you the margin for every customer — so you can reprice, optimize, or have hard conversations backed by data.

Customers (100)

February 2026
Customer Cost Margin
Plexo Health $277.20 -$43.95
Vantage Ops $421.66 -$62.80
Alder Analytics $294.17 -$33.38
Conduit Logic $434.29 -$32.73
Summit SaaS $233.64 -$8.55
Helix Robotics $127.31 $6.98
Canopy Labs $316.85 $34.04
Ember AI $184.94 $26.18
Stratos Cloud $357.64 $59.68
Lumen Ops $129.34 $24.45
Prism Data $87.23 $18.57
Revenue, cost, and margin per customer
Automatic Stripe invoice sync
Negative margins highlighted instantly

Start tracking in three steps

1

Add one package

npm install margindash

Also available as pip install margindash or use the REST API

2

Log usage after each AI call

Send the model name and token count after each call. No prompts leave your servers.

md.addUsage({
  vendor: "openai",
  model: "gpt-4o",
  inputTokens: 1200,
  outputTokens: 340,
});
md.track({
  customerId: user.id,
  eventType: "summarize",
  revenueAmountInCents: 499 // optional
});
3

See margins in real time

Revenue syncs from Stripe or your SDK calls. Costs calculate automatically. Margins, budgets, and model optimization — ready.

Everything you need to protect your margins

One dashboard to track costs, revenue, and profitability across every AI model, feature, and customer — with pricing that stays current automatically.

Per-feature cost tracking

See cost breakdowns by feature — summarize, translate, chat, or any event type you define. Spot which capabilities are cheap and which are burning budget.

Revenue tracking

Connect Stripe for automatic revenue sync, or pass revenueAmountInCents via the SDK. Works with any billing system.

Auto-updated pricing

Vendor rates sync daily from live provider pricing across 100+ models. No spreadsheets, no manual updates — costs are always current.

Privacy-first tracking

Only model names and token counts are sent. No prompts, no completions, no customer data — nothing sensitive leaves your servers.

Stop guessing. Start measuring.

Create an account, install the SDK, and see your first margin data in minutes.

See My Margin Data

No credit card required · or book a demo