AI Agent Billing Evolution: Budgets Shift from IT to Labor

    Enterprise software billing has progressed from asset licenses and SaaS seats to LLM API tokens and hosted agents billed by execution time or completed work. This article explains the three anchor shifts, the infrastructure required for hosted agents, how budget ownership and ROI calculations change when agents are treated as digital labor, and which metrics to use in vendor evaluation and acceptance.

    1. Four Billing Stages and Three Anchor Shifts

    The way enterprises pay for software has changed several times. With each change, the billing unit, budget category, and buying roles also change.

    Stage Billing Unit Budget Category Main Buying Roles Main Risk Borne by the Enterprise
    License authorization Discs, licenses, or CPU seats Capital expenditure (IT fixed assets) IT department Deployment, upgrades, and maintenance are the enterprise’s responsibility
    SaaS subscription Accounts or seats Operating expenditure (IT expenses) IT and business departments Idle seats; outcomes depend on employees
    LLM API Token usage IT spending R&D and technical teams Uncontrolled usage; output quality is hard to guarantee
    Hosted Agent Task execution time or work completed Potentially labor-related budget Business owners or HR, with IT involvement Ownership of outcome responsibility; substitution effects must be quantified

    1. License authorization era (buying assets)
    Roughly from the 1980s to the early 21st century, enterprises bought software discs, licenses, or CPU seats, essentially purchasing the right to copy and use software. The pricing anchor was the asset. Enterprises had to bear relatively high upfront investment and were responsible for subsequent operations, maintenance, and upgrades.

    2. SaaS era (renting seats)
    After cloud computing became widespread, enterprises bought account access rights monthly or annually. Spending shifted from capital expenditure to operating expenditure. However, what enterprises rented was still a tool, similar to a gym membership; the outcome depended on how much effort users put in.

    3. API usage era (buying compute)
    Around 2023, token-based billing for LLM APIs became increasingly common. Enterprises paid for model inference capability, and the metering unit was call volume. The budget was still under IT spending, and what the enterprise saw was how many tokens were consumed.

    4. Hosted Agent era (buying work hours)
    Providers package the full backend required for an Agent to run, and what the enterprise rents is a digital employee that can continuously execute tasks. Billing can be based on task execution time or completed work. The pricing anchor moves from usage to work hours, and the budget discussion expands from IT tools to structured execution-layer work.

    Viewed in the order of assets, seats, usage, and work hours, there are three anchor shifts in total.

    2. Underlying Technology for Digital Employees

    For an Agent to run reliably in an enterprise environment, an LLM alone is not enough. Providers also need to offer a runtime environment, state management, tool access, and audit capabilities. The hosted Agent discussed below refers to a service where the provider manages this infrastructure and the enterprise only submits tasks and authorization scope.

    2.1 Cloud sandbox and isolated execution
    An Agent needs to run code, read and write files, and even call internal systems. The platform should allocate an independent sandbox for each Agent instance, usually using Docker or Kubernetes to implement dynamic resource allocation and isolation. The purpose of isolation is to prevent cross-tenant data leakage and to ensure that the environment can be reset after the Agent performs high-risk operations.

    2.2 Session memory and state management
    Long-running tasks need to remember context. Platforms usually integrate a long-term memory module that vectorizes historical task records and the enterprise knowledge base and stores them in a vector database. This allows the Agent to stay consistent across multi-day tasks instead of starting from zero in every conversation.

    2.3 Toolchain integration and task orchestration
    The value of an Agent lies in calling the right tools to accomplish goals. The platform needs to provide preset tools such as web search, code interpreter, and enterprise internal APIs, and use an orchestration engine to split complex goals into steps in a directed acyclic graph (DAG), executing them in dependency order.

    2.4 Fault tolerance and resumable execution
    Enterprise tasks often take hours and may encounter network fluctuations, model timeouts, or host failures. The platform should persist state after each step is completed. The following is illustrative code:

    1. class HostedAgent:
    2. def execute_task(self, task_id, workflow):
    3. # Load the latest snapshot from the state store to determine where to resume
    4. state = self.state_store.load(task_id)
    5. start = state.next_step if state else 0
    6. for i in range(start, len(workflow.steps)):
    7. step = workflow.steps[i]
    8. try:
    9. result = self.run_tool(step.tool, step.params)
    10. except Exception as e:
    11. self.logger.error(f"Task {task_id} failed at step {i}: {e}")
    12. # Raise a retryable exception so the platform scheduler can redispatch according to the backoff policy
    13. raise TaskRetryableError(task_id, step=i, cause=e)
    14. # After a successful step, save the next step index and result
    15. self.state_store.save(task_id, next_step=i + 1, result=result)
    16. self.state_store.mark_done(task_id)

    After each step is completed, the code writes the next step index and result to the state store. After a process crash or host failure, a new node reads the latest snapshot and continues from the unfinished step. When a tool call fails, the platform scheduler redispatches the task according to an exponential backoff policy. After the maximum number of retries is exceeded, the platform sends an alert and transfers the task to manual handling.

    2.5 Audit logs and observability
    Enterprises need to trace every tool call, input and output, and key decision made by the Agent. The platform should provide structured audit logs and link them with monitoring alerts to meet compliance review requirements.

    3. How Budget Logic Shifts with Billing Anchors

    When the billing anchor changes, budget ownership and evaluation methods also change. A simplified hypothetical example illustrates this. A company’s customer relationship management (CRM) system has an annual license fee of CNY 100,000, recorded in the IT budget; the sales team has annual salary expenses of CNY 1,000,000, recorded in the labor budget. The Agent mainly affects standardized, repetitive, rule-clear execution work in the labor budget, such as organizing leads, checking orders, and generating weekly reports.

    As a result, ROI is evaluated differently. Traditional software focuses on how much efficiency has improved. Hosted Agents focus on how many labor hours are replaced and whether the replacement cost is lower than the labor cost. The following formulas can be used for estimation:

    Net benefit per task = Replaced work hours × Labor cost per work hour − Total Agent cost
    ROI = Net benefit per task ÷ Total Agent cost × 100%

    Total Agent cost should include the hosted service fee, token fees, and the cost of manual review and exception handling. Calculating only the first two is a common estimation bias.

    Assume a financial reconciliation process consumes 300 hours of manual work per month, the labor cost per work hour is CNY 120, and the monthly labor cost is CNY 36,000. If the Agent’s hosted fee, token fee, and review cost total CNY 12,000, the monthly net benefit is CNY 24,000, and the ROI is approximately 200%. These figures are illustrative only; actual estimates need to use the enterprise’s own data.

    The procurement decision also expands from a single IT department to joint decision-making across multiple departments. Business owners or HR focus on replaced work hours and staffing arrangements, while the IT department handles permissions, security, and system integration.

    4. Evaluation Metrics and Acceptance Checklist for Selection

    Selection should focus on the following metrics. The thresholds in the table are reference starting points and need to be confirmed through actual measurements in a pilot.

    Metric Meaning Reference Threshold
    Resume success rate after interruption Percentage of interrupted tasks that successfully resume from the latest checkpoint No lower than 99.5%
    Task availability Monthly percentage of time during which tasks can be normally scheduled and completed No lower than 99.9%
    Mean time between failures (MTBF) Average runtime between two failures Set according to business needs; track continuously during the pilot
    Recovery time objective (RTO) Maximum time from failure occurrence to task resuming execution No more than 5 minutes
    Recovery point objective (RPO) Maximum execution progress lost during a failure No more than one step
    Audit log completeness Completeness of audit logs To be defined during the pilot