[ Blog ]Thesis

Every inference will need a proof

As models act with money and authority, what matters is whether the promised model actually ran. Proofs answer that; cost decides how soon they become routine.

By Snarkify

When a chat assistant gets an answer wrong, you lose a few minutes. When an agent pays the wrong invoice, approves the wrong claim or trades on the wrong signal, you lose real money, and someone has to work out what happened. The first question is which model made the call: the one you chose and approved, a cheaper substitute or, worse, tampered weights on a hacked server? Nothing in the response tells you. As models move into agents, payments and regulated workflows, that question starts to matter as much as what the model said.

Put precisely: did model M, with these weights, run on input x and produce output y? Today the answer is almost always “trust us.” For a growing share of calls, that will not be enough.

Provable inference attaches a cryptographic proof to a model’s output that anyone can check, without the weights and without trusting the machine that ran the model. We think cryptographic proofs are the strongest answer, and their cost decides how soon they become routine.

Why the question matters now

Agents act with money and authority. An agent that places orders, moves funds or approves refunds acts on someone’s behalf. The counterparty (a payment processor, a merchant or another agent) needs to know the action came from the model and the policy the owner approved, not from a cheaper substitute or a tampered prompt. Between companies, trust usually rests on a contract, a reputation and someone to call when something looks wrong. Agents do not fit that model. They act in milliseconds and at volume, often with counterparties they have never dealt with, sometimes in another jurisdiction. What the counterparty needs is evidence attached to the action itself, which its own software can verify before acting on it.

Regulated workflows need records. Lenders, insurers and clinics that use models in decisions have to be able to show which model, which version and which inputs produced a given result. Today that record is a log line written by the same system it describes.

Hosted models are opaque. When you call a hosted model, you get text back. Nothing in the response tells you which weights produced it, or at what precision. A provider under load can route traffic to a smaller model, or serve the weights quantized (stored in fewer bits, for example 8 or 4 instead of 16), which is cheaper and usually slightly worse. Both are legitimate choices when disclosed. The problem is that the response looks the same either way, and you cannot check.

Audits happen later. Audits today are periodic and after the fact: an auditor reviews logs and records, often months later, after the serving stack has changed several times. That evidence is only as good as the logs.

Across all four cases, someone outside the serving stack needs to verify what actually ran.

Four ways to answer it

Today there are four main approaches, each suited to a different threat model.

Trust. Contracts, reputation, audit reports. Zero overhead, works today, and enough for most uses. It breaks down when the parties share no legal system, when the operator is the one being audited, or when the counterparty is another program.

Attestation. Trusted execution environments (TEEs), available on server CPUs and recent data-center GPUs, measure the software loaded into a protected region of the chip and sign a report with a key held by the hardware. Overhead is low, and it works at full model scale today. What you trust is the chip vendor, its key management and the hardware’s resistance to side-channel and physical attacks. That assumption has failed in practice, with published attacks extracting attestation keys from enclave hardware. Nor can an attestation rule out a compromised chip or a leaked signing key at the moment it was signed; a forged attestation verifies just like a genuine one.

Re-execution. Run the inference again and compare, either every time or only when someone challenges a result (the optimistic approach). It adds no trust assumption beyond one honest re-runner. But each check costs another inference, and the checker has to run the model itself, so it needs the weights: sending the same prompt to the same provider again proves nothing.

Cryptographic proofs. The machine that runs the inference also produces a proof: a piece of data showing that a model with weights matching a published commitment (a cryptographic fingerprint of the weights) turned a specific input into a specific output. Anyone can check the proof, without the weights and without trusting the prover’s hardware, and checking is far cheaper than proving. For a ~400B-parameter model, a FlashProve proof is roughly 19 MB and verifies on an ordinary CPU in around 20 seconds, without re-running the model on GPUs. A zero-knowledge proof also hides private inputs and weights. The catch is the prover’s cost. Generating a proof takes far more compute than running the computation it proves: for FlashProve’s first release, Anthropic measured roughly 70 to 95 times the GPU time that vLLM takes to process the same prompts.

ApproachWhat you trustExtra cost per callWho can check
TrustThe operatorNoneNobody, directly
Attestation (TEE)The hardware vendorLowAnyone who accepts the vendor’s keys
Re-executionOne honest re-runnerOne more inference per checkWhoever holds the weights
ProofThe proof system’s math and implementationHigh todayAnyone, on an ordinary CPU

Only cryptographic proofs produce evidence that holds without trusting a vendor, an operator or an auditor, and that anyone can check later. That is why we think high-stakes inference ends up there, and why the cost of proving is the variable that matters.

How to prove an inference

FlashProve, published by Anthropic, tackles this with a protocol built directly around the math of a model forward pass. Using hash-based commitments and the sum-check protocol, it shows that a hosted response came from the provider’s committed weights while keeping those weights masked. Its initial release covers an exact integer version of Llama 4 Maverick, a ~400B-parameter model.

Cost is the gate

Proofs will only accompany every call once proving is cheap relative to both the inference itself and the value of the decision. Today it is not: at 70 to 95 times the GPU time of processing the same prompts with vLLM (Anthropic’s figures), a proof costs far more than the answer it proves.

There are two levers. The first is doing less work: better proof systems, of which Jolt and FlashProve are examples. The second is running that work more efficiently, by co-designing the prover with the hardware it runs on. Both will move, and their gains multiply.

Our mission

Our mission is to make proofs cheap enough that every inference can carry one.

Snarkify is a high-performance computing company. We build the compute layer for provable inference, on GPUs today and on purpose-built hardware over time, and we built a GPU proving engine for the Lattice Jolt zkVM that runs in production.

Every inference will need a proof. Making modern zero-knowledge proof systems, from FlashProve to zkVMs, fast and cheap enough for every call is a compute problem, and the one Snarkify was built to solve.

[ More from the lab ]