By NHI Mgmt Group Editorial TeamBased on Tumeryk: “How Tumeryk Saves You on Tokens” (November 5, 2025)

TL;DR: LLM deployments can drive up costs when long prompts, verbose outputs, and malicious request spikes inflate token consumption, according to Tumeryk. The governance challenge is not just optimisation but controlling who can spend model budget, how much context is exposed, and where abuse is stopped.


At a glance

What this is: This article argues that LLM token usage can balloon costs and create abuse risk when prompt handling and response limits are not governed.

Why it matters: It matters because IAM, NHI, and AI security teams need controls over model access, request volume, and secret-bearing prompts before usage becomes an operational and financial problem.

By the numbers:

  • Tumeryk says optimised token processing can deliver significant 30% or more cost savings.

Context

LLM token usage is a cost-control problem and, increasingly, a governance problem. Every prompt and response consumes budget, and long or redundant context can push spend beyond what teams expect if controls are left to ad hoc application logic. Where LLMs handle sensitive data, prompt handling also becomes part of broader identity and secrets governance.

The security issue is not only efficiency. If request filtering, output limits, and abuse controls sit outside a consistent policy model, teams can lose visibility into who is consuming model capacity, what data is being sent to the model, and how bot traffic or malicious automation is affecting service economics. This is a familiar pattern in AI operations, but it becomes more consequential when the model sits on top of enterprise identity and credential workflows.


Key questions

Q: How should security teams control LLM token usage without weakening AI functionality?

A: Treat token usage as a governed resource, not a developer convenience. Set budgets by application, cap prompt and response length, and require policy for any pre-processing that trims or redacts context. The goal is to reduce waste while preserving the data needed for accurate answers and auditable operations.

Q: Why can long prompts and verbose outputs become a security issue in AI applications?

A: Because they increase both cost and exposure. Long prompts can carry sensitive context, and verbose outputs can reveal more than the business intended. When those behaviours are uncontrolled, an attacker can also abuse the same path to inflate spend, making token governance part of security operations.

Q: What are the signs that an LLM application is being abused for cost inflation?

A: Look for sudden token spikes, repeated large prompts, abnormal response lengths, and bursts from the same source or workload. Those patterns usually indicate misuse, automation, or poor application controls. The key is to separate legitimate heavy usage from traffic that is consuming budget without business value.

Q: Should organisations treat prompt pre-processing as an AI control or an application feature?

A: As an AI control. Once the system decides what context is removed, retained, or blocked before the model sees it, that layer is enforcing policy. It should be governed like any other security control, with clear ownership, testing, and logging for changes and exceptions.


Technical breakdown

How tokenisation drives LLM cost exposure

Tokenisation breaks input and output text into smaller units that the model processes and bills against. That means cost is a function of both the size of the prompt and the length of the response, not just the number of user requests. In practice, verbose prompts, duplicated context, and poorly constrained generation all increase spend. For security teams, this matters because the same uncontrolled context that inflates cost can also carry secrets, credentials, or sensitive operational data into the model. Read the Ultimate Guide to NHIs: Static vs Dynamic Secrets.

Practical implication: measure token consumption by prompt type and set policy on maximum context and response length.

Why prompt pre-processing changes the control surface

Prompt pre-processing reduces unnecessary or redundant information before the request reaches the model. That changes the control surface from reactive cost review to proactive request shaping. It can lower usage, but it also becomes a governance point because the pre-processor decides what context survives, what is redacted, and what is blocked. If that layer is not policy-driven, teams may save money while creating blind spots in data handling and auditability.

Practical implication: place prompt filtering under documented policy so redaction and truncation are consistent and reviewable.

How malicious traffic turns model spend into an abuse channel

When attackers or bots flood an application with large volumes of requests, they can drive artificial token consumption and create a financial denial of service. The issue is not just volume, but the fact that each request can trigger model processing, retrieval, and downstream orchestration. In AI environments, cost abuse often coexists with data exposure risk because the same endpoint may accept prompts that include identifiers, secrets, or internal context. That makes abuse control part of both resilience and governance. See the LLM Provider API Key Security and LLMjacking Guide.

Practical implication: rate-limit AI endpoints and tie request admission to identity, reputation, and workload policy.


Threat narrative

Attacker objective: The objective is to drive up LLM spend or abuse model capacity while exploiting weak request governance.

  1. Entry occurs through high-volume or malformed requests sent to an LLM-enabled application.
  2. Credentialed or unauthorised traffic then consumes model tokens through repeated prompts, long context, or forced verbose output.
  3. The attacker or bot inflates operational spend and can also increase exposure if sensitive context is passed through the model pipeline.
  4. Impact appears as runaway cost, degraded service predictability, and potential data-handling risk within the AI workflow.
  • OmniGPT breach claim 2025: A hacker claims to have leaked 34 million OmniGPT AI chat messages holding users' API keys and credentials; OmniGPT has not confirmed it.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

LLM spend control is now a security governance problem, not a pure FinOps issue. Token consumption is shaped by prompt design, response limits, and request admission, which means the same controls that protect budget also shape data exposure and abuse resistance. When AI systems sit inside identity-heavy workflows, uncontrolled prompting can leak context and credentials as easily as it can burn through budget. Practitioners should treat token policy as part of AI governance, not as an optimisation afterthought.

Prompt pre-processing creates a new policy enforcement point. If a pre-processor trims context, redacts values, or blocks requests, it is performing control decisions that should be auditable and role-bound. That is especially important when prompts may contain secrets or identity data, because silent truncation can create downstream errors while silent passthrough can create exposure. Teams should define who can change that layer and what evidence proves it is working.

LLM abuse is a cost anomaly before it is a security incident. Sudden token spikes, unusual prompt lengths, and repeated calls from the same source are early signals that a model is being used in ways the business did not intend. That makes observability essential: the control plane has to show not just output quality but spending behaviour, source identity, and policy enforcement. Practitioners should use those signals to distinguish normal experimentation from model abuse.

Token inflation risk: uncontrolled prompt and output growth can turn AI usage into a financial and governance liability. The practical response is to define where context is allowed, who can send it, and how much the model may return. Without those boundaries, efficiency tooling masks a deeper control gap in AI operations. Practitioners should align token policy with access policy, not manage them separately.

From our research library:

What this signals

AI cost governance and AI security are converging. The organisations that get this right will measure token consumption the way they already measure access and privilege drift: as a control signal, not just an expense line. If request admission, prompt shaping, and output limits are not policy-driven, the model becomes a budget sink and a data-handling risk at the same time.

Token economy controls should be treated like workload policy. The relevant question is no longer whether the model can answer efficiently, but whether the application can prove which prompts were accepted, what was removed, and why certain requests were blocked. That is where governance becomes operational, especially when prompts may include credentials, customer data, or internal system context.

From an identity perspective, the control question is who is allowed to spend model capacity. In a production environment, the same access patterns that govern API usage should also govern LLM calls, because unauthorised or automated traffic can become a direct cost and exposure channel. Security teams should align AI request policy with identity policy and treat usage anomalies as a monitoring priority.


For practitioners

  • Define token budgets by workload Set per-application and per-tenant token ceilings so experimentation, production chat, and back-office analysis each have separate spend boundaries.
  • Place prompt filtering under governance Document what the pre-processing layer may redact, truncate, or block, and require change control for rule updates.
  • Limit response verbosity by policy Use output caps and response-shaping rules to prevent long-form completions from creating avoidable cost overruns.
  • Tie AI request admission to identity signals Restrict high-volume access by source identity, workload trust, and request pattern so bot traffic cannot consume model capacity unchecked.

Key takeaways

  • LLM token growth is not just a cost problem. It is also a governance problem because prompt volume, response length, and request source all affect control over AI usage.
  • The article’s strongest evidence is that optimised token processing can produce 30% or more cost savings, which makes waste reduction a measurable control objective.
  • The practical answer is to govern prompt shaping, output limits, and request admission together so AI spend cannot be abused or hidden.

Related NHI Mgmt Group resources: Guide to the Secret Sprawl Challenge · LLM Provider API Key Security and LLMjacking Guide · Ultimate Guide to NHIs: Static vs Dynamic Secrets · API Key Management Guide


Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Agentic AI Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST AI RMF, NIST AI 600-1 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST AI RMFGOVERN — AI Governance and AccountabilityToken policy, output limits, and abuse controls are governance decisions for AI systems.
Recommendation — Establish governance for token budgets, prompt policy, and change control across AI workloads.
NIST AI 600-1GenAI ProfileThe article focuses on operational risks in generative AI usage, including cost and misuse.
Recommendation — Apply the GenAI profile to control prompt handling, usage monitoring, and abuse resistance.
OWASP Agentic AI Top 10ASI02 — Tool MisuseRequest abuse and uncontrolled model use map to misuse of the AI system's capabilities.
Recommendation — Limit abusive AI interactions by constraining permitted actions and monitoring anomalous usage.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsIdentity-based request admission and usage boundaries are access-control issues.
Recommendation — Apply access authorisation controls to restrict who and what can consume model capacity.
MITRE ATT&CKTA0040 — ImpactCost inflation and service degradation are impact outcomes of abusive request patterns.
Recommendation — Track abnormal token spikes as impact-oriented abuse and investigate the source workload.

Key terms

  • Tokenisation: Tokenisation replaces a sensitive value with a non-sensitive substitute that preserves workflow utility without revealing the original data. It is useful when systems need to process or display records while keeping direct personal identifiers out of normal operating paths.
  • Token Inflation: Token inflation is the uncontrolled increase in model token consumption caused by verbose prompts, long outputs, or automated abuse. It turns AI usage into a cost and governance problem because the same request path can be exploited repeatedly at scale.
  • Pre-Processing: Pre-processing is the image preparation stage that improves document quality before character recognition begins. It can correct skew, remove noise, enhance contrast, and reduce the impact of shadows or glare. In identity verification, this step determines whether the OCR engine sees a clean document or struggles with a poor capture.
  • Response Shaping: Response shaping is the reduction or filtering of returned data so the agent receives only what it needs for the current task. In secure deployments, it prevents large responses from leaking unnecessary detail or enabling additional unauthorized actions.

Deepen your knowledge

NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, machine identity security, and secrets management. It helps practitioners connect identity controls to the broader security programmes that depend on them.
NHIMG Editorial Note
Published by the NHIMG editorial team on October 22, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org