You pay a subscription to access a provider's best model. The answers arrive, and they are good. But how do you know it really is that model answering you, and not a cheaper version, quietly slipped in its place to save on servers?
Today, you cannot know. The quality of an answer is not enough: a more modest model can sometimes answer very well.
The problem
Between you and the model there are often several intermediaries: the provider, platforms that redirect requests, sometimes services that automatically choose the model according to the request, as Revolut does for its developers. Not to mention attackers, who could alter the answers along the way.
This lack of verification is a problem for several parties. For customers, who want to receive what they paid for. For regulators, who would like to ensure that only authorised models are used. For independent evaluators, who need to be sure they are testing the model actually offered to the public.
The solution: a "zero-knowledge" proof
FlashProve, presented on Monday by researchers from Anthropic, together with researchers from EPFL, the Swiss federal institute of technology in Lausanne, and MIT, relies on a cryptography technique called a zero-knowledge proof.
The principle works in two stages.
A fingerprint of the model. The provider publishes a kind of digital fingerprint of its model, a short code that precisely identifies its parameters without revealing them.
A proof for each answer. For each request, the provider produces a mathematical proof that it really was the model matching that fingerprint which generated the answer from the question asked.
Anyone can then verify this proof on an ordinary computer, without having access to the model itself. The provider's secrets remain protected. The system's properties were demonstrated with Lean, the formal verification tool we discussed in connection with the "enormous theorem".
To explain these zero-knowledge proofs, the Belgian cryptographer Jean-Jacques Quisquater and his co-authors devised a story in 1989 that became famous. A circular cave has two entrances, linked at the back by a magic door that opens only with a secret word. Peggy wants to prove to Victor that she knows this word, without revealing it to him. She enters by one side, at random. Victor calls out which side she should come out by. If she knows the word, she succeeds every time. After twenty successful attempts, Victor is convinced, without having learned anything about the secret.
Performance
The researchers tested their system on Llama 4 Maverick, an open model from Meta with 400 billion parameters. FlashProve manages to prove around 110 tokens per second on a single graphics card, with a proof of around 19 megabytes for a 1,024-token answer. Verification takes about twenty seconds on an ordinary processor.
It is much faster than previous open systems, according to the authors. But it remains costly: producing the proof requires around 70 to 95 times more computation than producing the answer itself.
The limits
The authors themselves present this work as a step, not as a finished product. For now the system only works for short answers, of 1,024 tokens at most. It applies to a simplified version of the model's computations, which may differ slightly from its usual operation. It assumes a specific architecture, that of "mixture of experts" models. And it does not protect against certain more subtle attacks, which would for example observe the computation time.
The code is released under an open licence, which allows anyone to reuse it.
What to take away
With FlashProve, proving which model produced an answer becomes technically possible, without revealing the provider's secrets. It is still too slow and too limited for everyday use.
But the idea matters. As AI becomes established in banks, hospitals and public administrations, it will no longer be enough to take providers at their word. It will have to be possible to verify. And mathematics may well offer what trust alone does not guarantee.