Provable inference
Commit to a model. Prove its answers.
Provable inference binds a model's output to the model architecture, the weights and the input that produced it, with a cryptographic proof. Anyone can check it, without the weights and without trusting the machine that ran the model.
What is provable inference?
With provable inference, the run also produces a proof tying this output to the committed model and input. Checking runs on an ordinary CPU in seconds, not by re-running the model on GPUs.
What does a ZK proof tell you?
A valid proof establishes four things:
- The output is what the committed model returns on this input.
- The weights used match a published commitment. A smaller or differently quantized model would not produce a valid proof against that commitment.
- Verification is public: anyone can re-check the proof later without needing the weights or specialized hardware.
- The weights stay private: the proof is zero-knowledge, so the verifier learns nothing about the weights beyond the published commitment.
How it works
- Commit to the weights. The model owner publishes a commitment: a short cryptographic fingerprint of the weights. It can be published without publishing the weights, and it is computationally infeasible to find a different set of weights with the same commitment.
- Run the inference. The provider runs the model on the input and keeps what the prover needs to show how the output was computed.
- Prove. The prover produces a proof that the output is what the committed weights return on this input. This is the expensive step.
- Verify. The verifier checks the proof against the commitment, the input and the output. It runs on an ordinary CPU, on a server or in a client application, and does not re-run the model.
FlashProve, Anthropic’s open-source prover, shows that a hosted model’s response came from the weights the provider committed to. It uses hash-based commitments and the sum-check protocol while keeping the weights masked. Its first release covers an exact integer version of Llama 4 Maverick (~400B parameters), producing ~19 MB proofs that verify on a CPU in roughly 20 seconds.
Why now
Models are moving from answering questions to taking consequential actions: agents that pay, trade and approve, and models embedded in credit, insurance and clinical decisions. Yet hosted API responses still reveal nothing about which weights ran or at what precision. In every case, someone outside the serving stack needs to verify what actually ran.
Service agreements, audits, hardware attestation (TEEs) and re-execution all address parts of this problem, and each fits certain threat models. A cryptographic proof is the option anyone can verify independently, without trusting the operator, the hardware vendor or an auditor. We compare the trade-offs in Every inference will need a proof.
The cost of generating a proof
Checking a proof is cheap. Generating one is not. The prover does far more work than 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. At that ratio a proof costs far more than the answer it proves, so today it is worth paying only where the stakes are high. For a proof on every call, the overhead has to come down until the proof is a small line item next to the inference.
Better proof systems reduce the work, but what remains is heavy, specialized computation that general-purpose hardware does not run efficiently. Bringing its cost down is a compute problem: it takes engines, and eventually hardware, built for the workload.
What Snarkify does
Snarkify is a high-performance computing company focused on driving down proving cost. Modern zero-knowledge proof systems, including FlashProve and zkVMs such as Jolt, share a common core of workloads: the sum-check protocol, lookup arguments and polynomial commitments. We build the compute layer for provable inference, on GPUs today and on purpose-built hardware over time, to make it fast and cheap enough for production, and eventually for every call.
FAQ
Can you prove a large language model today?
Yes, with a prover built for model inference. FlashProve’s first release covers an exact integer version of Llama 4 Maverick (~400B parameters), producing ~19 MB proofs that verify on a CPU in roughly 20 seconds. The question is cost: by Anthropic’s figures, proving takes roughly 70 to 95 times the GPU time that vLLM takes to process the same prompts. Bringing that down is a compute problem.
Why not use a TEE, or re-run the model?
Both are reasonable, and both are in use. A TEE (trusted execution environment) is fast and works at model scale today; you trust the chip vendor’s keys and the hardware’s resistance to attack. Nor can an attestation rule out a compromised chip or a leaked signing key at the time it was generated; a forged attestation verifies just like a genuine one. Re-running costs another inference per check, needs the weights, and has to cope with GPU results that are not bit-for-bit reproducible. A ZK proof removes those assumptions.
Is provable inference post-quantum?
It depends on the commitment scheme. Commitments based on elliptic curves could be broken by a large enough quantum computer; lattice-based and hash-based commitments are believed to resist one. Lattice Jolt, the post-quantum version of Jolt, is live and uses lattice-based commitments over a 128-bit field, built on Akita. FlashProve uses hash-based commitments.
What about floating point?
A proof covers one exact, deterministic computation. GPU inference is often not bit-for-bit reproducible, so the computation being proven fixes its numerics, typically integer or fixed-point arithmetic as in quantized models, since floating point is expensive to prove.
FlashProve supports two policies for checking an answer. Under exact match, the proof shows that every token of the answer is the integer model’s top choice. When the provider generates the answer in floating point, a token can occasionally differ from that top choice, so FlashProve also offers clipped gap, which accepts tokens that fall only slightly below the top choice, within limits the verifier sets. Clipped gap proves less than exact match: it shows that the answer’s tokens meet these limits, not that the answer is exactly the committed model’s own.
Does the verifier need the model weights?
No. The verifier needs the commitment to the weights, the input, the output and the proof. The weights can stay with the model owner.
What does a proof not tell you?
A proof covers a specific computation and nothing outside it. It does not tell you:
- That the model’s answers are factually right. It proves which model ran, not the quality of the model.
- That the committed weights are the ones a customer or regulator approved. That link comes from whoever publishes the commitment, for example an audit that records it.
- Anything about what happened outside the proven computation. If a prompt is assembled before the proof starts, the proof covers the prompt it received, not how that prompt was built.
Proving something hard?
Working on provable LLM inference or a zkVM workload? Tell us what you're building and your target performance and cost.