Why AI Agent Query Patterns Require a Compute Capacity Pricing Model Not a Consumption Model
Agent queries are reasoning steps, so capacity pricing fits better.

AI agents need compute capacity pricing because their database queries are steps in a reasoning loop, each of which has no business value on its own. Per-compute-hour pricing makes high-frequency analytical queries an expected use of allocated resources, with no fresh charge for every probe. For real-time agents, the right model has an always-warm compute floor and consumption billing for background work that can wait through cold starts.
How AI agents actually query databases — the observe-think-act loop
A pricing agent runs on a short, fixed cycle. On each cycle, it queries current inventory, recent sales velocity, and competitor prices before it decides whether to act. If an observation is stale or ambiguous, it queries again. The first result therefore does not necessarily complete the task. Instead, it supplies the evidence that determines the next step, which may be another request for data or a pricing decision.
This is the observe-think-act loop in practice. The agent generates a query, executes it, checks the result against its intent, and refines the query if the answer is incomplete or incorrect. Repetition is part of the reasoning mechanism. The agent cannot know how many iterations it needs before it sees what the database returns, because it can proceed only when those results provide enough evidence.
That dependence on evidence makes freshness a correctness requirement. Production agents buy advertising inventory, adjust dynamic pricing, route support tickets, and approve transactions, so their observations inform actions with real consequences. A sound decision based on stale inventory can still produce the wrong outcome. For an agent with financial authority, that outcome is a measurable loss.
Why the loop shape produces a query volume that no one can forecast
A supply chain agent examining reorder thresholds may finish in two queries or twenty, depending on what it finds. A fraud detection agent needs evidence about what a customer did in the last minute or so. Although both tasks have a clear purpose, their read pressure depends on the evidence available at runtime and whether that evidence resolves the question.
The uncertainty sits inside the task itself. Human analysts can issue a deliberate query for a known purpose, while an agent can fan out from one task into dozens of tool calls within seconds and then go quiet. Some calls validate earlier results, and others explore a question those results have raised. So the number of tasks coming in does not tell the team how many database requests will follow. Nor does an average describe the concurrency of a particular burst.
The access surface can expand at the same time. Model Context Protocol, or MCP, provides a standard way for agents to connect to external tools, including databases exposed through an MCP server. More compatible agents can be orchestrated against the same endpoint without the database team necessarily knowing their calling frequency in advance. Both the depth of each reasoning loop and the number of loops running together are uncertain. Capacity planning must accommodate that variation rather than assume a fixed conversion from tasks to queries.
What per-query pricing actually charges for and why that maps badly onto agent behavior
Per-query pricing treats each request as a billable event. That fits a deliberate analytical question reasonably well, because a person asks for an answer and receives one. In an agent loop, however, many requests are intermediate probes, validation steps, or retries after partial results. They help the agent reach an outcome but have no separate business value. Billing each one makes the cost depend on how much uncertainty the agent encounters.
BigQuery’s on-demand model charges by bytes processed. An agent’s frequent probes against limited data therefore should not be confused with large analytical scans. Even so, repeated processing remains metered work, including work used to reject an interpretation or refine a question. The general mismatch is between charging for intermediate activity and budgeting for a completed capability.
Databricks illustrates another aspect of the economics. Mosaic AI and Vector Search workloads can consume large volumes of DBUs per hour depending on the tier, even though the per-DBU price for AI workloads is the lowest on the platform. Provisioned-throughput model-serving endpoints consume DBUs continuously during low-traffic periods, while CPU-based and pay-per-token endpoints can scale to zero without idle charges. The provisioned option makes visible the capacity floor that some workloads require.
For spiky work, paying only while work is running can save the cost of resources that sit unused. But an agent that encounters ambiguous data can issue more queries while doing exactly what it should, making thoroughness a source of extra cost. The database may also need to stay on between bursts. The next burst may require immediate service, which turns the apparent idle period into a question about readiness.
The cold-start penalty and why agents cannot absorb it the way batch jobs can
A batch job can often wait to start. A real-time agent chain has a different constraint because its steps depend on one another. Intent resolution, context retrieval, reasoning, and response can each add delay if the resources they need are cold. Where those steps run in sequence, their delays accumulate.
RisingWave’s 2026 infrastructure analysis places the freshness target for most production use cases at sub-second to low-single-digit seconds. A cold query layer can consume the available interval before it returns the facts an agent needs. If the underlying state changes quickly, the delay affects more than response speed. It can leave the agent reasoning about observations that are already too old for the decision.
For that real-time query path, capacity must be ready before the request arrives. Scale-to-zero savings cannot be separated from the delay incurred when service resumes. A team either pays for warm capacity up front or chooses a consumption configuration that keeps enough resources ready to meet the freshness requirement. This constraint applies to database paths whose answers must arrive within an agent’s decision window, while genuinely delay-tolerant batch work remains a different case.
Why routing agent queries through object storage makes both problems worse simultaneously
The billing unit is only part of the cost. Where queries physically go can add another meter underneath it. An architecture that routes every probe through object storage exposes the workload to request charges, retrieval fees on colder tiers, and data-transfer charges where egress applies. Those charges are on top of the headline storage rate. Repeated agent reads can therefore add storage-layer costs even if the database itself does not charge per query.
Each refinement repeats the underlying access work. As more agents run concurrently, their reasoning loops multiply the requests reaching storage, while polling latency adds delay to the same decision path. The two penalties reinforce the earlier mismatch. A task that needs more evidence can take longer and incur more charges without delivering a different kind of business outcome. Changing the database’s pricing model alone does not remove that architectural multiplier.
Keeping hot data in memory provides the contrast. When those reads never pass through object storage, they avoid the storage request and transfer charges associated with that path, as well as its polling gap. It separates the hot query path from a layer whose costs recur with access. For iterative agents, each new probe consumes available compute and also triggers another set of storage operations if the hot query path passes through object storage.
How MCP expands the agent query surface without warning and what that means for cost exposure
Dey and Viradecha’s 2026 Agentverse paper identifies MCP as a standard for connecting agents to external tools. It is a protocol. When a database exposes an MCP server, compatible agents orchestrated against it can use that interface to query data. Compatibility makes the same endpoint usable across an agent ecosystem whose orchestration may change independently of the database team, without itself granting universal access.
An additional agent can bring another set of iterative reads, and the database operator may not know its frequency beforehand. The aggregate meter records the resulting work. A quiet endpoint can consequently become a busy shared dependency without any change to its own query interface. The cost commitment grows with activity arriving from elsewhere in the system.
The access model also makes accountability essential. The Agentverse paper catalogs security and observability gaps, including the absence of an immutable audit trail beyond rolling logs. A bill for aggregate consumption does not supply that missing record. The operational requirements are spending caps, per-tenant quotas, and full query logging per agent, supported by governed compute allocated to an agent or agent class. These controls distinguish who performed the work from how much work the endpoint handled.
Isolated, read-only agent compute gives those controls a clear boundary. Agents can still see up-to-date production data while using isolated compute that keeps their queries off production query resources. Every agent query can be logged against that boundary, and capacity can be added to the agent tier without drawing from the main workload’s query resources. A dedicated floor committed in advance is structurally a capacity model, whatever the pricing sheet calls it. The team must assess what that allocation guarantees and what utilization risk it accepts in return.
How does per-compute-hour pricing avoid penalties for high-frequency queries?
Compute capacity pricing makes allocated resources the billable unit. Within that capacity envelope, a burst of dozens of probe queries does not create an extra charge simply because the agent asked more questions. The queries still use finite resources. If the workload needs more capacity, adding it can increase the bill, so “no per-query charge” does not mean unlimited throughput. It means that query count alone no longer determines spending.
An always-warm floor also changes the latency contract. Resources are ready before a request arrives, which takes database startup out of that query path and removes the need to count on gaps between bursts being long enough to make shutting down worthwhile. Capacity pricing alone is not sufficient if the chosen service still lets that floor disappear. Teams need to look for compute-hour billing, warm resources that stay ready, isolated agent compute, and a hot-data path that avoids repeated object-storage access. Together, these connect the economic model to the behavior the workload needs.
There is a real trade-off in utilization. A team that provisions for peak concurrency but usually runs far below it pays for unused capacity. In exchange, product planning can set a budget for the capacity an agent capability needs, with no change to the charge for each extra reasoning step. That is a useful bargain only when the readiness and throughput justify the commitment.
The practical resolution is a hybrid model. Real-time, agent-facing query paths keep a committed minimum compute floor, while background batch work can use consumption-billed capacity when it can wait through cold starts. This avoids treating every workload as though it has the same freshness requirement. Per-compute-hour pricing then lets high-frequency reasoning run on resources already paid for, while the team decides when to pay for more capacity. Once agents become first-class database users, their compute belongs in the capacity budget.


