aicost 0.1.16

Compute LLM usage costs based on the genai::Usage type.
Documentation
use crate::{ModelPricing, ProviderPricing};

pub const DEEPSEEK: ProviderPricing = ProviderPricing {
	name: "deepseek",
	models: DEEPSEEK_MODELS,
};

const DEEPSEEK_MODELS: &[ModelPricing] = &[
	ModelPricing {
		name: "deepseek-v4-flash",
		input_cached: Some(0.0028),
		input_normal: 0.14,
		output_normal: 0.28,
		output_reasoning: None,
	},
	ModelPricing {
		name: "deepseek-v4-pro",
		input_cached: Some(0.003625),
		input_normal: 0.435,
		output_normal: 0.87,
		output_reasoning: None,
	},
	ModelPricing {
		name: "deepseek-chat",
		input_cached: Some(0.07),
		input_normal: 0.27,
		output_normal: 1.1,
		output_reasoning: None,
	},
	ModelPricing {
		name: "deepseek-reasoner",
		input_cached: Some(0.14),
		input_normal: 0.55,
		output_normal: 2.19,
		output_reasoning: None,
	},
];