Class NullCostCalculator

Assembly: redb.Route.Llm.dll

Default calculator: prices nothing. Registered by AddRedbRouteLlm() so the engine always has
a calculator to ask; a run that requests a cost budget while this one is registered fails fast
instead of silently enforcing a zero ceiling.

public sealed class NullCostCalculator : ICostCalculator

Inheritance

Object→NullCostCalculator

Implements

Methods

Estimate(LlmUsage, LlmConnectionFactory)

Estimated cost in USD for one response, or null when the model cannot be priced.

public decimal? Estimate(LlmUsage usage, LlmConnectionFactory factory)