Skip to main content
TabPFN-3.5-Thinking is our most accurate model, especially on grouped and temporal data. It uses more compute during fitting to improve prediction quality, and the fitted model can then be reused for repeated predictions. It handles mixed numerical, categorical, and text features. See the TabPFN-3.5 technical report for benchmark results.
Available through tabpfn-client, the REST API, and enterprise deployments.

When to use it

Use Thinking mode when small gains in prediction quality justify more time spent fitting, such as in finance or healthcare.

Quickstart

Thinking mode uses TabPFN-3.5-Thinking by default. You can also select TabPFN-3-Thinking.

Choosing the model

Thinking mode uses TabPFN-3.5-Thinking by default. To select a version explicitly, use ModelVersion.V3_5 for TabPFN-3.5-Thinking or ModelVersion.V3 for TabPFN-3-Thinking:
See Selecting Model Version for more details.

Choosing effort and metric

Effort controls how much compute is spent during fitting. The metric defines what to optimize.

thinking_effort

You can also set thinking_timeout_s to cap the time spent fitting.

thinking_metric

Choose a metric that matches how you evaluate predictions. Common choices:

Grouped and time-ordered rows

Requires tabpfn-client 0.6.0 or later.
Specifying group and time columns can improve predictions on data with related rows or a time sequence, such as repeat patient visits, customer transactions, or sensor readings over time. Use the parameters below to identify these relationships.

Code sample

Rules, checked by the client before any data is uploaded. A violation raises ValueError:
  • The columns work only with thinking mode.
  • X passed to fit and to predict must be a pandas DataFrame that holds every named column. Pass column names, not indices.
  • group_col and time_col cannot be combined.
  • group_time_col requires group_col.

Save and load

Requires tabpfn-client 0.6.0 or later.
Save a thinking fit once and load it later, in another process or on another machine, to predict without refitting:
The file references the fit on Prior Labs servers and holds no training data. Load it with the same account that ran the fit.

REST API

Call POST /tabpfn/fit with the thinking parameters in the JSON body:
See the API reference for the full endpoint documentation and upload flow.

Parameters

On the REST API, the metric parameter is called thinking_effort_metric.

Limits

Thinking fits use more compute than standard fits and consume tokens from the same daily and monthly budgets as predictions. Higher effort increases token usage. Reuse a fitted model for repeated predictions to avoid paying for another fit. See API metering for token charges and budgets, and API rate limits for request limits.

TabPFN-3.5 changelog

Release notes and upgrade guidance for TabPFN-3.5.

API metering

Token charges, budgets, and usage tracking.

Classification

Binary and multi-class classification guide.

Regression

Point estimates, quantiles, and full distributions.