Skip to content
Tracon

ImagePriceOverride

Namespace Tracon · Assembly Tracon.Core.dll

Defines the configured price for one image-generation model.

public sealed class ImagePriceOverride

objectImagePriceOverride

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

public ImagePriceOverride()

Gets or sets the cost per million output tokens.

public decimal? OutputCostPerMillionTokens { get; set; }

decimal?

Gets or sets the cost per generated image.

public decimal? PerImage { get; set; }

decimal?

Gets image-size multipliers, keyed by the provider’s size string.

public IDictionary<string, decimal> SizeMultipliers { get; }

IDictionary<string, decimal>

Keys are not normalized. A provider can add a size without a library release; retaining the provider string avoids a stale built-in image-size catalogue.