Sign in Sign up
nuget

AzureAICommunity.Agent.Middleware.TokenUsageMiddleware

A plug-and-play token quota middleware for Microsoft.Extensions.AI chat pipelines. Enforces per-user monthly (or custom-period) token limits using a pluggable quota store, fires a usage callback after every completion, and raises a QuotaExceededException when the limit is hit — before the request ever reaches the LLM.

Activity

Latest release
5mo ago
Total releases
1
Cadence
Last 12 months
1

Reach

Stars

Details

License
MIT
First release
Apr 15, 2026
Releases
Version Released
1.0.0 initial