Expand description
Cost tracking and quota enforcement engine.
The MeteringEngine calculates costs based on model pricing tables
and persists usage data through the memory substrate. It supports
per-fighter and aggregate spend queries across configurable time periods.
Structs§
- Metering
Engine - Engine for tracking LLM costs and enforcing spend quotas.
- Model
Price - Pricing for a specific model (cost per million tokens).
Enums§
- Spend
Period - Time period for spend queries.