For SaaS teams using AI APIs
Connect AI costs to Stripe revenue. See which customers are profitable and which are underwater — in real time.
No credit card required
$12,480
$8,340
$4,140
33.2%
Revenue vs Cost Over Time
Budget Status
100+ models with daily pricing updates from
What-if analysis
Pick any event type. MarginDash simulates the cost of alternative models — ranked by intelligence-per-dollar — and shows you the savings instantly.
$2,380
$1,800
-$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
Switch to
Claude 4.5 Haiku
Est. saving $240 (29.3%)
Simulate with
Revenue minus cost, per customer
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.
| Customer | ID | Revenue | Cost | Margin | Margin % |
|---|---|---|---|---|---|
| Plexo Health | 5 | $233.25 | $277.20 | -$43.95 | -18.84% |
| Vantage Ops | 4 | $358.86 | $421.66 | -$62.80 | -17.50% |
| Alder Analytics | 1 | $260.79 | $294.17 | -$33.38 | -12.80% |
| Conduit Logic | 2 | $401.56 | $434.29 | -$32.73 | -8.15% |
| Summit SaaS | 3 | $225.09 | $233.64 | -$8.55 | -3.80% |
| Helix Robotics | 66 | $134.29 | $127.31 | $6.98 | 5.20% |
| Canopy Labs | 25 | $350.89 | $316.85 | $34.04 | 9.70% |
| Ember AI | 78 | $211.12 | $184.94 | $26.18 | 12.40% |
| Stratos Cloud | 53 | $417.32 | $357.64 | $59.68 | 14.30% |
| Lumen Ops | 86 | $153.79 | $129.34 | $24.45 | 15.90% |
| Prism Data | 15 | $105.80 | $87.23 | $18.57 | 17.55% |
npm install margindash
Also available as pip install margindash or use the REST API
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
});
Revenue syncs from Stripe or your SDK calls. Costs calculate automatically. Margins, budgets, and model optimization — ready.
One dashboard to track costs, revenue, and profitability across every AI model, feature, and customer — with pricing that stays current automatically.
See cost breakdowns by feature — summarize, translate, chat, or any event type you define. Spot which capabilities are cheap and which are burning budget.
Connect Stripe for automatic revenue sync, or pass revenueAmountInCents via the SDK. Works with any billing system.
Vendor rates sync daily from live provider pricing across 100+ models. No spreadsheets, no manual updates — costs are always current.
Only model names and token counts are sent. No prompts, no completions, no customer data — nothing sensitive leaves your servers.
Create an account, install the SDK, and see your first margin data in minutes.
See My Margin DataNo credit card required · or book a demo