TL;DR: Token spend now creates the same visibility and accountability gap that shadow IT once did, according to Aizome, because AI agents consume tokens through API calls and tool use rather than seats, while most organisations can only see aggregate invoices. Cost attribution has become an identity and governance problem, not just a FinOps issue.
At a glance
What this is: NHI Mgmt Group's analysis, drawing on Aizome's blog post: Token spend has become a shadow IT problem because organisations can see the bill but not reliably attribute usage to agents, owners, or workflows.
Why it matters: IAM, IGA, and security teams now need governance over agent identities, owner attribution, and anomalous usage because spend signals can also indicate compromise or misuse.
Context
The governance gap appears when AI agents consume cloud and model capacity without a stable human seat model behind them. Finance can see the invoice, but identity and ownership data often stop at the billing layer, which leaves no clear view of which agent, workflow, or business owner drove the spend. SaaS Security Buyer's Guide
That breaks a familiar enterprise assumption: cost visibility and access accountability were once tied to named users or well-scoped workloads. When agents act continuously, call external tools, and change consumption patterns at runtime, the control problem shifts from managing licences to governing agent identity and runtime behaviour.
Key questions
Q: How do organisations attribute AI agent token spend to a responsible owner?
A: Organisations should assign each production agent a unique identity, then bind usage records to a named human owner and cost centre. That approach makes token spend traceable for chargeback, investigation, and budget control. Shared API keys or model-level billing are too coarse because they hide which agent actually generated the consumption.
Q: Why does anomalous token consumption matter for security teams?
A: Anomalous token consumption can indicate an agent, service account, or API key is being used outside its expected runtime scope, often because of a compromised credential, excessive tool calls, or a misconfigured loop. Monitoring the consumption pattern helps security teams spot abuse early, then throttle access, rotate secrets, or revoke the token before broader data exposure occurs.
Q: What is the difference between seat-based licensing and token-based consumption?
A: Seat-based licensing charges for named users or assigned accounts, while token-based consumption charges for usage units consumed by an identity or workload. Seat models track entitlements tied to people, but token models track activity volume, such as API calls or model usage, which makes them better suited to transient agents and automated workloads.
Q: How can teams detect shadow AI before it becomes a breach issue?
A: Teams should correlate identity, endpoint, CASB, and procurement data to surface AI tools and services that bypass approved review. Shadow AI usually appears through existing enterprise access paths, so discovery works best when governance signals are treated as part of the detection stack, not a separate inventory exercise.
Technical breakdown
Why token spend behaves differently from seat-based licensing
Seat-based licensing assumes a stable mapping between one person and one entitlement. Token spend breaks that model because consumption is event-driven, task-driven, and often autonomous, with one agent able to generate hundreds of model calls in a single workflow. The billing unit is therefore not the user, but the action. That means traditional software spend controls see only the total cost, not the identity of the actor, the workflow that produced it, or whether the usage pattern fits the intended operating model.
Practical implication: Treat token usage as an identity-linked runtime signal, not just a finance line item.
How per-agent attribution changes governance
Per-agent attribution binds consumption to a specific agent identity rather than to a shared model account or generic API key. That matters because it creates a traceable relationship between activity, ownership, and accountability. Without that binding, organisations cannot distinguish a legitimate high-usage workflow from an overactive or compromised agent. The deeper issue is governance granularity: if multiple agents share the same access and spend pool, the organisation loses the ability to enforce least privilege, assign budget responsibility, or investigate anomalous behaviour cleanly.
Practical implication: Map every agent to a unique identity and owner before allowing production usage.
Why anomalous token consumption is a security signal
Token spikes can reflect prompt injection, runaway loops, or unauthorised tool and API use. In other words, cost anomalies are often behaviour anomalies. A sudden change in consumption pattern is meaningful because it can signal that the agent is no longer following its expected task boundaries, even if no traditional alert has fired. This is where financial monitoring and security monitoring converge: one view of consumption can reveal both overspend and misuse, but only if the organisation tracks the baseline at the agent level rather than the invoice level.
Practical implication: Baseline normal consumption per agent and alert on deviations in volume and pattern.
Threat narrative
Attacker objective: The objective is to drive unauthorised or excessive agent activity that consumes resources, obscures ownership, or supports broader misuse of connected systems.
- Entry occurs when an AI agent is granted legitimate access to model endpoints and external APIs for routine work.
- Escalation follows when the agent enters a runaway loop, is manipulated through prompt injection, or expands its call pattern beyond intended task scope.
- Impact appears as uncontrolled token consumption, possible misuse of connected systems, and a delayed understanding of which agent caused the spend and side effects.
Breaches seen in the wild
- Taiwan autonomous AI agent cyberattack 2026: Up to eight autonomous AI agents cracked 85 Taiwanese government accounts, pivoted through SSO and exfiltrated 2,564+ personnel records.
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
Token spend is now an identity governance problem. The core issue is not the invoice itself but the missing link between consumption, agent identity, and human ownership. Once AI agents become the unit of work, budget control and access governance collapse into the same operational question: who or what caused the spend, and under which authority? Practitioners need to treat usage attribution as part of identity governance, not as an accounting afterthought.
Shadow IT has returned in agent form. The older SaaS problem was unsanctioned software hidden from procurement and IT. The new version is autonomous or semi-autonomous agents whose actions are visible only in aggregate billing, while their ownership and runtime intent remain opaque. That makes this a programme design issue, not a reporting issue, because current controls were built for seats, not for agents.
Per-agent visibility is the new control boundary. When organisations cannot see which agent drove which tokens, they cannot separate legitimate workload growth from misuse or compromise. Shadow SaaS discovery is relevant here because discovery, ownership, and usage attribution now need to be solved together across both sanctioned and unsanctioned AI tooling. The practical implication is that governance teams should stop asking only what the spend was and start asking which identity generated it.
Consumption anomalies should be treated like access anomalies. A spike in token use, API calls, or external tool invocations is not just a cost variance. It can indicate that an agent has moved outside its intended operating envelope, which is a security condition as much as a budget condition. The field needs controls that recognise behavioural drift in AI agents as a governance event, not only a finance event.
What this signals
Token attribution will become a governance baseline for AI programmes. Organisations that cannot connect consumption to a named agent and owner will struggle to separate business growth from misuse. That gap will push identity teams to extend governance from access provisioning into runtime accountability, especially where agents can invoke tools and external APIs without direct human oversight.
Spend telemetry should be treated as behaviour telemetry. Once consumption patterns become a signal for prompt injection, runaway execution, or unauthorised tool use, finance and security operations need a shared view of the same data. The practical shift is from reporting how much AI cost to controlling which agent behaviours are acceptable at all.
For practitioners
- Define agent ownership records Require every production agent to have a documented human owner, business purpose, and cost centre before it is allowed to consume tokens at scale.
- Attribute spend at the agent level Stop relying on model-level or shared API-key billing alone, and bind consumption records to each individual agent identity.
- Baseline consumption patterns Establish normal token and API-call profiles per agent so that runaway loops and prompt-injection side effects can be flagged quickly.
- Separate sanctioned from unsanctioned agents Extend discovery to shadow AI and unsanctioned app usage so hidden agents do not bypass ownership and budget controls.
- Unify finance and security monitoring Feed consumption anomalies into both cost governance and security review so the same signal can drive chargeback and investigation workflows.
Key takeaways
- AI agent spend is no longer just a budgeting issue because the organisation may not know which identity, owner, or workflow generated the cost.
- Aggregate billing hides the behavioural signals that matter most, including runaway loops, prompt injection effects, and unexpected tool use.
- The control gap closes when teams tie consumption to agent identity, owner accountability, and anomaly detection at runtime.
Related NHI Mgmt Group resources: Shadow SaaS and Unsanctioned App Discovery Guide · SaaS deprovisioning · Exposure Management and CTEM Guide · SaaS Security Buyer's 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, OWASP Non-Human Identity Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0 and CSA Cloud Controls Matrix set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | ASI03 | Agent spend visibility depends on governing identity and privilege abuse at runtime. |
| Recommendation — Instrument agent identities to detect privilege and usage abuse during execution. | ||
| OWASP Non-Human Identity Top 10 | NHI-05 | Agents act through non-human identities and need least-privilege spend and access control. |
| Recommendation — Bind each agent to least privilege and review access against actual runtime use. | ||
| NIST CSF 2.0 | PR.AA-05 | The article centres on access permissions and accountability for AI agent actions. |
| Recommendation — Map AI agent permissions to PR.AA-05 and remove broad access that lacks ownership. | ||
| MITRE ATT&CK | TA0006;TA0010 | Prompt injection and runaway loops can drive credential-abusing or exfiltration-like behaviour. |
| Recommendation — Correlate anomalous token spikes with credential access and exfiltration indicators. | ||
| CSA Cloud Controls Matrix | IAM | Cloud governance for agent identities needs identity and access control across connected services. |
| Recommendation — Extend cloud IAM controls to AI agents and their connected service accounts. | ||
Key terms
- Token Spend: Token spend is the amount of model output and input consumed by an AI workload, usually translated into cost. It is useful for budgeting and monitoring, but it does not prove usefulness. Mature teams pair token spend with delivery, quality, and workflow metrics to understand real return on investment.
- Runaway Loop: A runaway loop is an autonomous process that keeps repeating actions without reaching a stopping condition. In agentic systems, it often happens when tool use, retries, or model outputs feed back into the next decision cycle, creating excessive calls, resource use, or repeated actions that need rate limits, guards, or kill switches.
- Per-Agent Attribution: Per-agent attribution is the ability to tie cost, behaviour, and policy decisions to a specific AI agent or workflow step. It is essential when multiple agents, tools, and retries are involved because aggregate dashboards hide which actor created the spend or the risk.
- Prompt Injection (Agentic): An attack where malicious instructions are embedded in content that an AI agent reads, causing the agent to execute unintended actions using its own legitimate credentials. A primary vector for agent goal hijacking and identity abuse.
Deepen your knowledge
NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM or identity governance programme, it is worth exploring.
Published by the NHIMG editorial team on November 6, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org