Build on Aktor

Usage and billing your customers

What a solution cost, per end user, workspace or day.

GET /api/v1/solutions/{name}/usage?by=end_user (or workspace, day, with from/to and format=csv) reports tokens and dollars from the runtime's own metering, the same numbers your plan is metered by. Each end user is charged for their conversations; workspace runs belong to no one end user. Use it to bill your customers, and cap them with assistant.monthly_cost_limit_usd_per_user. Over the cap, a user gets 402 until next month.

aktor-cli usage property-mgmt --by end_user --csv > october.csv

The Usage tab on a solution's page shows the same report.