Minimalist 3D render of concentric orange line waves and translucent green peaks mirrored against a deep purple background, illustrating agentic AI workload variance.

Nvidia reported a record quarter on November 17, posting $115.8 billion in revenue for its fiscal third quarter, up 103% from a year earlier, and raising next year’s growth outlook to about 75%. Yet the broader semiconductor and AI sector has faced selling pressure amid concerns about whether AI infrastructure spending will generate sufficient returns.

In Bank of America’s November fund manager survey, a record net 38% of respondents believed companies were overinvesting in AI, and 52% expect a major hyperscaler to announce a reduction in capital spending within six months (Stocktwits). Nvidia’s CFO, Colette Kress, told investors that the company is “rigorously evaluating future investments, commitments, and guarantees.”

This matters to companies building agents. Chipmakers are paid by cloud providers, cloud providers by enterprises, and enterprises keep spending only as long as AI pays for itself. If the companies at the end of the chain cannot show a return, the spending stops there first.

What companies are actually afraid of

Enterprises fear spending heavily on AI without knowing whether it delivers enough business value to justify the cost.

McKinsey’s July 2026 article, “Is that AI agent worth it?”, lays out the paradox. The inference cost of GPT-3.5-level capability fell from $20 to $0.07 per million tokens through 2024. Yet enterprise LLM spending tripled in the 12 months to the end of 2025. In McKinsey’s surveys, 93% of respondents report exceeding their AI budgets, and one in five organizations has limited its AI use because of operating costs.

“Tokens are not value; tokens are the bill.”

The view from the CEO’s office is no better. In PwC’s 2026 Global CEO Survey, only 12% of CEOs said AI had delivered both cost and revenue benefits, and 56% reported no significant financial benefit so far, reported Business Standard.

David Tepper, CEO of Pay-i, put it plainly in that McKinsey article: “Tokens are not value; tokens are the bill.” McKinsey recommends measuring the cost of completing a business task and comparing it with the outcome’s value.

Writing in EY, Shawn Smith put it another way: “Optimizing tokens without understanding total cost of ownership is like managing a factory by watching the electricity bill.”

The cost of an agentic task depends on how many calls it takes and whether it completes successfully. An agent may be cheap per call, but repeated calls and human intervention when it fails can make the overall task expensive. Better retrieval can reduce the number of calls an agent needs and improve its chances of completing the task successfully.

The workload changed shape

Token prices fell while bills rose because teams moved from chatbots that answer once to agents that search, call tools, check results, and try again before finishing a task.

In his EY piece, Smith offers an example: A customer-service chat that once cost $0.04 may now be a $1.20 orchestration, about 30 times more, once a single request turns into a multistep agent workflow. EY notes that agentic workflows can consume hundreds of thousands of tokens in a single session, where a chat needed hundreds.

McKinsey names six drivers of that cost. Four of them describe what happens around retrieval:

  • Long-lived context. Models are stateless, so an agent resends what it has gathered at every step. As a task progresses, the repeated context can substantially increase token consumption.
  • Refinement is the sink. About 60% of an agentic task’s cost goes to checking, repairing, and reverifying answers, not to the first answer.
  • Autonomy creates variance. The same task can cost 30 times more on one run than another, depending on the path the agent takes.
  • Information structure. How information is presented to the model changes how many tokens it consumes.

Search results can remain in the agent’s context for later steps, while irrelevant results lead to additional searches or verification. An agent that guesses how to query unfamiliar data may repeat the process several times.

And agents search far more than people do. Perplexity has described single tasks that trigger hundreds or thousands of retrieval operations within a few minutes. At that volume, cost is no longer counted per query. It is counted per task, and the total cost grows with the number of tasks the business runs.

Where the bill comes from: an agent learning your data on the job

An agent that has never seen your search application has to learn it by trial and error. It sends a broad query, reads the results, guesses at field names, tries a filter, gets nothing back, loosens it and tries again. Each attempt adds to token usage, and any search results the agent retains in its context may be processed again in subsequent model calls.

Take a shopper’s request: “Find me a black dress rated at least 4.0.” The agent needs to understand how product attributes are represented in the catalog before it can construct the right query:

  • Field names don’t explain how to search them. A product catalog may have title, description, and tags fields, but an agent needs to know which fields are searchable and how to use them. Without that information, it may search the wrong fields or miss relevant products.
  • Categories require exact matches. An agent can see the category_path field without knowing its valid values. If it guesses "Dresses" when the catalog uses "Women's Clothing", the query returns no results, forcing the agent to investigate and retry.
  • Some attributes aren’t available. If the shopper adds “I’m 5’3”, the catalog may have no field for garment length or fit. An agent that doesn’t know this may keep searching for information the application cannot provide.

“An agent rediscovers them for every task and user, and pays for each lesson in tokens, queries, and time.”

None of these is hard. The developer who defined the schema knows all three. An agent rediscovers them for every task and user, and pays for each lesson in tokens, queries, and time.

Agent-ready schemas: teach the agent once

An agent-ready schema captures what the application’s builders know, so the agent doesn’t have to rediscover it. Vespa automatically generates an agent skill from the application schema. Developers can enrich it with explanations of what the data contains, what each field means, and which rank profile to use for each request type. The generated skill incorporates those explanations and is served at /skills/v1/ on the same endpoint as search. Turning it on requires one element in services.xml, and the skill stays in step with the schema on every deploy.

The agent reads the skill once before it queries. It then knows which fields to search and how to use them, which category names exist and how to find them, and which ranking strategy fits the request.

Vespa‘s own evaluations, published on November 16, measured the impact of providing agents with schema skills:

  • Multi-turn agent evaluation: Using 20 product-discovery task templates, agents with the full schema skill used a quarter as many queries, 30% less model time, and 40% fewer tokens than agents without the skill, while achieving better correctness.
  • STaRK-Amazon: In an evaluation involving approximately one million products, agents with the skill achieved 12% higher relevance (MRR) and 68% lower token cost than agents without it.
  • One-shot evaluation: On tasks requiring knowledge of the data, the full skill achieved 93% correctness, compared with 9% for the skill without explanations. Field names and types alone are not enough: the meaning is what lets the agent write the right query the first time.

These evaluations show that giving agents access to schema skills improves performance and reduces costs, while developer-written explanations further improve their ability to construct correct queries.

Efficiency is a scale problem

A 40% reduction in token use can produce substantial savings at production scale.

Consider an illustrative example. Assume a company runs 100,000 agent tasks a day, each using 50,000 tokens and 10 searches without a skill, at a blended $3 per million tokens. Apply the results from the multi-turn agent evaluation above: 40% fewer tokens and a quarter of the queries.

MetricWithout the skillWith the skill
Tokens per task50,00030,000
Model cost per day$15,000$9,000
Model cost per year$5.48M$3.29M
Searches sent to the retrieval layer per day1,000,000250,000

That is about $2.19 million a year saved on model cost, from the same agent doing the same work. 

The reduction in search queries matters too.  750,000 fewer searches per day reduce the load on the retrieval infrastructure and reduce the chances of a slow query delaying an agent’s workflow.

More predictable costs may be another benefit. McKinsey found that the same task can cost 30 times more on one run than another. Different paths through trial and error can contribute to that variation. An agent that knows the data from the start may take fewer wrong turns, making its cost easier to predict and budget.

Quality and cost problems have the same solution

In Agentic AI, it doesn’t have a model problem. It has a retrieval problem; I discussed how retrieval quality affects an agent’s ability to answer questions correctly. On BrowseComp-Plus, GPT-4.1 answered 93.49% of questions correctly when handed the right documents, and 14.58% when it had to find them with a weak retriever. The difference was in the evidence the retriever supplied.

“In Agentic AI, it doesn’t have a model problem. It has a retrieval problem.”

The same retrieval problems also affect cost. An agent that understands the schema can reduce unnecessary queries and token usage while improving its chances of completing the task correctly.

That is what the market is asking for right now. Investors are questioning whether AI infrastructure will pay back. Enterprises will keep spending on agents that demonstrate business value relative to their operating costs and cut the ones that don’t. 

If you run agents against your own search application, here are three steps you can take:

  1. Add explanations to your schema: what the data is, what each field means, and when to use each rank profile.
  2. Turn on the schema skill and point your agent at it before it writes queries.
  3. Measure per completed task, not per call: tokens, queries, time, and whether the answer was right.

As your agentic workloads grow, avoiding unnecessary queries becomes increasingly important to keeping your operating costs under control.

The post The bill for agentic AI: Why agent-ready schemas are a cost strategy appeared first on The New Stack.