aicost 0.1.12

Compute LLM usage costs based on the genai::Usage type.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// region:    --- Modules

mod cost;
mod data;
mod error;
mod model;

pub use cost::{compute, compute_iden, model_pricing};
pub use error::{Error, Result};
pub use model::{AiCost, ModelPricing, ProviderPricing};

// endregion: --- Modules