Versions in this module Expand all Collapse all v0 v0.2.0 May 15, 2026 Changes in this version + func FormatDisplay(totalUSD float64) string + func LoadHistory() ([]analytics.CostEntry, error) + func ModelPricing(modelName string) (inputPricePerM, outputPricePerM float64) + type Cost = engine.Cost + type ModelPrice = engine.ModelPrice + type Optimizer = engine.CostOptimizer + func NewOptimizer() *Optimizer + type Recommendation = engine.Recommendation + type RequestCost = engine.RequestCost + type Tracker = engine.CostTracker + func NewTracker(sessionID string) *Tracker