Skip to main content

usd

Function usd 

Source
pub fn usd(
    prices: Option<Prices>,
    input: u64,
    output: u64,
    cache_read: u64,
    cache_write: u64,
) -> Option<f64>
Expand description

USD for token counts (input includes cache reads and writes).