pub mod estimator;
pub mod file_sink;
pub mod sink;
pub mod tokens;
pub mod tracker;
pub mod types;
pub use estimator::CostEstimate;
pub use file_sink::JsonFileCostSink;
pub use sink::CostSink;
pub use tokens::{count_message_tokens, count_tokens, estimated_usd_from_exact_tokens};
pub use tracker::CostTracker;
pub use types::SessionCost;
pub fn estimated_usd_from_tokens(tokens: u64) -> f64 {
tokens as f64 * 0.000002
}