nexus

command
v0.32.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2026 License: MIT Imports: 29 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL