News · SI

Anthropic open-sources FlashProve, a zero-knowledge proof that a reply came from the model you were promised

Anthropic's Frontier Red Team has released FlashProve, an open-source zkSNARK prototype that lets a provider prove a reply came from a committed model without revealing its weights. On Llama 4 Maverick a single H100 proves about 110 tokens per second of prefill (the 1,024-token request windows), with 19 MB proofs that check on a CPU in about 17 seconds, at roughly 70 to 95 times the GPU cost of normal inference.

AnthropicCryptographyZero-knowledge proofsAI safetyOpen sourceLlama 4Lean

Anthropic artwork showing a silver chain crossing four panels of vintage paper and graph paper
Image: Anthropic, research post image, used with attribution

Anthropic has released FlashProve, an open-source prototype that lets an AI provider prove a reply came from a specific model without revealing that model's weights. The company says it is substantially faster than prior open systems, proving a 400B-parameter model's prefill at around 110 tokens per second on a single H100 GPU[1].

01 / 04

The problem it solves

Today, when you query a model you have no way to confirm which model actually answered. A routing service could quietly swap in a cheaper model, or an attacker could tamper with the token stream, and the output alone would not reveal it. Anthropic's Frontier Red Team, working with researchers from EPFL, StarkWare, MIT and Succinct, frames provable inference as the fix: the provider commits to a model and then proves that each response was produced by it[1].

FlashProve does this in two phases. Offline, the provider publishes a short commitment, a fingerprint that pins down one exact set of weights while keeping them hidden. Online, it produces a proof file for each reply showing that the committed model produced those output tokens. Anyone holding the commitment, prompt and reply can check it on an ordinary CPU in seconds[2].

02 / 04

The numbers

Anthropic measured FlashProve on Llama 4 Maverick, a 400B-parameter mixture-of-experts model with about 17B parameters active per token, using public 4-bit weights. The one-time commitment takes about 39 minutes and is good for about 16 million requests. Proving a batch of 24 requests of 1,024 tokens takes about 223 seconds, or 110 tokens per second of prefill, and each proof is 18.78 MB. Proving runs after the fact over finished text in one parallel pass, so this is not a measure of how fast a reply is generated. Verifying needs no GPU: about 17 seconds on 24 CPU threads, or 21 seconds on one[1].

The cost is real. Compared with vLLM serving the same model on eight H100s, proving takes about 72 times longer per GPU, and about 94 times longer at the highest load Anthropic tried[1]. That is still a huge leap: the only earlier proof of the same model Anthropic knows of, VerInf, reported 14.3 hours for 1,000 tokens with a 93.6 GB proof that took almost a day to verify[1].

Part of the speed comes from design choices. The prover's work scales with the experts that actually ran rather than all 400B parameters, requests are proved in batches after the fact, and weights are streamed so a single 80 GB GPU with about 290 GB of host memory is enough[3].

03 / 04

Claude wrote much of it, Lean checks the claims

Anthropic says Claude produced the zkSNARK improvements behind the system and wrote the protocol specification. Because Claude's optimizations can be hard to evaluate in a system this complex, the team stated the security guarantees in Lean, a formal verification language[1]. Soundness, completeness and zero knowledge are proved for the protocol, and a slower Lean verifier is proved to accept only valid claims. The fast C++ verifier and CUDA prover follow the same protocol and are tested against it, but are not themselves proved[4].

04 / 04

Why it matters

Anthropic ties the work to security and regulation: detecting a hijacked inference server, proving a model reviewed a codebase, and giving regulators a lightweight way to check that providers serve only approved models or that their hardware is genuinely running inference[1]. It is also a datapoint for the zero-knowledge machine learning field, where overhead of roughly two orders of magnitude is far lower than many expected.

The caveats are Anthropic's own. FlashProve proves an integer version of the model under greedy decoding, handles only 1,024-token contexts, assumes a mixture-of-experts architecture, does not hide the architecture and leaves side-channel attacks out of scope. Anthropic calls it intermediate progress and is releasing the code, Lean proofs and documentation under Apache 2.0 so others can build on it[1].

FAQ

Frequently asked questions.

01

What is FlashProve?

FlashProve is an open-source research prototype from Anthropic for provable inference. A model provider publishes a commitment that binds it to one set of weights, then attaches a zero-knowledge proof to replies showing that the committed model produced exactly those tokens. Anyone with the commitment, prompt and reply can check the proof without seeing the weights.

02

How fast is it?

On Llama 4 Maverick, a 400B-parameter mixture-of-experts model in 4-bit weights, a single H100 proves about 110 tokens per second of prefill, measured on a batch of 24 requests that each cover a 1,024-token window. That is prefill-style throughput over finished text, not the speed of generating a reply. Each proof is about 18.78 MB and takes about 17 seconds to verify on a 24-thread CPU. Anthropic says that is roughly 70 to 95 times the GPU time vLLM needs to process the same prompts.

03

Why would anyone need this?

Anthropic lists several uses: confirming a router or third-party host really served the model you paid for, letting evaluators check they are testing the deployed model, detecting a compromised inference server, proving a specific model reviewed some code, and giving regulators a way to check that providers serve only approved models or use hardware for inference.

04

Is the code formally verified?

Partly. Completeness, soundness and zero knowledge are proved in Lean for the protocol, and the release includes a slower Lean verifier that Lean proves accepts only valid claims. The fast C++ verifier and the CUDA prover follow the same protocol and are tested against it, but they are not themselves proved.

05

What are the limitations?

It is a prototype. It proves an integer version of the model under greedy decoding, so sampled or floating-point replies may not match exactly. It only handles contexts up to 1,024 tokens, assumes a mixture-of-experts architecture, does not hide the architecture, and does not address side-channel attacks such as timing.

06

Can I use it?

The code, Lean proofs and documentation are released under the Apache 2.0 license on GitHub. The Llama 4 Maverick weights are not included; users download them from Hugging Face under Meta's license, and running the full example needs a large GPU machine.

That’s the story

Building with what’s new?

Spectrum Web Co ships products, places talent, builds social narratives and builds custom business tools as monthly services.

Related stories

SI Anthropic shows Congress its own draft bill for halting dangerous AI modelsAnthropic has been quietly showing lawmakers a draft federal bill on frontier AI safety, POLITICO reports. The government could stop a model only for a foreseeable, imminent risk of more than 50 deaths or serious injuries or more than $1 billion in damage, and only the Commerce Department, through a federal judge, could do it.Read the storySI Claude cracks the decades-old mystery of where the NIST curve seeds came fromAnthropic says Claude worked out in under half an hour that the seeds behind NIST's P-192, P-224, P-256, P-384 and P-521 elliptic curves weren't hashes of a secret phrase but output from the C library's lrand48 random number generator, seeded with Unix timestamps from 1997 and 1998. Bounty organiser Filippo Valsorda reproduced the result, and the US$36,864 prize is going to the non-profit behind Let's Encrypt.Read the storySI Hugging Face's Carbon-X is an open 14B model you can chat with about DNAHugging Face, Zhongguancun Academy and the University of Naples Federico II have released Carbon-X, an Apache 2.0, 14.8B-parameter model that reads raw DNA in a chat and answers in English. It averages 66.7% across five DNA benchmarks, close to GPT-6.1 Sol's 67.5% at about 1/1,800 of the cost per problem, and fits on a single 80 GB GPU so sensitive sequences can stay on local hardware.Read the story