ccstats 0.3.0

Fast token and cost usage statistics CLI for Claude Code, OpenAI Codex, Cursor, and Grok
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod cache;
mod cost;
pub(crate) mod currency;
mod db;
mod provider;
mod resolver;
mod source;
mod types;

pub(crate) use cost::{
    CostDisplayMode, attach_costs, calculate_cost, calculate_display_cost,
    calculate_estimated_proxy_cost, model_cost_kind, pricing_source_for_model_maps,
    pricing_source_for_models, sum_display_model_costs, sum_estimated_proxy_model_costs,
    sum_model_costs,
};
pub(crate) use currency::CurrencyConverter;
pub(crate) use db::PricingDb;
pub(crate) use source::PricingSource;