Skip to main content
All margin queries are available via the Node SDK (nozle.margin.*) and REST API (GET /api/v1/margin/*). Secret key required. Summary — overall margin overview:
By Customer — identify your most and least profitable customers:
By Metric — which usage types are profitable:
By Plan — which pricing tiers work:
By Model — which LLM models are profitable:
Trend — margin over time:
Simulate — what-if pricing analysis:
All endpoints accept optional from/to date range parameters (ISO 8601 format).