Documentation
¶
Overview ¶
Cost report CLI for the per-step router + multi-dim budget gate (idea 09). Reads the journal of a single session — or every session rooted under sessions.root — and aggregates llm.response usage by tag dimension.
nexus cost report --session <id> nexus cost report --tenant acme --since 24h nexus cost report --since 7d # all sessions, all tenants
The cost figures come from llm.response.cost_usd which providers emit using pkg/engine/pricing — keeping the CLI provider-agnostic and the price table in one place.
Click to show internal directories.
Click to hide internal directories.