- Per-customer margin: how much you earn vs. spend on each customer
- Per-model margin: which LLM models are profitable vs. loss-leaders
- Per-metric margin: margin breakdown by billable metric
- Per-plan margin: which pricing tiers are profitable
- Trend analysis: margin over time with configurable granularity
- Margin simulation: what-if analysis for pricing changes
- You define cost models (what each unit costs you)
- Nozle tracks usage events (what you charge customers)
- Nozle computes margin = revenue - cost per event, per customer, per model
- Data is stored for fast analytical queries
- Query via SDK (nozle.margin.) or API (GET /api/v1/margin/)