llm-cost-ops 0.1.1

Core library for cost operations on LLM deployments
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Core domain models for LLM-CostOps

pub mod error;
pub mod provider;
pub mod usage;
pub mod cost;
pub mod pricing;

pub use error::{CostOpsError, Result};
pub use provider::Provider;
pub use usage::{UsageRecord, ModelIdentifier, IngestionSource};
pub use cost::{CostRecord, CostCalculation};
pub use pricing::{PricingTable, PricingStructure, Currency, PricingTier};