Expand description
§llm-cost-dashboard
Real-time terminal dashboard for LLM token spend.
This crate provides the library components consumed by the llm-dash
binary. It can also be used as a library to embed cost tracking in other
Rust applications.
§Modules
budget- hard budget enforcement and soft alert thresholdscost- per-request cost records and the append-only ledgercost::pricing- static pricing table and cost computation helperserror- unified error typelog- newline-delimited JSON log ingestiontrace- lightweight distributed tracingui- ratatui TUI application state and event loop
§Related Projects
Re-exports§
pub use budget::BudgetEnvelope;pub use cost::CostLedger;pub use cost::CostRecord;pub use cost::ModelStats;pub use error::DashboardError;pub use log::LogEntry;pub use log::RequestLog;pub use trace::SpanStore;pub use trace::TraceSpan;pub use ui::App;