ResearchBy Chris Couch

Is AI Inference Overtaking Databases? What the 2026 Data Says About Software Margins

Public data supports part of the inference story. Database spending is still growing fast, token prices are falling fast, and AI costs are already pulling gross margins down at Snowflake, Figma and Shopify by their own account. The same companies report cost per task falling, and database vendors say AI use lifts their core business instead of replacing it.

What did we find?

  • Gartner sizes the database market at $140.2 billion for 2025 and forecasts $161 billion for 2026. It is large, and it is still growing at double digits.
  • How big inference looks depends on what you count. Gartner puts 2026 inference spending on AI-optimized cloud infrastructure at $23.3 billion, a far narrower measure than the forecast in Tomasz Tunguz's post.
  • Tokens are getting cheaper very fast. Epoch AI finds the cost of a given level of AI performance has fallen about 47% per quarter since 2023.
  • Usage is growing faster still at the largest provider that publishes it. Google went from 9.7 trillion tokens a month to 3.2 quadrillion in two years.
  • AI is already visible in gross margins. Snowflake, Figma and Shopify each tied a 2026 margin decline to AI costs in their own filings or calls.
  • Margins can recover. Wix says its Base44 AI product went from near-zero gross margin in Q1 2026 to 58% in Q3 after it moved to its own model.
  • Database vendors report that AI use lifts their core business. Snowflake says customers using its AI products consume more of the core platform, and Databricks says agents now create 80% of the databases on its platform.
How big is the database market? Worldwide database management system spending in billions of US dollars, all figures from Gartner. 2024 is from Gartner's DBMS market share report (May 2025). 2025 is from Gartner's November 2026 Magic Quadrant, as reported by Virtualization Review. 2026 is Gartner's forecast (December 2025).
LabelValue
2024 actual 119.7
2025 actual 140.2
2026 forecast 161

Download the data as CSV

This research asks whether AI inference is overtaking databases as the largest market in software, and what that does to software margins. It started with a LinkedIn post by Tomasz Tunguz of Theory Ventures. Our short brief covers what his post says. This page goes further and checks the claim against public data on market size, token prices, usage, and the gross margins companies reported in 2026.

What does Tunguz actually claim?

In the post, Tunguz writes that AI inference “could grow from $160B to $350B next year, overtaking databases as the largest market in software.” He adds that, for software companies, that could mean margins closer to 30 to 50% than the usual 72%. Those two sentences are the whole post text. He frames both as possibilities, and we treat them that way.

He also wrote a longer blog post on October 5, 2026, titled “Inference Is the Most Important Market in Software.” It uses a different set of numbers. It says companies paid about $25 billion to run AI models in 2025, that the market reaches roughly $130 billion in 2026, and that it reaches about $350 billion by 2027, passing a $190 billion database market. The blog and the LinkedIn post do not use the same figures, so we keep them apart and do not try to reconcile them.

How big is the database market today?

Gartner is the most cited source on database spending, and its public summaries give a clear trend. Gartner’s 2024 market share report says the database management system market grew 13.4% in 2024 to $119.7 billion. Its November 2026 Magic Quadrant, as reported by Virtualization Review, puts 2025 at $140.2 billion, up 17.9%, with cloud at 67% of spending.

Gartner’s latest public forecast expects the market to grow 18.4% in 2026 to $161 billion. It names AI adoption among the drivers, and it expects vector databases to grow at a 75.3% compound annual rate. So the incumbent in this comparison is not shrinking. It is growing faster now than it did in 2024.

How big is inference, and why do the estimates disagree?

There is no single agreed number for inference spending, because people count different things. Some estimates count only the cloud capacity that runs models. Others count everything companies pay to model providers and platforms to get answers back. A database market total is software spending, while a large part of inference spending is rented compute.

Gartner’s narrower measure shows the gap. In an August 2026 forecast, it says spending on AI-optimized cloud infrastructure will reach about $42.3 billion in 2026, up 96%. Within that, Gartner expects inference spending of $23.3 billion to pass training spending of $19 billion in 2026. It expects inference to be 59% of that spending in 2027.

MeasureFigureSource
Database market, 2025$140.2BGartner, via Virtualization Review
Database market, 2026 forecast$161BGartner
Inference on AI-optimized cloud infrastructure, 2026$23.3BGartner
Training on AI-optimized cloud infrastructure, 2026$19BGartner

Each row is a separate Gartner figure, and the inference rows measure only one layer of the market. That is the main reason any “inference passes databases” headline needs a definition next to it. On a broad definition, the crossover can come soon. On Gartner’s infrastructure measure, inference is still a fraction of the database market in 2026.

How fast are token prices falling?

Each study we read finds steep declines, though the rate depends on how you measure. Epoch AI’s 2026 study, The plunging price of thought, finds the cost of reaching a given level of AI performance has fallen about 47% per quarter since 2023, or about 13 times per year. It finds the drop is fastest right after a level of performance first appears, and slower two years later.

Earlier work points the same way. Epoch’s March 2025 analysis found declines of 9 to 900 times per year depending on the benchmark and the performance threshold. In November 2024, a16z’s LLMflation analysis estimated that the cost of a model with equivalent performance falls about 10 times every year.

There is a catch that matters for margins. These studies hold capability fixed, while most products move to the newest model. In his October blog post, Tunguz writes that the frontier blended price rose from $0.96 to $11.25 in 18 months before a new model reset the tier to $4.00. A product that always runs the best model does not get the full benefit of the falling curve.

Is usage growing faster than prices fall?

Google publishes the clearest usage numbers of any large provider. In its June 2026 investor presentation, Alphabet said it processed 9.7 trillion tokens a month two years earlier and 3.2 quadrillion a month by mid-2026. Alphabet called that a more than 300 times increase across its products.

The growth has not slowed. On its Q3 2026 earnings call, Alphabet said its first-party model APIs were processing nearly 32 billion tokens per minute. That was 40% more than the prior quarter and more than four times the level a year earlier. These usage counts and the price studies above come from different sources and measure different things, so we do not net one against the other. They do show both forces moving very fast at the same time.

Are AI costs showing up in software gross margins?

Yes. Several public software companies now name AI costs as a reason their gross margins moved in 2026. None of them gives a margin for AI alone, so the size of the effect rests on each company’s own words.

  • Snowflake. On its Q2 FY27 call, Snowflake guided to a 74% non-GAAP product gross margin for the year. Its CFO said the outlook includes a higher mix of AI workloads, “which carry a lower contribution margin today.”
  • Figma. Its Q3 2026 10-Q shows nine-month gross margin of 81%, down from 83% a year earlier. It cites a $90.3 million increase in infrastructure and hosting costs relating to AI and higher usage, and it says it expects AI spend to hurt gross margins.
  • Shopify. On its Q3 2026 call, Shopify reported a 79% Subscription Solutions gross margin and said it compressed from a year earlier “primarily from incremental AI spend on Sidekick.” Its 10-Q now lists LLM usage among its infrastructure costs. These declines are a few points each, from high starting levels, at large companies where AI is one feature among many. They show the direction Tunguz describes. They do not show the size of the drop in his post, and none of these companies reports a margin for its AI products alone.

The infrastructure side shows the same pressure. Microsoft’s investor metrics put Microsoft Cloud gross margin at 66% in Q1 FY27, against 68% a year earlier. On the call, the CFO attributed the decline to a sales mix shift to Azure and guided to roughly 65% for the next quarter. She also said roughly three quarters of the quarter’s capital spending went to short-lived assets, mainly CPUs and GPUs, for customers building AI applications.

Can margins recover as inference gets cheaper?

The best evidence that they can comes from companies that changed how they run models. Wix’s Q3 2026 results say its AI app builder Base44 reached a 58% non-GAAP gross margin in Q3, from near zero in Q1. Wix credits its own model, Base 1, for the change. Its core Creative Subscriptions business ran an 83% non-GAAP gross margin in the same quarter, and Wix expects Base44 to approach its core margin next year.

Shopify gave a direct test of price against usage for one product. On the same call, its CFO said that from Q2 to Q3, Sidekick conversations rose 14% while cost per conversation fell 28%, and total Sidekick cost fell 18%. He credited model selection, distillation and caching. For that quarter, cost per task fell faster than usage grew.

Snowflake described the same lever on its call. It said many customer requests arrive in an “auto” mode that lets it match each task to the most suitable model. It also said it has “pretty different economics” on open source models because it runs that inference itself.

Does more inference mean less database spending?

The vendors closest to the question say no, at least so far. On its Q2 FY27 call, Snowflake reported 37% product revenue growth, its third straight quarter of acceleration. Its CFO said accounts using its CoCo AI product “are consuming more of the core as well.” Snowflake describes this as a flywheel, where AI use pulls more data work onto the platform.

Databricks reports the same pattern at the level of individual databases. In its State of AI Agents report, as covered by Forbes, Databricks said AI agents now create 80% of databases and 97% of test and development environments on its platform. Those are counts of databases, not dollars, but they show where new database work is coming from.

Gartner sees the same direction. Its November 2026 Magic Quadrant, as reported by Virtualization Review, describes operational databases becoming memory stores for autonomous agents. It says autonomous systems can generate 10 to 100 times more interactions than human users. That is more load on the database, not less.

What is our view?

Our view, which is the view of this site and not a claim by Tunguz, is that inference and databases grow together. Agents have to keep state. Every step reads context and writes a result, a plan or a log somewhere. The vendor comments above fit that view, and Gartner’s forecast of 18.4% database growth in 2026 does not look like a market being replaced.

Our second view is that margins hinge on one race. If the cost per task falls faster than usage per customer grows, AI products can move back toward software norms, as Wix’s Base44 and Shopify’s Sidekick did this year. If usage grows faster, or products keep chasing the newest and priciest models, margins stay compressed. Both of these are views to test against the next few quarters of filings, not settled findings.

What is the strongest case against our view?

The first counterargument is that a count of databases is not a measure of spend. Agents create many small, short-lived databases, and Databricks says it built Lakebase so agents can spin them up and tear them down in seconds without copying data. More databases at a much lower cost each can leave total database spending flat. Gartner’s report, as covered by Virtualization Review, also says vendors are building cost controls into the database for this kind of load.

The second is that the vendor evidence comes from vendors. Snowflake and Databricks both sell AI products on top of their data platforms, so they have reason to describe AI as good for the core. Independent spending data that splits AI-driven database use from the rest is not public yet.

The third is that usage can keep winning. Google’s token counts grew more than 300 times in two years, and agents run many model calls per task. If usage per customer keeps growing at that kind of pace, total inference cost keeps rising even as each token gets cheaper. In that case, Tunguz’s lower margin range is closer to the outcome than our view suggests.

What can this research not tell you?

It cannot rank inference and databases precisely, because the estimates measure different things. Gartner’s inference figure covers only one layer of cloud infrastructure, and Tunguz’s figures are his own forecasts. Neither one is a measured total of everything companies spend to run AI.

It also cannot isolate AI’s effect on margins. Snowflake, Figma, Shopify and Microsoft all mix AI costs with other hosting and infrastructure costs. The direction is clear from their wording, but the size is not.

What will we watch next?

Watch Snowflake’s Q3 FY27 results on December 2, 2026 for its product gross margin and any update on AI’s share of the mix. Watch whether Figma and Shopify report gross margins stabilizing as their model costs fall. Watch Google’s next token count against the next round of price studies from Epoch AI.

Watch Gartner’s next database forecast. If it holds growth near 18% while inference spending climbs, that supports the view that the two grow together. If database growth slows as AI spend rises, the substitution case gets stronger.

Which figures did we fail to verify?

  • The source and scope behind the $160 billion and $350 billion figures in Tunguz’s LinkedIn post. The post text gives no source.
  • The basis for the 72% “usual” software margin in Tunguz’s post. The post does not name the companies behind it.
  • Gartner’s full 2026 database figures and the $190 billion 2027 database figure in Tunguz’s blog. Gartner’s full reports are behind a client login, so we used only its public summaries.
  • A gross margin for any AI product alone at the companies above, except Wix’s Base44.
  • Independent data on how much database spending AI agents drive, as opposed to how many databases they create.

How was this study done?

Method
We read public filings, earnings call transcripts, analyst summaries and published price studies dated from November 2024 to November 2026, and checked each one on November 24, 2026. Each figure is kept with its own source and never combined with a figure from another source. We will refresh this page after the next round of quarterly results, starting with Snowflake on December 2, 2026.
Sample
19 public sources: 2 posts by Tomasz Tunguz, 3 Gartner documents and 1 press report on a fourth, 3 price studies, 9 filings, earnings calls or investor materials from 6 companies, and 1 press report on a Databricks study.
Confidence
Market sizes here are forecasts and analyst estimates with different scopes, so they show direction and rough scale, not a precise ranking. Company margins are reported figures, but most companies do not split out AI costs, so the link to inference rests on each company's own wording.

Sources

  1. Tomasz Tunguz, LinkedIn: AI inference could grow from $160B to $350B next year
  2. Tomasz Tunguz: Inference Is the Most Important Market in Software (October 5, 2026)
  3. Gartner: Market Share, Database Management Systems, Worldwide, 2024
  4. Gartner: Forecast, Database Management Systems, Worldwide, 2023-2029, 2025 Update
  5. Virtualization Review: Gartner, Cloud Gains Share, but On-Prem Database Spending Keeps Growing
  6. Gartner: Worldwide AI-Optimized IaaS Spending to Grow 96% in 2026
  7. Epoch AI: The plunging price of thought
  8. Epoch AI: LLM inference prices have fallen rapidly but unequally across tasks
  9. a16z: Welcome to LLMflation, LLM inference cost is going down fast
  10. Alphabet investor presentation, June 2026
  11. Alphabet Q3 2026 earnings call
  12. Microsoft FY27 Q1 earnings call
  13. Microsoft FY27 Q1 investor metrics
  14. Snowflake Q2 FY27 earnings call transcript (Stock Analysis)
  15. Figma Form 10-Q for the quarter ended September 30, 2026
  16. Shopify Form 10-Q for the quarter ended September 30, 2026
  17. Shopify Q3 2026 earnings call transcript (The Motley Fool)
  18. Wix third quarter 2026 results (Form 6-K)
  19. Forbes: Databricks Says AI Agents Now Build 80% Of Enterprise Databases

Published . Reviewed .

Cite this

Couch, C. (2026). Is AI Inference Overtaking Databases? What the 2026 Data Says About Software Margins. Ends at Cash. https://chriscouch.ai/research/ai-inference-vs-databases-software-margins-2026/

BibTeX

@misc{couch2026inferencedatabases,
  author = {Couch, Chris},
  title = {Is AI Inference Overtaking Databases? What the 2026 Data Says About Software Margins},
  year = {2026},
  howpublished = {Ends at Cash},
  url = {https://chriscouch.ai/research/ai-inference-vs-databases-software-margins-2026/}
}