Introducing TabPFN-4
Today we’re releasing TabPFN-4, the first tabular foundation model (TFM) that can use 10 million rows as context in a single forward pass.
Gradient-boosted trees have long been the models to beat on large tables. Earlier TFMs struggled because doubling the number of rows meant quadrupling the inference time.
TabPFN-4 is 100 times faster than TabPFN-3.5, as with the new architecture, inference time grows subquadratically as row count increases. This breakthrough comes without compromising on predictive performance - TabPFN-4 ranks first by a large margin on BeyondArena’s datasets with more than 100,000 rows. We have also updated TabPFN-Thinking to make use of the improvements. See the benchmark results
TabPFN-4 also takes more of your business context as input. Providing sample weights allows you to direct the model to records that matter most for your business objective. Group IDs tell the model which events share context, and label reliability lets you specify how much confidence you have in past outcomes.
In this blog, we’ll look at how TabPFN-4 changes prediction workflows across industries, and how it enables agents to make predictions grounded in your data.
TabPFN-4 is available today through our API. Try TabPFN-4 on a dataset you know well, or talk to us about your use case. And if you’d like a prediction problem to start with, join us this December for the Advent of TabPFN-4.
Predict financial outcomes
Better predictions help financial institutions price risk and decide where to put capital. With TabPFN-4, data science teams can use more of their historical data and detect the risks that matter most for their portfolio.
Banking & credit
Banks run on predictions and depend on identifying fraudulent transactions and risky applications. The hardest cases are the ones where default is rare but accounts for most of a bank’s annual losses.
For banks, growth often means operating in markets with little history. TabPFN-4 can learn from the existing book, up to 10 million records across every segment. Its predictions for a new market can then draw on what the existing ones have in common.
In business lending, a single big credit line going under is a massive risk exposure for the bank. For the first time, TabPFN also supports providing sample weights. Lenders can weight loans by outstanding balance, giving the largest exposures more influence on the portfolio forecast.
Energy and financial trading
Trading desks forecast tomorrow’s price from past observations. TabPFN-4 understands time better than all previous TabPFN versions, setting the state of the art in BeyondArena’s temporal tasks.
Across a portfolio of 3000 stocks, TabPFN-4 can learn from up to 13 years of daily data. You can provide stock or exchange IDs so the model treats them as related. And when new data is available, it goes straight into the context with no retraining, so teams can test a new strategy without delay.
TabPFN-4 also brings improvements to energy trading. When bidding for day-ahead electricity, power buyers have different risk tolerances. A buyer that depends on having energy to serve their customers will bid higher to guarantee the purchase, and one that has other options can accept the risk of bidding lower. TabPFN-4’s calibrated predicted distribution enables them to choose a bid that matches their risk tolerance.
ScoringBench checks whether or not the actual values are contained within the predicted distribution of the model. TabPFN-4 ranks first on ScoringBench and beats the previous generation of TabPFN on roughly six out of seven datasets.
- TabPFN-42,257
- Kumo-Tabular2,228
- LimiX-22,050
- TabPFN-3.51,938
Insurance
Insurers price on risk exposure and claim history, and a large book contains millions of policy-years. TabPFN-4 can learn from the whole history instead of a sample, so that pricing reflects the market.
And when insurer prices a policy, expected claim value contributes a lot - but most policies make no claim, so the prediction target is zero-inflated. Policies also run for different lengths of time and therefore expose the insurer to different amounts of risk. TabPFN-4 has improved on zero-inflated data and takes the policy length as a sample weight, so that the price prediction reflects the real risk of each policy.
We tested it on predicting annual claim costs for French motor policies. Without any feature engineering, TabPFN-4 ranked policies more accurately than the best actuarial GLM we tested.
- TabPFN
- 0.35
- Actuarial GLM
- 0.31
Evaluated on Gini, which measures how well a model separates high-risk policies from low-risk ones, TabPFN-4 scored [0.34] against the GLM's [0.31]. An improvement of about 10% means that better policies can be priced more competitively, while high risk policies are priced accordingly. See the insurance cookbook.
Plan operations
Businesses rely on predictions to meet the demand of the market and keep production on schedule. TabPFN-4 enables teams to learn from years of detailed records to plan their supply chain, catch quality problems early and eliminate unnecessary waste.
Retail & Consumer goods
For a fashion retailer, the forecast for each product in each store determines how much gets ordered. Many products don't sell for days, and then stock out during a holiday like Christmas or Black Friday. Promotions contribute to spikes in sales and make accurate predictions a non-trivial problem.
TabPFN-4 forecasts the full range of likely sales for each store, from the 1st to the 99th percentile, so that buyers can decide order quantities based on their knowledge of the business. During the tests, TabPFN-4 scored 10 to 16% better than time-series foundation models such as Chronos-2 and Toto 2. It also reduced revenue-weighted error in every store compared to TabPFN-3.5.
These performance improvements directly result in higher revenues for the retailer. And delivering them without fine-tuning a model per store-product combination is a big step up from thousands of classic ML models such a prediction would require.
Manufacturing
Manufacturers already keep detailed tables of orders, machine readings and inspection results. TabPFN-4 can use far more of that data, with years of sales histories and sensor readings now fitting into context.
For an electronics manufacturer, every circuit board production step is a potential defect risk. While lithography machines collect hundreds of precise measurements during the production process, this data often sits unused. In our early tests, TabPFN-4 identified defects correctly in 10% more cases when compared to TabPFN-3.5.
TabPFN can also be used in production scheduling. In the Greener Manufacturing competition on Kaggle, hosted by Mercedes-Benz, 3824 teams predicted how long each car would spend on the test bench. TabPFN-4 would’ve taken first place in one default fit, scoring an R² of 0.556.
For manufacturers, that means using the data they already collect to improve their processes, so engineers can focus on checking the highest-risk production steps and planning around realistic test times.
Give your agents grounded predictions
An agent that is asked for a prediction should hand it to a tool built for prediction. Language models are built to reason over text and write code. Predicting which customers will churn, placing an order for next month’s stock based on demand forecasts, and evaluating a customer’s credit risk are all statistical problems that draw on large amounts of existing tabular data. An agent should call a model designed for tabular data when it needs to make one of these predictions.
For example, an assistant like SAP's Joule works inside systems that hold years of orders, invoices, deliveries, customer records and maintenance logs, all of it tabular. When a user asks which open invoices are likely to be paid late, or which suppliers are at risk of missing next quarter's deliveries, the data to answer that is already there. What the agent needs is a prediction tool it can call on that data.
TabPFN-4 makes that call significantly more efficient and lets it use far more data. Up to 10M rows are learned in-context, making it easier for the agent to pass the table it was given as is. Inference now scales subquadratically with the number of rows. After the first fit, an agent can repeatedly get follow-up predictions almost instantaneously.
That's why we partnered with DeepLearning.AI on Tabular Foundation Models for Data Science Agents, a free online course. By the end of it, you will build a data science agent that hands customer churn prediction to TabPFN, and learn best practices for applying TabPFN to real-world problems.
Accelerate scientific discovery
Since the original TabPFN paper, we have counted more than 4500 scientific papers that mention TabPFN - from early diagnosis of pancreatic cancer to forecasting how much power solar farms will produce.
With TabPFN-4, we hope to inspire a new wave of researchers to apply TabPFN to the toughest problems in various scientific fields.
Biology, drug discovery and causal inference
For decades, biology generated surprisingly little data for data science: thousands of molecular measurements, but relatively few samples. In modern biology, large-scale data sources such as atlases, biobanks and high-throughput experiments now routinely reach millions of observations, opening a new frontier for predictive biology. Initiatives like the Virtual Cell Challenge reflect this ambition: moving beyond describing biological systems to predicting how they respond to interventions.
With support for up to 10 million rows in context, TabPFN-4 brings tabular foundation models to this new scale of biological data. Researchers can also incorporate knowledge about experimental structure and data reliability into their predictions.
In drug discovery, the stakes are particularly high. Predicting which compounds are likely to work, which patients may benefit, and under what conditions can help prioritize experiments and inform clinical development.
TabPFN-4 excels at causal effect estimation, so researchers can narrow down which patients a drug is likely to help. It plugs into standard methods for causal inference, like T-, S- or X-learners.
We tested this on RealCause, a benchmark of four realistic causal inference tasks with known treatment effects. When compared with TabPFN-3.5, a T-learner with the latest version of our model makes 10% lower errors in estimating the conditional average treatment effect, which is how much a drug helps patients.
Materials and product formulation
TabPFN has already been used to predict how battery materials, alloys and catalysts will perform. When developing new materials or products, every new compound or formulation has to be made and measured before anyone knows whether it works, and each testing round can take weeks.
Labs use methods like Raman spectroscopy to verify that a reaction produced the desired compound, and use the readings to predict whether it has the desired strength, purity or stability. With 10 million rows in context, TabPFNTabPFN-4 can learn from the entire lab history of spectroscopy measurements, and predict how a new sample will behave from its readings alone.
In our tests, TabPFN-4 ranked first on RamanBench, where spectroscopy measurements are used to predict what a sample contains or how it will behave. For labs, better predictions mean finding a formulation that works, faster.
- TabPFN-41,619
- Kumo-Tabular1,556
- Chakra-Tab1,510
- TabPFN-3.51,429
Get more from TabPFN-4 with Autofit
To help data scientists get the most out of TabPFN-4, we are open-sourcing Autofit, a data science agent built by Philipp Singer, our resident Kaggle Grandmaster. Autofit helps you improve on the already strong baseline of TabPFN-4, without spending hours on experimentation loops and learning everything about our model.
Autofit brings TabPFN expertise, and your understanding of the data shapes the experiments. Tell Autofit what the columns mean, how the data was collected, what worked in the past and which ideas to test next. It is fully transparent - you can inspect all of the experimentation code it writes, so you can see why Autofit arrived at a certain model configuration.
We will be making Autofit public in the upcoming days as a Claude Code plugin, with a deep-dive post to follow.
Imagine what you can build with TabPFN-4
In the ten weeks since TabPFN-3.5 came out, the community has used it for things we would not have imagined: robot locomotion, gesture recognition from muscle signals, spreadsheet plugins, predicting train delays and identifying superconducting materials. Most were built in a weekend at one of two hackathons, so we are not making claims about their results - we are sharing them because of the range.
These were built with a limit of 1M rows of context and quadratic inference. TabPFN-4 has ten times the context, subquadratic scaling, and native handling of grouped and weighted data. We want to see what the same people, and you, do with that. The Advent of TabPFN-4 runs through December with 2 challenges a week, including a dedicated robotics one. Join it!
Availability
TabPFN-4 is available today through the Prior Labs API, and will reach Amazon SageMaker, Azure AI Foundry and SAP AI Core shortly. Autofit, our agent for getting the most out of TabPFN-4, will be open-sourced in the coming days.
The open-weight release of TabPFN-4 will follow in 2027, and in the meantime, if your data needs to stay on your own infrastructure, talk to us about testing TabPFN-4 for your use case on-premise.

