# ImagePriceOverride

> Tracon documentation. Tracon is a .NET package family that adds a control
> plane on Microsoft Agent Framework, published as NuGet packages that run
> inside your own ASP.NET Core application.
>
> Page: https://tracon.dev/api/tracon.imagepriceoverride/
> Summary: ImagePriceOverride: Defines the configured price for one image-generation model.

<div class="api-provenance">Namespace Tracon · Assembly <code>Tracon.Core.dll</code></div>

Defines the configured price for one image-generation model.

```csharp
public sealed class ImagePriceOverride
```

<dl class="api-relations"><dt>Inheritance</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object">object</a> ← <a href="/api/tracon.imagepriceoverride/">ImagePriceOverride</a></dd><dt>Inherited Members</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a></dd></dl>

## Constructors

### <a id="Tracon_ImagePriceOverride__ctor"></a> ImagePriceOverride\(\)

```csharp
public ImagePriceOverride()
```

## Properties

### <a id="Tracon_ImagePriceOverride_OutputCostPerMillionTokens"></a> OutputCostPerMillionTokens

Gets or sets the cost per million output tokens.

```csharp
public decimal? OutputCostPerMillionTokens { get; set; }
```

#### Property Value

 [decimal](https://learn.microsoft.com/dotnet/api/system.decimal)?

### <a id="Tracon_ImagePriceOverride_PerImage"></a> PerImage

Gets or sets the cost per generated image.

```csharp
public decimal? PerImage { get; set; }
```

#### Property Value

 [decimal](https://learn.microsoft.com/dotnet/api/system.decimal)?

### <a id="Tracon_ImagePriceOverride_SizeMultipliers"></a> SizeMultipliers

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

```csharp
public IDictionary<string, decimal> SizeMultipliers { get; }
```

#### Property Value

 [IDictionary](https://learn.microsoft.com/dotnet/api/system.collections.generic.idictionary\-2)<[string](https://learn.microsoft.com/dotnet/api/system.string), [decimal](https://learn.microsoft.com/dotnet/api/system.decimal)\>

#### Remarks

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.
