In FlashProve’s zero-knowledge proofs of language-model inference, a provider commits to a model’s weights once. It then proves for each request that the output is the committed model’s greedy output, which anyone can check without the weights. Anthropic reports proofs for an integer version of Llama 4 Maverick, a mixture-of-experts model with about 400 billion weights, on one H100 GPU.

In the throughput benchmark each proof checks one next token after a 1,024-token prompt. Anthropic calculates a cost of 71 to 93 times the GPU time of vLLM prefill. The throughput counts prompt tokens processed, not output tokens proved.

Soundness is machine-checked in Lean for a Lean verifier. The C++ and CUDA programs are tested, not verified, and not independently audited. Proofs cover a 1,024-token window of the integer model, not the floating-point model that serving engines run.

What it is

Anthropic announced FlashProve on November 2, 2026, with co-authors from EPFL, StarkWare and MIT, as a research prototype for zero-knowledge proofs of inference.1 Its code is public under the Apache 2.0 license.2 Its README describes it as “A research artifact: not maintained, not accepting contributions”.2 Its paper states that AI systems, under human direction, wrote the paper and almost all of the software and Lean code.4

Its README says that FlashProve lets a provider prove which model answered a request without revealing the model’s weights.2 The release targets one model, Llama 4 Maverick, at full size.2

How it works

  1. Commit. The provider runs a commitment once per model and publishes a commitment ID, which binds it to one set of weights.2 The weights stay secret, and every published value that depends on them is masked, except for a declared list.2
  2. Prove. For each request, the provider’s GPU proves that the output is the committed model’s output.2 A request is a window of up to 1,024 tokens holding prompt, reply and filler, and the proof covers only the positions it names.2
  3. Verify. Anyone checks the proof on an ordinary CPU with the C++ verifier, without the weights.2 The client must obtain the commitment ID from a party it trusts, never from the server being checked.2

Integer model

A proof needs exact arithmetic, so the committed model is an integer version of the model, built from a public 4-bit conversion of Llama 4 Maverick’s weights.2 Of its 400.7 billion committed weights, one token’s forward pass uses 16.15 billion.4

Acceptance policies

FlashProve has two acceptance policies. Under exact match, accepting a reply is meant to show that each checked token is the committed integer model’s top choice.2 Serving engines run the floating-point model, whose tokens often differ, so the expected use proves replies afterwards under a looser clipped-gap policy, which bounds how far the chosen tokens’ scores lie below the top choice’s.2

Proof system

The proof is hash-based: an interactive oracle proof made non-interactive with Merkle trees and Fiat–Shamir, using sumcheck and lookup arguments.2 The paper states that nothing is claimed against a quantum adversary.4

What is proved

Soundness is proved in Lean for the verifier written in Lean, at exact match, in the random-oracle model.2 Completeness and zero knowledge are proved in Lean for the protocol, for one request per proof.2 Zero knowledge holds against an honest verifier for the interactive protocol and, after compiling, against any verifier within a bound on its hash queries.2

Helps verify

See also

Developed by