Smith::Stats::ModelStat
Inherits Struct < Value < Object
One provider/model combination as it appears in the breakdown.
Constructors
new(provider : String, model : String)
SourceInstance methods
add(usage : LLM::Usage, rate_cost : Float64 | Nil) : Nil
Sourcecost
nil when the rate is unknown — tokens still count, cost says n/a,
never a guess (the Pricing rule applies to aggregates too).
key
Sourcelabel
Sourcemodel
Sourceprovider
Sourcesessions
Sourcetokens
Source