51 lines
1.1 KiB
Markdown
51 lines
1.1 KiB
Markdown
---
|
|
status: draft
|
|
system: costs
|
|
specification_version: 1
|
|
migration: in_progress
|
|
owners:
|
|
- kandev
|
|
---
|
|
|
|
# Cost and usage system
|
|
|
|
## Purpose
|
|
|
|
The cost and usage system owns token usage accounting, subscription quotas,
|
|
budgets, and cost-aware model routing.
|
|
|
|
## Ownership
|
|
|
|
This system owns usage events, cost projections, quota state, budget policy,
|
|
and cheap-model profiles used by task and Office execution.
|
|
|
|
## Exclusions
|
|
|
|
- Agent profile identity belongs to the [agent system](../agents/README.md).
|
|
- Office-specific routing policy belongs to the [Office system](../office/README.md).
|
|
|
|
## Specification map
|
|
|
|
### Requirements
|
|
|
|
|
|
|
|
- [Cheap Model Profiles](requirements/cheap-model-profiles.md)
|
|
- [Subscription Usage Tracking](requirements/subscription-usage.md)
|
|
|
|
### System design
|
|
|
|
|
|
|
|
- None.
|
|
|
|
## Migration record
|
|
|
|
Migration remains in progress while legacy source detail is extracted from the
|
|
canonical requirement and system-design documents above.
|
|
|
|
## Related systems
|
|
|
|
- [Agents](../agents/README.md): supplies model and profile identity.
|
|
- [Office](../office/README.md): consumes cost-aware routing.
|