{{with .Summary.Today}}
Requests Today
{{.Requests}}
Cost Today
{{formatCost .CostUSD}}
Tokens Today
{{addInt .InputTokens .OutputTokens}}
{{.InputTokens}} in / {{.OutputTokens}} out
Cache Hits
{{.CachedHits}}
{{end}}
{{with .Summary.Week}}
Cost (7d)
{{formatCost .CostUSD}}
{{end}}
{{if .ProviderHealth}}
Provider Health
{{range .ProviderHealth}}
{{.Provider}}
{{.Status}}
{{printf "%.0f" .AvgLatency}}ms avg | {{formatPct .ErrorRate}} errors
{{end}}
{{end}}
{{if .Latency}}{{if gt .Latency.Max 0.0}}
P50 Latency
{{printf "%.0f" .Latency.P50}}ms
P95 Latency
{{printf "%.0f" .Latency.P95}}ms
P99 Latency
{{printf "%.0f" .Latency.P99}}ms
Avg Latency
{{printf "%.0f" .Latency.Avg}}ms
{{end}}{{end}}
{{if .CacheEnabled}}{{if .CacheInfo}}{{if .CacheInfo.Connected}}
Cache Hit Rate
{{formatPct .CacheInfo.HitRate}}
{{.CacheInfo.Hits}} hits / {{.CacheInfo.Misses}} misses
Cache Memory
{{.CacheInfo.MemoryUsed}}
Cached Keys
{{.CacheInfo.Keys}}
{{end}}{{end}}{{end}}
Requests & Cost
Cost Breakdown
{{if .Models}}
Models
| Model | Requests | Tokens (in/out) | Cost | Avg Latency |
{{range .Models}}
| {{.Model}} |
{{.Requests}} |
{{.InputTokens}} / {{.OutputTokens}} |
{{formatCost .CostUSD}} |
{{printf "%.0f" .AvgLatencyMS}}ms |
{{end}}
{{end}}
{{if .Providers}}
Providers
| Provider | Requests | Success | Errors | Avg Latency | Cost |
{{range .Providers}}
| {{.Provider}} |
{{.Requests}} |
{{.Successes}} |
{{.Errors}} |
{{printf "%.0f" .AvgLatencyMS}}ms |
{{formatCost .CostUSD}} |
{{end}}
{{end}}
{{if .TokenStats}}
API Token Usage
| Token | Requests | Tokens (in/out) | Cost |
{{range .TokenStats}}
| {{.TokenName}} |
{{.Requests}} |
{{.InputTokens}} / {{.OutputTokens}} |
{{formatCost .CostUSD}} |
{{end}}
{{end}}
{{end}}