Here is a number that surprises most product managers the first time they see it.
A single API call to a large language model, with a moderately complex prompt and a detailed response, can cost anywhere from fractions of a cent to several cents, depending on the model and the token count. That sounds trivial. At a hundred calls per day, it is. At a million calls per day, it is not. At ten million calls per day, it is a major line item on the company's P&L.
Cost in LLM products is not a fixed overhead. It is a variable that scales directly with usage. And understanding the economics of that variable before it surprises you is one of the most practically important skills a product manager can develop.
Every interaction with an LLM API is priced in tokens. Input tokens, the system instruction, retrieved context, conversation history, and the user's message, and output tokens, what the model generates. Both sides of that transaction cost money, and the input is often far larger than people realize.
The cost drivers are straightforward once you understand them:
Aggressive caching and precomputation reduces redundant API calls significantly. Using Redis to cache results for common queries and precomputing answers for high-frequency, low-variability requests represents one of the most impactful cost optimizations available to production teams.
Cost in isolation is not meaningful. What matters is cost relative to value delivered. This is the concept of unit economics, and developing a clear model for it is one of the things that distinguishes mature AI product teams from teams that discover their cost problem only after it is a crisis.
The questions worth asking before launch: