Skip to content

PricingSource

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

Reports where a run’s cost pricing came from.

[JsonConverter(typeof(JsonStringEnumConverter<PricingSource>))]
public enum PricingSource

Catalog = 0

The price came from the model catalog (ModelDescriptor).

Configuration = 1

The price came from the AgentPrism:Pricing configuration.

Unknown = 2

The price is not defined in any source. The cost fields are null in this case — not zero: zero would mean the model is free.

Written as a name in JSON; stored as smallint in the database. The value order must not change (see runs.pricing_source).