# Find your real profit per user

Paste this file into Claude (or Cursor, Lovable, Bolt). It will work out what each user actually costs you, and whether your price covers it.

---

## Instructions for the AI

Check my app's unit economics. Go through the steps below one at a time.
For each step: show the numbers and the file, and give the smallest fix. Don't change any code until I say so.

### 1. Log the AI cost of every request
Find every call to an AI API. Make sure each one records: user ID, model, input tokens, output tokens, cost.
If it isn't logged, show me where to add it.

### 2. Cost per user per month
From the logs (or an estimate if there are none yet): average and top-10% AI cost per active user per month.
Add hosting, database, email and other tools, divided by active users.

### 3. Compare with the price
Price per user minus:
- payment fees (Stripe: 2.9% + 30c per charge in the US),
- AI cost per user,
- other costs per user,
- refunds.
Show what I actually keep per user.

### 4. Usage caps per plan
Every plan has a limit, so no user can cost more than they pay. Show what happens when a user hits it.

### 5. The cheapest model that still works
For each AI task, check if a smaller, cheaper model passes the same examples. List the savings.

---

## A rule of thumb

If the AI cost per user is more than a third of the price, raise the price, cap usage, or use a cheaper model.

---

FM Club is a free community for people who build apps with AI: https://www.fmclub.co
