Prerequisites
- An active Azure subscription with access to Azure AI Foundry
- Azure quota for VM SKUs with GPU
- TabPFN deployed as an endpoint in your Foundry project
For a full list of supported VM SKUs please visit the TabPFN Microsoft Foundry Model Card.
Getting Started
- Navigate to the Azure AI Foundry Model Catalog
- Search for TabPFN and select TabPFN-2.5
- Click Use this model and follow the guided setup
- Once deployed, note your endpoint URL and API key from the deployment details page
Microsoft Foundry hosts each TabPFN version as a separate model. When a new TabPFN version is released, it will appear as a distinct model in the catalog and must be deployed independently - existing deployments will not be updated automatically.
Usage Guide
TabPFN on Azure Foundry exposes a singlePOST /predict HTTP endpoint. You send training data, labels, and test data in one request and get predictions back immediately - without any model training.
First, make sure you have the installed the dependencies required for sending inference requests using an HTTP library. In this example, we use the requests Python package.
Examples
- Class probabilities
- Class labels
- Regression
Get a probability distribution over classes for each test row.
prediction is a 2D array — one inner list per test row, one probability per class.Endpoint
Authenticate using the Primary key from your deployment’s page in Azure AI Foundry. To access the model settings, navigate to your TabPFN deployment in Azure AI Foundry:- Go to Azure AI Foundry and select the Foundry project where TabPFN was deployed.
- In the left-hand menu, select My assets → Models + Endpoints.
- Open the Model deployments tab and click on TabPFN.
Request
Training features. Accepts a row-oriented 2D array
[[f1, f2], [f1, f2], ...].Training labels or targets. One value per training row.
Test features to predict for. Same format as
X_train, without the target.Controls the model’s behavior.
Output types
Classification
TabPFN natively outputs class probabilities, giving you calibrated uncertainty estimates from a single model with no extra configuration.| Output type | Shape | Description |
|---|---|---|
probas (default) | number[][] | One probability list per test row |
preds | number[] | Predicted class label per test row |
Regression
TabPFN models can provide full predictive distribution rather than just point estimates, so you can extract quantiles or summary statistics with a single inference call.| Output type | Shape | Description |
|---|---|---|
mean (default) | number[] | Predicted mean per test row |
median | number[] | Predicted median per test row |
mode | number[] | Predicted mode per test row |
quantiles | number[][] | One list per quantile |
full | object | All outputs (mean, median, quantiles, etc.) |
main | object | Main outputs only |
Errors
| Code | Cause |
|---|---|
400 | Missing required fields or invalid JSON |
415 | Content-Type is not application/json |
422 | Validation error — e.g. y_train has multiple columns, invalid output_type |