.NET API
ModelPriceOverride
Namespace Tracon · Assembly
Tracon.Core.dllDefines 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()
Constructors
Section titled “Constructors”ModelPriceOverride()
Section titled “ ModelPriceOverride()”public ModelPriceOverride()Properties
Section titled “Properties”CachedInputCostPerMillionTokens
Section titled “ CachedInputCostPerMillionTokens”Gets or sets cost per million input tokens served from the prompt cache.
public decimal? CachedInputCostPerMillionTokens { get; set; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”Leaving it unset prices cached tokens at ModelPriceOverride.InputCostPerMillionTokens; it never makes the price unknown. See ModelDescriptor.CachedInputCostPerMillionTokens.
InputCostPerMillionTokens
Section titled “ InputCostPerMillionTokens”Gets or sets cost per million input tokens.
public decimal? InputCostPerMillionTokens { get; set; }Property Value
Section titled “Property Value”OutputCostPerMillionTokens
Section titled “ OutputCostPerMillionTokens”Gets or sets cost per million output tokens.
public decimal? OutputCostPerMillionTokens { get; set; }