Your bill tripled this month.
Answers are the same length and the number of users has not changed.
- AThe provider must have raised the price of output tokens - that is where long answers cost money, even if their length looks the same on screen
- BThe model got slower, so each call bills longer
- CThe conversation history you resend every turn grew - the INPUT is where the money goes
- DSomeone raised the temperature, which costs more compute
Answer: C
The conversation history you resend every turn grew - the INPUT is where the money goes
Why
Every turn resends the whole conversation, so input grows quadratically with a session’s length while output stays flat. Summarise or trim the history and cache the stable prefix - the answer length was never the problem.
- ScalingOne heavy user’s retry storm eats the shared rate limit, and everyone else’s requests stall.
- ScalingAsked to review the UX of one module, an agent started 826 sub-agents and spent $78,000 with no result.
- ScalingYour agent re-embeds the same product catalog on every request to answer questions, and traffic is climbing fast.
- ScalingUnder load your agent fires many parallel model calls at once and starts getting 429 rate-limit errors.
More on Way of the Agent
- Course programThe first three modules are free: start in the browser or the app, no card needed.
- Library: guides, skills and promptsReady prompt templates, grouped into collections.
- AI ChroniclesSourced stories from the history of AI.
- ConceptsPlain-language explainers of agent engineering.
- Learn AI agentsApps and courses for learning AI agents, compared honestly.
Real situations from building agents - with the answer and why.
Solve a new one every day on the Path