Why agent usage can exceed the pasted prompt
A coding agent may add repo context, file reads, tool calls, terminal output, file edits, retries, and multi-step loops around the original prompt. That means the final usage can be much larger than what a simple one-turn chatbot request would consume.
This is why tools like Codex, Cursor, Claude Code, and GitHub Copilot can feel more expensive or more variable than a standard chat interface even when the user starts from a short prompt.