Foundation models for tables are easy to try. You hand TabPFN your training rows and it predicts, with no training loop and no tuning. That convenience hides a cost model that is very different from the gradient boosted trees most teams run today, and it is easy to get wrong by a factor of a hundred.

In our new study we measured that cost with hardware power counters, not estimates. This article covers the energy and cost side of The calibration and energy cost of tabular foundation models in clinical prediction (Artificial Intelligence in Health, October 2026). The companion article covers the accuracy and calibration side, where TabPFN came out slightly ahead.

Key takeaways:

  • Gradient boosted trees became the more energy-efficient choice after about 6 predictions.
  • One setting, TabPFN’s fit mode, changed the cost of a single prediction 121-fold (194.2 s vs 1.6 s at 6,000 training rows).
  • Sending 100 predictions in one call instead of one at a time cut energy per prediction about 99-fold.
  • On a CPU, a 100,000-row table did not finish in 7.5 hours. On a GPU, fitting took about a second.
  • Software energy estimates read 1.7 to 2.3 times lower than the hardware counters.

Why does a foundation model cost so much more per prediction?

A gradient boosted tree model pays its cost up front. You train it once, then each prediction is a quick walk down a few hundred small trees. That walk takes microseconds.

TabPFN works the other way round. There is no training step on your data. Instead, every time it predicts, it reads your whole training table as context and runs a large neural network over it. The training table becomes part of every prediction call. So the cost of one prediction grows with the size of your data, and it is paid again on every call unless you avoid it.

That is why the comparison has a crossover point. For a single prediction, TabPFN wins because the trees still have to be trained. As the number of predictions grows, the trees’ one-time training cost is spread thin while TabPFN keeps paying per call. In our measurements, against a CatBoost model with reduced feature bins, that crossover came at about six predictions, and it was stable across five repeats (coefficient of variation 2.4%).

For a store that scores every order, every visitor or every product, six predictions is gone in the first second.

Which setting made predictions 121 times cheaper?

TabPFN’s fit mode. In the default mode, the work of preparing the training context is redone for each prediction. In the cached mode it is done once and kept in memory.

Training rowsDefault mode, one predictionCached mode, one predictionDifference
2,00045.6 s0.75 s61×
6,000194.2 s1.6 s121×

The trade is memory: caching cost about 49 kB per training row, so roughly 300 MB for a 6,000-row table. On almost any server that is a good deal.

The broader lesson is the one we keep finding in our research. In an earlier study, one gradient boosting setting cut training energy in half. Here, one inference setting changed the bill 121-fold. The defaults in ML libraries are chosen for convenience, not for your running cost, and nobody checks them after launch.

Does batching help?

Enormously, and for the same reason. Because most of TabPFN’s cost is reading the training context, scoring 100 rows in one call costs barely more than scoring one. Going from a batch of 1 to a batch of 100 cut energy per prediction by a factor of about 99.

If you run TabPFN behind an API that scores one order at a time, you pay the full context cost on every request. If you can collect requests for even a few seconds and score them together, the cost per prediction collapses. My green-batch-ai tool applies the same idea to LLM API calls.

Can you run TabPFN on a CPU?

For small tables, yes. For anything larger, the study found it impractical:

  • A 100,000-row table with 88 features did not finish in 7.5 hours on the CPU.
  • A 50,000-row table with 395 features returned no result.
  • With a GPU, fitting took about one second across our test grid. (We measured GPU time but not GPU power, so GPU energy is not reported.)

We also fitted a simple cost model from the measurements: time grows with rows to the power 1.15 and with features to the power 0.52 (R² = 0.95 in log space). In plain terms, doubling the rows a little more than doubles the time, and doubling the columns adds about 40%. That lets you estimate cost before you commit, with a typical error of around 15%.

For stores running on ordinary cloud servers with no GPU, this is the deciding fact. A gradient boosted tree model will score a large order table on a small CPU in milliseconds.

Why measure energy with hardware counters?

Because estimates are often wrong. We read energy from Intel RAPL, the power counters built into the processor, using the whole-platform domain, with idle power subtracted and a fixed CPU governor. Popular software estimators came out 1.7 to 2.3 times lower than those readings.

We also caught one of our own early mistakes this way: an early setup read two overlapping power domains and counted energy twice. That is documented in the paper, and the corrected harness is in the public code. If you report the energy or carbon of your AI, measure it on the hardware where you can, and say which hardware and settings the number belongs to. My ai-carbon-report and greeninfer tools are built around that rule.

What this means for ecommerce teams

If you are thinking about a tabular foundation model for store data, such as fraud scoring, return risk, demand or customer lifetime value, run through these questions first:

  1. How many predictions a day? If the answer is more than a few dozen, trees will almost always be cheaper.
  2. Do you have a GPU in production? If not, keep TabPFN to small tables or offline analysis.
  3. Can you batch? If yes, the per-prediction cost drops by up to two orders of magnitude.
  4. Have you changed the fit mode from the default? If you are on default, you may be paying 61 to 121 times more than you need to.
  5. Does the exact probability drive the decision? If you only need a ranking, the small calibration gain is not worth the bill.

TabPFN is a real step forward for small, high-stakes problems. For high-volume store scoring, a well tuned gradient boosting model remains far cheaper, and the parallel-inference-tuner can make it faster still.

Want to know what your AI predictions actually cost per order? Book a free call and I will show you how to measure it.

About the paper

The calibration and energy cost of tabular foundation models in clinical prediction. Muhammad Ahmad Zia, Muhammad Muzaffar, Yosef Hasan Jbara, Bassam Elzaghmouri, Marwan Abu-Zanona and Danish Mahmood Khan (Zia and Khan contributed equally). Artificial Intelligence in Health, AccScience Publishing, published online 30 October 2026. DOI: 10.36922/AIH026320111. Code, measurement harness and pre-registration: Zenodo.

Limits worth knowing: the study used one CPU and one GPU, GPU results are timing only, facility costs such as cooling were not measured, and only TabPFN’s default configuration was compared for accuracy.