> ## Documentation Index
> Fetch the complete documentation index at: https://docs.priorlabs.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> TabPFN-3 and later versions support up to 1,000,000 rows, subject to feature count and checkpoint/API limits.
> For large datasets, use per-estimator subsampling, e.g. inference_config={"SUBSAMPLE_SAMPLES": 100_000}, in TabPFNClassifier or TabPFNRegressor from tabpfn or tabpfn_client.
> Pass raw pandas DataFrames to fit and predict. Categorical strings/categories, raw text, and missing feature values are handled automatically; no manual integer/one-hot encoding, imputation, scaling, or outlier removal is needed.

# Get settings

> Get the default model version, per-version training and prediction limits, and the models that support row weights.



## OpenAPI

````yaml /api-reference/openapi.json get /tabpfn/get_settings
openapi: 3.1.0
info:
  title: TabPFN API
  description: >-
    TabPFN REST API. For Python applications, use
    [tabpfn-client](/api-reference/overview). See the [REST
    quickstart](/api/rest-quickstart) for authentication and the upload, fit,
    and predict flow.
  version: 2.0.0
  contact:
    name: Prior Labs
    email: hello@priorlabs.ai
servers:
  - url: https://api.priorlabs.ai
    description: Production TabPFN API
security:
  - BearerAuth: []
paths:
  /tabpfn/get_settings:
    get:
      tags:
        - Training
      summary: Get settings
      description: >-
        Get the default model version, per-version training and prediction
        limits, and the models that support row weights.
      operationId: tabpfn_get_settings
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetSettingsResponse'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Default Response
components:
  schemas:
    GetSettingsResponse:
      additionalProperties: false
      properties:
        default_model_version:
          $ref: '#/components/schemas/ModelVersion'
        max_model_limit:
          $ref: '#/components/schemas/ModelLimit'
        model_limits:
          additionalProperties:
            $ref: '#/components/schemas/ModelLimit'
          propertyNames:
            $ref: '#/components/schemas/ModelVersion'
          title: Model Limits
          type: object
        dataset_max_size_bytes:
          title: Dataset Max Size Bytes
          type: integer
        async_settings:
          $ref: '#/components/schemas/AsyncSettings'
        inline_test_set_max_parquet_bytes:
          default: 0
          title: Inline Test Set Max Parquet Bytes
          type: integer
        thinking_default_model_version:
          anyOf:
            - $ref: '#/components/schemas/ModelVersion'
            - type: 'null'
        thinking_model_limits:
          additionalProperties:
            $ref: '#/components/schemas/ThinkingLimit'
          propertyNames:
            $ref: '#/components/schemas/ModelVersion'
          type: object
          title: Thinking Model Limits
        thinking_max_timeout_secs:
          anyOf:
            - type: number
            - type: 'null'
          title: Thinking Max Timeout Secs
        row_weights_model_versions:
          items:
            $ref: '#/components/schemas/ModelVersion'
          type: array
          title: Row Weights Model Versions
          description: >-
            Model versions whose fit takes `sample_weight` and
            `label_reliability`.
      required:
        - default_model_version
        - max_model_limit
        - model_limits
        - dataset_max_size_bytes
        - async_settings
      title: GetSettingsResponse
      type: object
    ErrorResponse:
      additionalProperties: false
      properties:
        message:
          description: What went wrong.
          title: Message
          type: string
        error_code:
          default: GENERAL_ERROR
          description: Machine-readable error category, such as `BUSY`.
          title: Error Code
          type: string
          x-sdk-keep-default: true
        trace_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          description: Id to quote when reporting the error.
          title: Trace Id
      required:
        - message
      title: ErrorResponse
      type: object
    ModelVersion:
      enum:
        - v2
        - v2.5
        - v2.6
        - v3
        - v3.5
        - v3.5-fast
        - v4
      title: ModelVersion
      type: string
    ModelLimit:
      additionalProperties: false
      properties:
        train_set_max_rows:
          title: Train Set Max Rows
          type: integer
        train_set_max_cells:
          description: >-
            Maximum training cells per estimator: selected rows times uploaded
            columns. Row subsampling can keep each context below this limit even
            when the full upload exceeds it.
          title: Train Set Max Cells
          type: integer
        train_set_max_upload_cells:
          description: >-
            Maximum cells in the full training upload before row subsampling.
            This bounds the table processed before estimator contexts are
            selected.
          title: Train Set Max Upload Cells
          type: integer
        test_set_max_rows:
          title: Test Set Max Rows
          type: integer
        max_classes:
          title: Max Classes
          type: integer
        max_cols:
          title: Max Cols
          type: integer
        predict_row_pairs_budget:
          title: Predict Row Pairs Budget
          type: integer
        test_set_max_rows_w_full_regression_output:
          readOnly: true
          title: Test Set Max Rows W Full Regression Output
          type: integer
        test_set_max_cells:
          readOnly: true
          title: Test Set Max Cells
          type: integer
        kv_train_set_max_rows:
          anyOf:
            - type: integer
            - type: 'null'
          title: Kv Train Set Max Rows
          description: >-
            Maximum training rows of a fit with `fit_mode=fit_with_cache`. Null
            when it is `train_set_max_rows`.
      required:
        - train_set_max_rows
        - train_set_max_cells
        - train_set_max_upload_cells
        - test_set_max_rows
        - max_classes
        - max_cols
        - predict_row_pairs_budget
        - test_set_max_rows_w_full_regression_output
        - test_set_max_cells
      title: ModelLimit
      type: object
    AsyncSettings:
      additionalProperties: false
      properties:
        use_above_trainset_size_bytes:
          title: Use Above Trainset Size Bytes
          type: integer
        poll_timeout_secs:
          title: Poll Timeout Secs
          type: number
        predict_use_above:
          $ref: '#/components/schemas/PredictAsyncThresholds'
        thinking_predict_use_above:
          $ref: '#/components/schemas/PredictAsyncThresholds'
      required:
        - use_above_trainset_size_bytes
        - poll_timeout_secs
        - predict_use_above
        - thinking_predict_use_above
      title: AsyncSettings
      type: object
    ThinkingLimit:
      properties:
        train_set_max_rows:
          title: Train Set Max Rows
          type: integer
        train_set_max_cells:
          description: >-
            Maximum training cells per estimator: selected rows times uploaded
            columns. Row subsampling can keep each context below this limit even
            when the full upload exceeds it.
          title: Train Set Max Cells
          type: integer
        train_set_max_upload_cells:
          description: >-
            Maximum cells in the full training upload before row subsampling.
            This bounds the table processed before estimator contexts are
            selected.
          title: Train Set Max Upload Cells
          type: integer
        test_set_max_rows:
          title: Test Set Max Rows
          type: integer
        max_classes:
          title: Max Classes
          type: integer
        max_cols:
          title: Max Cols
          type: integer
        predict_row_pairs_budget:
          title: Predict Row Pairs Budget
          type: integer
        efforts:
          items:
            type: string
            enum:
              - micro
              - mini
              - low
              - medium
              - high
              - xhigh
              - max
          type: array
          title: Efforts
        max_timeout_secs:
          additionalProperties:
            type: number
          propertyNames:
            enum:
              - micro
              - mini
              - low
              - medium
              - high
              - xhigh
              - max
          type: object
          title: Max Timeout Secs
        test_set_max_rows_w_full_regression_output:
          readOnly: true
          title: Test Set Max Rows W Full Regression Output
          type: integer
        test_set_max_cells:
          readOnly: true
          title: Test Set Max Cells
          type: integer
        kv_train_set_max_rows:
          anyOf:
            - type: integer
            - type: 'null'
          title: Kv Train Set Max Rows
          description: >-
            Maximum training rows of a fit with `fit_mode=fit_with_cache`. Null
            when it is `train_set_max_rows`.
      additionalProperties: false
      type: object
      required:
        - train_set_max_rows
        - train_set_max_cells
        - train_set_max_upload_cells
        - test_set_max_rows
        - max_classes
        - max_cols
        - predict_row_pairs_budget
        - efforts
        - test_set_max_rows_w_full_regression_output
        - test_set_max_cells
      title: ThinkingLimit
    PredictAsyncThresholds:
      additionalProperties: false
      properties:
        train_rows:
          title: Train Rows
          type: integer
        test_rows:
          title: Test Rows
          type: integer
      required:
        - train_rows
        - test_rows
      title: PredictAsyncThresholds
      type: object
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Bearer token for authentication, obtained after signing up and
        generating an API key.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.