# TraconModelConcurrencyOptions

> 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.traconmodelconcurrencyoptions/
> Summary: TraconModelConcurrencyOptions: Defines the outgoing concurrency limit applied per model provider.

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

Defines the outgoing concurrency limit applied per model provider.

```csharp
public sealed class TraconModelConcurrencyOptions
```

<dl class="api-relations"><dt>Inheritance</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object">object</a> ← <a href="/api/tracon.traconmodelconcurrencyoptions/">TraconModelConcurrencyOptions</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>

## Remarks

The goal is to avoid producing a burst of `429` responses in the
first place; the circuit breaker only reacts once a provider is already
failing. A request over the limit waits (bounded by its own cancellation
token) instead of being rejected immediately — rejecting outright would
turn a short traffic spike into the very failures this option exists to prevent.

**Unlimited by default**: today's behavior is preserved
exactly when this is not configured, and the hot path allocates nothing extra.

## Constructors

### <a id="Tracon_TraconModelConcurrencyOptions__ctor"></a> TraconModelConcurrencyOptions\(\)

```csharp
public TraconModelConcurrencyOptions()
```

## Properties

### <a id="Tracon_TraconModelConcurrencyOptions_MaxConcurrentCallsPerProvider"></a> MaxConcurrentCallsPerProvider

Gets or sets the maximum concurrent outgoing calls allowed per
provider. [null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null) means unlimited.

```csharp
public int? MaxConcurrentCallsPerProvider { get; set; }
```

#### Property Value

 [int](https://learn.microsoft.com/dotnet/api/system.int32)?
