Skip to main content
A session uses two services: Claude, for the agent that writes the experiments, and the TabPFN API, which fits and scores them. Claude tells you what the budget takes at setup, before anything runs.

Claude

The agent runs on your Claude Code login, or on ANTHROPIC_API_KEY when it is set. Its use works like your own Claude Code work:
  • On a Claude plan (Pro, Max, Team, Enterprise), it counts toward the plan’s usage limits. When a limit is reached, Autofit pauses the session. Nothing runs or is spent while it waits. Resume it once the limit resets, or stop to keep the best model so far. If the agent’s Claude Code quits at the limit instead, the round ends with the best model so far, and /af continue runs the rest of the budget later.
  • On an API key, it is billed to that key. You can set a spending cap at setup, or from a shell with --max-cost. A session that reaches the cap finishes with the best model so far.
The cap checks a running estimate that comes out low, because Claude Code reports most of the agent’s output only when its turn ends. A session can spend more than the cap before it stops.
The sidebar shows the agent’s use so far. While the session runs, it is an estimate marked with ~. On a plan, the figure is the use at API prices, not what you pay. The agent runs on Claude Opus 5.5 at high effort by default. Claude Fable 5.2 costs twice as much per token. A higher effort level thinks longer on each step and costs more. The report’s summary is one more call, on Claude Sonnet 5.5.

TabPFN API

Every experiment fits and scores its folds on the TabPFN API, which is metered. What drives the tokens:
  • Folds and repeats. Each fold is one TabPFN fit and prediction. 8 folds use about 8 times the tokens of one fold, and each repeat adds as much again.
  • Table size. More rows and columns use more tokens per fit.
  • Budget. Each experiment fits and scores all its folds again.
  • The ensemble. A prediction with the final model makes one TabPFN prediction per ensemble member.
At setup, Claude says what one experiment and the whole budget take against what your account has left. If the budget does not fit, it recommends a smaller one. When the account runs out during a session, Autofit pauses it. Resume it once the limit resets.

Time

Time per experiment, measured on TabPFN-4 with the agent on Opus at high effort: Building the final model adds a few minutes. After the first experiments, the sidebar shows the measured time per experiment and for the rest of the budget.

Spend less

The budget is not binding. You can stop at any time and keep the best model so far, change the budget while the session runs, and continue later. See Steer a run.