Skip to main content

Crate terraphim_usage

Crate terraphim_usage 

Source
Expand description

LLM usage metering and pricing for Terraphim AI.

Tracks token consumption across providers (OpenRouter, Ollama, …), applies per-model pricing tables, and persists usage records. Optional cli and providers feature flags unlock the reporting CLI and provider adapters.

Modules§

formatter
pricing
providers
store

Structs§

ProviderUsage
UsageRegistry

Enums§

MetricLine
ProgressFormat
UsageError

Traits§

UsageProvider

Type Aliases§

Result