Skip to main content
Sub-entity balances let you set usage limits that apply to each entity (user, workspace, project, etc.) individually under a parent customer. Instead of a single shared pool, each entity gets its own independent balance.
Example
A team plan costs $30/seat/month. Each seat gets 50 AI meeting summaries per month. If a team has 5 users, each user has their own balance of 50 summaries — they can’t use each other’s allocation.

Setting up

Create features for both the entity count (e.g., seats) and the per-entity feature (e.g., summaries). Then link them via entityFeatureId on the plan item:
autumn.config.ts
The entityFeatureId links the summaries feature to the seats feature — each seat (entity) will receive its own balance of 50 summaries.Push changes with atmn push.

Creating entities

When a new team member joins, create an entity. This automatically increments the entity feature count (e.g., seats) and provisions the per-entity balance:

Checking and tracking per entity

Pass the entity_id to check and track to operate on a specific entity’s balance:

Check access

Track usage

Customer-level vs entity-level

When tracking at the customer level (without entity_id), usage is deducted from the first-created entity to keep entity-level totals in sync with the customer-level total.

Deleting entities

When a team member leaves, delete the entity. This decrements the entity feature count and removes their balance: