Module cost_analyzer

Module cost_analyzer 

Source
Expand description

Cost Analyzer

Analyzes cost metrics including token costs by model, budget utilization, cost per request, and detects cost anomalies and optimization opportunities.

Structsยง

CostAnalyzer
Cost Analyzer implementation
CostAnalyzerConfig
Configuration specific to the Cost Analyzer
ModelPricing
Model pricing information (per 1K tokens)