Free Interactive AI Margin Tool

LLM Token Cost, Prompt-Cache & SaaS Gross Margin Calculator

Stress-test your AI subscription tiers before power users or automated scripts turn a USD 29/month plan into a negative-margin liability.

1. Enter your plan pricing & token profile

2. Live per-user unit economics

Monthly prompts / user
500
LLM API cost (with cache)
USD 6.90 / mo
Prompt-cache savings
+USD 1.60 / mo
Net contribution margin
USD 20.30 (70.0%)
4x Power-user margin
-USD 0.41 / mo

Margin leak alert: A heavy 4x user loses USD 0.41/mo on this tier. Enforce a daily sliding-window token cap or route routine turns to a flash model.

Unlocked Excel Model + Rate-Limiter Code

Get the LLM Token Cost & Rate-Limit Guard Kit

Download the multi-tier Excel pricing workbook (Starter / Pro / Power stress tests), a zero-dependency TypeScript sliding-window API rate limiter, and the LLM Cost Control Playbook - or unlock all 9 kits for USD 29.