Skip to content
Tracon

ModelPriceOverride

Namespace Tracon · Assembly Tracon.Core.dll

Defines a configured price override for one model.

public sealed class ModelPriceOverride
Inheritance
object ← ModelPriceOverride
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
public ModelPriceOverride()

Gets or sets cost per million input tokens served from the prompt cache.

public decimal? CachedInputCostPerMillionTokens { get; set; }

decimal?

Leaving it unset prices cached tokens at ModelPriceOverride.InputCostPerMillionTokens; it never makes the price unknown. See ModelDescriptor.CachedInputCostPerMillionTokens.

Gets or sets cost per million input tokens.

public decimal? InputCostPerMillionTokens { get; set; }

decimal?

Gets or sets cost per million output tokens.

public decimal? OutputCostPerMillionTokens { get; set; }

decimal?