Skip to main content

Crate tokenmiser_config

Crate tokenmiser_config 

Source
Expand description

Configuration types shared across every crate, kept here to avoid circular dependencies.

Re-exports§

pub use pricing::ModelPricing;
pub use pricing::PricingTable;

Modules§

pricing
Canonical per-model pricing table.

Structs§

BudgetConfig
Spend-budget thresholds. A crossed limit is surfaced via /stats, the x-tokenmiser-budget header and a log line, but blocks requests only under enforce, and then only paid routes.
CacheConfig
ListenConfig
ModelTarget
ProviderConfig
A single configured upstream provider instance.
RoutingConfig
SecurityConfig
Browser-facing defenses for the local proxy.
TokenmiserConfig
Top-level TokenMiser daemon config.

Enums§

ProviderKind
Drives request shape and base-URL selection.