Versions in this module Expand all Collapse all v0 v0.1.2 Aug 11, 2026 v0.1.0 Jul 24, 2026 Changes in this version + const MaxSnapshotBytes + type Amount struct + Known bool + Reason string + USD float64 + func Cost(u Usage, r Rates) Amount + type Counter interface + Count func(ctx context.Context, req inference.Request) (tokens int, quality string, err error) + type Plan struct + CounterQuality string + Expected Amount + InputTokens [2]int + JudgeCalls int + Max Amount + OutputTokens [2]int + TargetCalls int + Unknowns []string + func Preflight(ctx context.Context, plans []qual.TablePlan, cfg eval.RunConfig, rates Rates, ...) (Plan, error) + type Rates struct + CacheRead *float64 + CacheWrite *float64 + Input *float64 + Output *float64 + Reasoning *float64 + type Snapshot struct + Digest string + FetchedAt time.Time + Rows map[string]Rates + SourceURL string + func FetchSnapshot(ctx context.Context, client *http.Client, rawURL string) (Snapshot, error) + func ParseSnapshot(raw []byte, sourceURL string, fetchedAt time.Time) (Snapshot, error) + type Usage struct + CacheRead int + CacheWrite int + Complete bool + Input int + Output int + Reasoning int