Which Model Actually Answered? Anthropic's FlashProve and the Push to Prove AI Replies Came From the Model You Paid For
Anthropic has released FlashProve, a prototype that uses zero-knowledge proofs to show a reply came from a specific committed AI model without revealing its weights. We look at why model substitution is so hard to detect, what the numbers show, and the limits that remain.
Every time you send a prompt to an AI service, you are taking something on trust. You pick a model from a drop-down menu or name it in an API call, a reply comes back, and you assume the model you asked for is the one that wrote it. In almost every case today, there is no way to check. This week, Anthropic published a prototype that tries to change that: a cryptographic system called FlashProve that lets a model provider attach a proof to a reply showing that a specific, committed set of model weights produced it, without revealing those weights to anyone (Anthropic, "Progress on provable inference for large language models").
The quiet assumption behind every AI reply
AI models are increasingly reached through layers of other services. A business might call a model through a cloud platform, a routing service that spreads traffic across several providers, or an app that wraps a model inside its own product. At each layer, someone other than the original developer is running or forwarding the model. Anthropic's post sets out the risk directly: a user today cannot check that a response came from the specific model a developer claims, as opposed to one "secretly substituted in by a routing service for cost reasons, or even by an attacker who has tampered with the token stream." It adds that judging from the output alone is unreliable, even when the output is good (Anthropic).
The incentive problem is easy to see. Large models are expensive to run. Researchers at the University of California, Berkeley, in a study titled "Are You Getting What You Pay For? Auditing Model Substitution in LLM APIs", describe how a provider could swap a flagship model for a smaller one or a heavily compressed (quantized) version to cut GPU costs while still charging the advertised price. They note that substitution can also happen for ordinary operational reasons, such as moving traffic off an overloaded model, and that even when it is not malicious, an undisclosed swap breaks the service agreement and can invalidate research or benchmark results built on top of it (Cai, Shi, Zhao and Song, arXiv:2504.04715).
Why you cannot simply look at the answers
The obvious response is to test the model: ask it questions, compare the answers with what the real model would say, and flag anything suspicious. The Berkeley study tried a range of these methods and found them weak against a provider that is actively trying to hide a swap.
- Style classifiers struggled. When the authors trained classifiers to tell full-precision models apart from their quantized versions, accuracy stayed close to 50%, the same as guessing, across several model families (arXiv:2504.04715).
- Asking the model who it is did not help. Models rarely reveal details like their size or compression, and when the system prompt told a model it was a different model, most simply adopted the false identity.
- Statistical tests could be dodged by mixing. A provider that only swaps a small share of requests can push the detection rate down to chance in the authors' tests.
- Benchmarks were confounded. Quantized and full models scored within normal run-to-run variation on common benchmarks, and a provider could also send recognisable test questions to the real model while serving everyone else a cheaper one.
- Even "deterministic" settings were not deterministic. With sampling switched off, the study found agreement between different API providers serving the same open model was below 5% on its test, because of differences in hardware, batching and software. That noise is often larger than the difference a substitution would cause.
The authors' conclusion was that software checks on the outputs alone are "fundamentally unreliable" against a determined provider, and that stronger guarantees need something more than watching the text (arXiv:2504.04715).
Two routes to proof: trusted hardware and cryptography
There are broadly two ways to get stronger guarantees, and both appear in the sources.
The first is trusted hardware. A Trusted Execution Environment (TEE) is a hardware-isolated area of a chip that can produce a signed report describing exactly what code and which model file are loaded. The Berkeley authors recommend this route and measured a modest cost in their setup: a 9 to 16% increase in time to the first token and a 2.88% drop in throughput under heavy load, for an 8-billion-parameter model on a single H100 GPU (arXiv:2504.04715). The trade-off is that trust is anchored in the chip maker's hardware being built and configured correctly.
The second is cryptographic proof, which is the route FlashProve takes. Anthropic describes the two as complementary, with different guarantees, and says its focus here is on software-only methods whose security rests on mathematical problems being hard to solve, so that even a compromised machine cannot produce a valid proof for a false claim without breaking that underlying cryptography (Anthropic). Notably, the Berkeley paper, written before this release, judged zero-knowledge proofs "impractical for real-time APIs today" because of their computational cost. FlashProve is, in part, an attempt to show that cost has fallen a long way.
How FlashProve works, in plain terms
FlashProve uses a type of cryptographic proof called a zkSNARK. The name describes its two key properties: it is zero-knowledge (the proof reveals nothing beyond the fact being proved) and succinct (the proof is small and much quicker to check than redoing the original work).
According to Anthropic's description, the system has two phases (Anthropic; FlashProve repository):
- Commit. Once, offline, the provider publishes a commitment to the model's weights. Think of it as a short fingerprint that pins down one exact set of weights while keeping the weights themselves hidden.
- Prove. For requests it serves, the provider generates a proof file showing that the committed model, run on this prompt, produces exactly these output tokens.
- Verify. Anyone holding the commitment, the prompt and the reply can check the proof on an ordinary computer, without the weights and without a GPU.
Anthropic lists four properties the proofs are meant to have. An honest proof is accepted. A proof of a false statement cannot practically be forged. The proof reveals nothing about the weights, the intermediate calculations, or which internal "experts" the model used. And the proof is small and cheap to check. One important exception is spelled out: the model's architecture is not hidden, only its weights.
What the numbers show
Anthropic tested FlashProve on Llama 4 Maverick, a publicly available 400-billion-parameter mixture-of-experts model that uses around 17 billion parameters per token, in a 4-bit quantized form. The reported figures are (Anthropic):
- Proving speed: about 110 tokens per second on a server with a single H100 GPU and 24 CPU cores, measured on a batch of 24 requests that took about 223 seconds.
- Proof size: about 19 MB (18.78 MB) per 1,024-token request.
- Checking: about 17 seconds on 24 CPU threads, or 21 seconds on a single thread, after downloading a commitment of about 6.5 MB.
- One-off setup: about 39 minutes to create the commitment, which Anthropic says is good for about 16 million requests before the provider must commit again.
- Overhead: roughly 70 to 95 times the GPU time that the popular vLLM serving software needs to process the same prompts.
The comparison with earlier work is the striking part. Anthropic's summary of prior systems says the only earlier proof of the same Maverick model it knows of, a system called VerInf, reported 14.3 hours for 1,000 tokens with a 93.6 GB proof that took almost a day to verify. It also cites a commercial effort, Attestable, reporting 53 to 77 tokens per second on a dense 31-billion-parameter model, though it notes Attestable had not released an open-source library at the time of writing. These are Anthropic's own comparisons rather than independent benchmarks, but if they hold up, the cost of proving inference has fallen by several orders of magnitude in a short time.
Two caveats matter here. First, a 70 to 95 times overhead is still very large. Nobody is going to prove every token of every chat at that cost today. Second, and related, FlashProve is designed as post-hoc proving: requests are proved in batches after the fact, not live as the reply streams out. Anthropic says this was a deliberate choice, because in-line systems built for speed may trade away security, but it also lists the downsides, including the delay before you get a guarantee.
Where this could matter
Anthropic's post sets out four situations where proofs of inference could be useful. They are worth separating, because they serve very different people (Anthropic).
1. Customers and routing services
The simplest case is a business paying for a particular model, possibly through a third-party router. A proof would let it check, at least for a sample of requests, that it got what it paid for. This is the problem the Berkeley study measured, and it is the most commercially obvious use.
2. Detecting tampering inside a provider
Anthropic frames inference servers as attractive targets: an attacker who compromises one could serve malicious replies hidden among genuine ones. The post also raises a more unusual scenario, that as models become able to improve and deploy themselves, a more capable model could run in place of an authorised one and present itself as the weaker model to avoid the monitoring applied to it. If every response must carry a valid proof tied to the committed weights, an attacker or a substituted model would have to forge proofs, which the cryptography is meant to make impractical. Anthropic says it had set a public goal of a provable-inference prototype by 30 September 2026, met it through a separate project that signs its inference traffic and recomputes inference on a trusted server, and that FlashProve pursues the same objective by a different method.
3. Proving that a check was really done
A third idea is text provenance: proving that a particular model really produced a piece of analysis. The post gives the example of a developer claiming their software was scanned for vulnerabilities by a frontier security model. Chat logs can be faked; a proof tied to a model commitment is much harder to fake. Anthropic even sketches a "proof of failure", where a provider could show that a specific model spent at least a set number of tokens looking for bugs in a patch and did not find any.
4. Regulators and pacing
The most policy-heavy use is oversight. Some proposals to slow or "pace" frontier AI development depend on checking how computing hardware is used. Anthropic describes how a regulator could ask a provider for proofs covering the requests it served in a period, showing the hardware really was serving the claimed model, without the regulator learning the provider's secret weights. The post is careful to add that this shows the hardware was doing inference, not that it was not also training something on the side. A related use is checking that only models approved as safe are being served.
The limits Anthropic lists itself
FlashProve is explicitly described as a research prototype and "intermediate progress", not a finished system, and the GitHub repository describes it as a research prototype that is not maintained (FlashProve repository). The blog post lists several limitations that are worth taking seriously:
- Short contexts. Proofs currently cover contexts of up to 1,024 tokens. Real chat sessions and agent runs routinely use far more, and Anthropic notes frontier models have windows of hundreds of thousands to millions of tokens.
- An idealised version of the model. The proof is about an exact integer version of the weights under greedy decoding (always choosing the most likely next token). Real services typically use floating-point arithmetic and random sampling, so a real reply could diverge at some point from what was proved. Anthropic says the integer version is expected and tested to stay within a small error rate of normal inference, but that this does not cover deliberately adversarial prompts.
- Architecture is exposed. The weights are hidden, but the model's design is not, which may matter to companies that treat architecture as a trade secret. The system also relies on the mixture-of-experts structure for its speed.
- Side channels are out of scope. The proof itself reveals nothing about the weights, but measurements such as how long proving takes could, in principle, leak information.
- The fast code is not formally proven. This one deserves its own section.
Checking the checker
Cryptographic code is famously easy to get subtly wrong, and Anthropic says Claude itself produced many of the system's improvements. The post is candid that Claude "is good at optimization, but often makes decisions that are hard to evaluate." To counter that, the team stated the system's top-level security properties (completeness, soundness and zero-knowledge) in Lean, a formal proof language, and proved them there (Anthropic).
That still leaves gaps, which the post spells out. The formal statements have to be read by humans to make sure they say what they are meant to say. And the code people will actually run is a fast C++ verifier that "carries no formal guarantee"; it agrees with a slower verifier written in Lean on every proof in Anthropic's tests, but agreement in tests is not the same as a proof. For the prover side, which protects the secrecy of the weights, Anthropic provides no formal check and expects anyone using it to carry out their own security audits.
What it means for businesses using AI now
None of this changes how most people use AI this week. FlashProve is not a product, and no major provider has said it will attach these proofs to its replies. But it is worth understanding the direction of travel, especially for organisations that depend on specific models for regulated, safety-critical or contractual work.
- Treat model identity as an assumption, not a fact. The Berkeley findings suggest that if you use models through intermediaries, testing the outputs yourself will not reliably catch a quiet swap to a cheaper variant.
- Ask suppliers what they can attest. The Berkeley authors recommend that users request attestation proofs where available and, for critical applications, prefer services that offer hardware-backed attestation (arXiv:2504.04715). Cryptographic proofs may become another option to ask about.
- Watch the overhead number. The practical future of this approach depends on whether the 70 to 95 times cost keeps falling and whether context limits rise far beyond 1,024 tokens. Those are the figures to track in follow-up work.
The bigger picture
For years, the main trust questions about AI have been about what models say: whether answers are accurate, safe or fair. FlashProve points to a more basic question that sits underneath all of them: whether the system answering is the one you think it is. As AI moves deeper into business workflows, government oversight and automated agents that act without a person watching every step, that question stops being academic. A safety evaluation means little if the evaluated model is not the one being served. A regulator's approval means little if an unapproved model can be swapped in. And a customer's contract means little if they cannot tell what they received.
Anthropic has released the code, Lean proofs and documentation under the Apache 2.0 licence and says it is sharing the work so that others can "take it, and improve it" (Anthropic). The honest summary is that provable inference has moved from a theoretical idea to a working, if expensive and limited, prototype on a very large model. Whether it becomes a routine part of how AI is bought, sold and regulated will depend on cost, on independent scrutiny of the cryptography, and on whether providers and regulators decide that being able to prove which model answered is worth paying for.