LLM Tool Call Loops in .NET: Root Cause and Fix
An LLM tool call loop is one of the few production failures in a .NET AI endpoint that costs you money while looking completely healthy. There is no exception. There is no 500. There is a request that

Search for a command to run...
Articles tagged with #cost-optimization
An LLM tool call loop is one of the few production failures in a .NET AI endpoint that costs you money while looking completely healthy. There is no exception. There is no 500. There is a request that

Look at a week of traffic through any AI endpoint and the distribution is always lopsided. A large majority of requests are trivial - classify this ticket, extract these three fields, answer a questio

The first AI endpoint I put behind a rate limiter was protected by a policy that allowed 60 requests per minute per user. It felt responsible. Two weeks later one customer generated a bill larger than

LLM APIs charge per token - and in production, that cost accumulates far faster than most teams expect. We have seen services go from a few dollars a day to hundreds overnight, with no obvious change
