Skip to main content
The TabPFN API applies per-user request limits to keep the service reliable and responsive. Each operation must remain below both its per-minute and per-hour limit. These request limits are separate from API metering, which tracks prediction tokens and thinking fits over daily and monthly periods. Exceeding either a request rate limit or a usage quota returns HTTP 429.

Default limits

Both limits apply at the same time. For example, you can stay below the per-minute prediction limit, but still breach the hourly limit. A thinking mode fit counts against both the thinking fit limit and the general fit limit. Train- and test-set upload preparation requests share the upload limit.

Handle rate-limit errors

The request that exceeds either limit returns HTTP 429 Too Many Requests. The response includes a Retry-After header containing the number of seconds until the breached fixed window expires. When handling a request rate limit:
  • Wait at least the number of seconds specified by Retry-After before retrying.
  • Use bounded exponential backoff and jitter if requests can still collide after the window resets.
  • Queue batch workloads and smooth traffic instead of sending large bursts.
  • Limit concurrent workers so their combined request rate stays below both limits.
  • Reuse uploaded datasets and fitted model IDs when possible instead of repeating upload or fit operations. For repeated predictions against the same training set, consider the KV cache.
Do not retry rate-limited requests in a tight loop. Requests remain rejected until the current fixed window expires. The following examples show how the retry delay appears in tabpfn-client and raw HTTP responses.
tabpfn-client includes the HTTP status and remaining wait time in the exception message. Given a fitted TabPFNClassifier or TabPFNRegressor called model:
Example output—the remaining time and trace ID vary by request:
The high-level client exposes the retry delay in the message, but not the response headers through the RuntimeError. Use the REST API directly when your application needs to read Retry-After programmatically.

Higher limits

If the defaults do not support your workload, submit a limit increase request through Usage form in our platform.

API metering

Token budgets, usage pools, and thinking fit quotas.

REST quickstart

Authenticate, upload data, fit a model, and run predictions.

Thinking mode

Configure fit-time optimization and understand thinking parameters.

Security

Encryption, data isolation, and access controls.