Token usage is the amount of text a model processes, counted across both input and output. A prompt, system instructions, retrieved context, and the model’s reply all consume tokens. Because providers usually price and rate-limit by tokens, usage directly affects cost, latency, and throughput. Larger prompts or longer outputs take more compute and reduce how many requests a service can handle at once.
In cyber security, token usage matters because it can reveal abuse, hidden inefficiency, or overload. A prompt-injection attempt may force a model to generate unusually long responses, raising cost and increasing the chance of hitting limits. In agent systems, repeated tool calls and verbose context can create token spikes that look like a service problem but are really workflow bloat. Defenders monitor token usage to set quotas, detect abnormal growth, tune prompts, and prevent retry loops from turning a minor failure into a capacity issue.


