Prerequisites
- An active Azure subscription with access to Azure AI Foundry
- Azure quota for VM SKUs with GPU
- TabPFN deployed as a MaaP (Model-as-a-Platform) 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.
Installation
A TabPFN model set up using Microsoft Foundry can be accessed using any HTTP client.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.
Endpoint
Authenticate using the API key from your deployment’s Keys and Endpoint page in Azure ML Studio.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 models behavior.
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.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 |