BudgetPV: Routing by what each model can actually close

Primary pillar: routing

Formal theorem proving looks like the perfect job for a verification gate: a proof either checks or it does not. So it is the perfect place to watch routing ideas get honest numbers. A paper posted to arXiv on 23 November 2026 — "Budget-Aware Predict-and-Verify Theorem Proving with Heterogeneous LLM Solvers" — introduces BudgetPV, a system that decides which language model gets each slice of compute by predicting, per subgoal, which model can actually close it. The number that should make operators sit up: BudgetPV solved the same number of subgoals as uniform allocation with less total generation compute, and the savings grew every time a cheaper tier of model was added to the pool.

The setup: a prover, a predictor, and a price list

A few terms, on first use. In this work an LLM solver is a model put to work generating candidate proofs. A subgoal is one open fact the prover still has to establish — a big proof decomposes into many of them. Lean is the proof assistant that acts as the checker: if Lean accepts the proof, it is correct, full stop. No human judge, no vibes.

BudgetPV has three moving parts:

  • A pool of solvers at different price and capability tiers — a strong but expensive model, a medium-cost model, a cheap model with lower solving capability.
  • A cross-solver predictor that estimates, for each unresolved subgoal, the probability each solver can close it.
  • A verification loop: Lean checks every candidate, and the result feeds straight back into the allocation.

The selection rule is an economic one. Each attempt goes to the solver with the best combination of predicted success probability and measured generation cost — not to the best model, and not to the cheapest. An expensive model earns the subgoal only when the predictor believes it is the one that can finish it.

The part that is genuinely new: the problem changes mid-run

Here is the observation most routing setups ignore. The allocation problem is not stationary. Early in a run, every decision is "which model should take this untried subgoal?" Late in a run, every subgoal has been tried at least once, and the decision becomes "which previously attempted subgoals deserve another round of compute?" Those are different questions, and BudgetPV trains the predictor twice to answer them.

For the first stage it uses class-weighted cross-entropy (a training loss that upweights rare categories) so the predictor stops defaulting to the cheap model for everything. For the second stage it uses plain cross-entropy because calibration matters more than raw accuracy: when the predictor says 20%, it needs to mean 20%, because allocation spends against that probability. A predictor that is accurate on average but systematically overconfident will keep buying lottery tickets on dead subgoals.

That split — different training objectives for explore-first versus re-allocate-later — is the quiet contribution. Every agentic loop that decides "try again, or escalate?" at runtime is facing the same two-stage problem.

What the results support, and what they do not

Evaluated on Lean Workbook, miniF2F, ProofNet, and PutnamBench across three solver settings (strong model alone; plus medium; plus cheap), BudgetPV required less LLM generation computation than uniform allocation to solve the same number of subgoals in every setting. The practical reading: heterogeneity pays only with a router. Dump cheap models into the pool without a calibrated predictor and you just pay for more wrong attempts; the paper's ablation shows the savings come from the allocation, not the models.

Two honest limits. The value function is solving probability — nothing here measures whether the proofs were interesting. And verify-then-allocate works here only because Lean exists, so runtime verification is cheap and sound; most agent workloads have no Lean, so the loop needs a human gate or a weaker check instead.

What it means for LLM Ops

BudgetPV is routing done as ops, not as vibes: price each attempt, trust calibration over raw accuracy in the re-allocation stage, and let a sound checker close the loop. Where your workload has no Lean, the human-in-the-loop gate is the substitute for the sound verifier — which is exactly the arrangement Presence runs: MeltingFace is an LLM Ops research consultancy and Presence is its HITL living lab, not a chatbot vendor. The papers keep arriving at the same place our stack already stands.

If you are routing across model tiers yourself, steal the two-stage split first: one predictor for first-pass assignment, a separately trained, calibration-first one for re-allocation. More on how we think about routing and verification gates at /llm-ops/ and in our earlier essay on routing, datacenters and RAG at /blog/llm-routing-datacenters-and-rag.

MeltingFace