MCPcopy Create free account
hub / github.com/diillson/chatcli / TotalCost

Method TotalCost

cli/cost_tracker.go:221–225  ·  view source on GitHub ↗

TotalCost returns the total estimated cost in USD for the session.

()

Source from the content-addressed store, hash-verified

219
220// TotalCost returns the total estimated cost in USD for the session.
221func (ct *CostTracker) TotalCost() float64 {
222 ct.mu.RLock()
223 defer ct.mu.RUnlock()
224 return ct.totalCostUSD
225}
226
227// TotalTokens returns total tokens used across all models.
228func (ct *CostTracker) TotalTokens() int64 {

Callers 4

showConfigPanoramaMethod · 0.80
showConfigSessionMethod · 0.80
emitSessionSummaryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected