Skip to content

IVoicePricingReader

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

Reads the configured voice model’s pricing.

public interface IVoicePricingReader

The HTTP layer uses this abstraction to show voice pricing; pricing resolution is inside AgentPrism.Voice, and the HTTP layer cannot reference that package (the package direction rule). AgentPrism does not fabricate a price: if there is no match, null is returned — not zero.

The currency label shown in reports.

string? Currency { get; }

string?

Computes a character-based generation’s cost.

decimal? ForCharacters(decimal characters)

characters decimal

The billed character count.

decimal?

The amount; null if pricing is undefined.