# PricingSource

> 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.pricingsource/
> Summary: PricingSource: Reports where a run's cost pricing came from.

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

Reports where a run's cost pricing came from.

```csharp
[JsonConverter(typeof(JsonStringEnumConverter<PricingSource>))]
public enum PricingSource
```

## Fields

`Catalog = 0` 

The price came from the model catalog ([ModelDescriptor](/api/tracon.modeldescriptor/)).

`Configuration = 1` 

The price came from the `Tracon:Pricing` configuration.

`Unknown = 2` 

The price is not defined in any source. The cost fields are
[null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null) in this case — **not zero**: zero
would mean the model is free.

## Remarks

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