← All articles
AINov 2, 20267 min read

How to prove an AI really wrote that answer, eh

Anthropic built a prototype that attaches a tiny cryptographic certificate to an AI's reply, so you can check it came from the exact model it claims, without ever seeing the model's secret recipe.

Based on: Progress on provable inference for large language models, by Anthropic Research ↗
Anthropic research, explained 🍁

Mo got an answer from "Bev the Beaver." But was it really Bev?

Picture a roadside maple syrup stand outside Cowansville. The jug says "100% pure." You'd love to know it is, but you can't taste-test every jug, and the sugar-shack owner isn't about to hand over the family recipe.

Asking an AI a question is a bit like that. You send a request, a reply comes back, and you trust that it came from the model you chose. Anthropic just published a research post about a way to prove it, using a cryptographic certificate, without the provider giving away the model.

Fair warning: this one is more "engineering prototype" than "survey of people." It's an early step, not a finished product.

The TL;DR
  • Today you generally can't check which AI model really produced a reply. It could have been swapped for a cheaper one, or tampered with on the way to you.
  • Anthropic's team built FlashProve, an open-source prototype that attaches a small "certificate" to replies, proving a specific model produced them.
  • On a 400-billion-parameter model, it makes proofs at about 110 tokens per second on one GPU. Each proof is roughly 19 MB and takes seconds to check.
  • It's still slow: about 70 to 95 times the GPU time of just running the model.
  • It's a research prototype with real limits, which Anthropic lists itself.

Meet the cast

I'm Mo, the user. I just want to know who really answered me.
I'm Bev, the AI model. My inner workings are a trade secret.
Gus. I read the fine print. Honk.

Our cartoon stand-ins. The research itself used a real open model and real hardware, not woodland creatures.

The problem: how do you know who answered?

The researchers point out that when you talk to a friend in person, you can see and hear them. When you talk to an AI, you have almost none of that. In their words, "Judging from the model’s output alone is unreliable", even if the answers look great.

That matters in a few situations the post spells out:

  • Independent testers need to know the model they evaluated is the model being served to everyone else.
  • Customers using a middleman (a routing service) want assurance the reply came from the model they paid for, not a cheaper one swapped in.
  • Security teams worry about an attacker who tampers with the stream of words coming back.

Checking it the obvious way, by re-running the model, needs huge computers, and most frontier model weights are private anyway. So the goal is a proof you can check with modest hardware and without seeing the weights.

Jargon, translated
zkSNARK
A kind of cryptographic certificate. One side (the prover) shows a short proof that a computation was done correctly, and the other side (the verifier) checks it fast, learning nothing else.
Weights
The billions of numbers that make up a model. Think of them as the secret recipe.
Commitment
A short fingerprint published ahead of time that pins down one exact set of weights while keeping them hidden.
Token
A small chunk of text, roughly a word or part of one, that a model reads and writes.
Mixture of experts
A model made of many specialist sub-networks, where only a few activate for each token.
Lean
A formal-verification language, used to check mathematical proofs by machine.

How FlashProve works (the sugar-shack version)

It runs in two phases. First, the model provider publishes the commitment: the fingerprint of the exact model it will use. This is done once per model and took about 39 minutes in the team's test. Then, for each reply, the provider produces a proof file saying "this committed model produces exactly these output words."

Anyone holding the commitment, the prompt and the reply can check the proof, with no weights and limited computing power. The post names four properties: an honest proof is accepted, a fake can't be forged, the proof reveals nothing about the weights, and the proof is small and cheap to check. (The model's architecture, meaning its overall shape, isn't hidden. Only the weights are.)

Back at the syrup stand: think of a tamper-proof seal stamped on the jug that anyone can verify, which never reveals the recipe. It's an analogy, of course, since real syrup isn't cryptography.

The results: much faster than before, still pricey

The team tested on Llama 4 Maverick, a Meta model with 400 billion parameters and publicly available weights (in a 4-bit version), which uses about 17 billion for each token. One H100 graphics card made proofs at around 110 tokens per second.

93.6 GBproof size reported by an earlier system (VerInf) for the same model
VS
~19 MBFlashProve's proof size for a 1,024-token request

The earlier system also needed 14.3 hours for 1,000 tokens, and nearly a day to verify. FlashProve's proofs verify in seconds.

How fast different systems can prove, in tokens per second

Not a fair race: different models, different hardware. It shows the direction, not a leaderboard.

FlashProve (400B model)110
Attestable (31B model)53–77
zkLLM (13B, batch)2.5
SASH (8B model)1.25

Source: Anthropic. Bar for Attestable uses the top of its range. Attestable had not released an open-source library at the time of writing.

Checking one proof took 17 seconds on a 24-thread CPU (21 seconds on a single thread), plus a one-time download of about 6.5 MB for the commitment.

In Canadian units Proving cost roughly 70 to 95 times the GPU time of just running the model. If a job took one hour on its own, proving it would take around 70 to 95 hours, so about three to four days. Faster than before, but you wouldn't do it for every jug.

How do you trust the proof code itself?

Cryptography code is famously easy to get subtly wrong. Anthropic says Claude produced the speed-ups, but notes that Claude often makes decisions that are hard to evaluate in big, complicated systems. So the team wrote the main security claims in Lean, where a machine can check the maths, and released an interactive visualizer to help humans audit that those claims say what they're meant to. They also released a slow Lean verifier and a fast C++ one. The fast one is what you'd use day to day, and it agreed with the Lean one on every proof in their tests, but it doesn't carry the formal guarantee.

Gus reads the fine print
  • This is a research prototype, shared as intermediate progress, not a finished product.
  • The fast code isn't formally guaranteed to match the Lean version or the paper.
  • It proves an integer version of the model making its single most likely choice at each step. Floating-point versions or sampled replies could drift from what was proved.
  • It assumes a mixture-of-experts model, and the model's architecture isn't hidden.
  • It currently handles contexts up to 1,024 tokens, far shorter than typical long chats.
  • Side-channel attacks, like measuring how long a proof takes, could leak information about the weights, and are out of scope.
  • For the "pacing" use, it checks that hardware serves inference, but not that it isn't also training on the side.
Honk responsibly.

Why this matters in Canada

This research isn't Canada-specific, and the post doesn't mention Canada. But the problem it tackles is one Canadian teams will face. If your company buys AI through a reseller, or if you rely on someone's claim that "our model checked this," a way to verify which model was used could matter.

There's also a regulator-shaped link. Canada's Canadian Artificial Intelligence Safety Institute says it works on AI safety, including joint testing with international counterparts. The Anthropic post doesn't mention it, but independent testers needing to know the model they tested is the model being served is exactly the sort of problem the post describes.

What you can do tomorrow

  • Ask where your AI comes from. If you use AI through a third-party tool, find out which model is actually answering and whether that can change without notice.
  • Be wary of "an AI checked it" claims. Chat logs alone don't prove which model produced them. The post points out they could be faked.
  • Watch this space, but don't wait for it. It's a prototype that's still slow. For now, treat verification as a nice-to-have on your vendor questionnaire, not a feature you can buy today.
Pop quiz: does FlashProve let you see the model's weights?

No. The proof is designed to reveal nothing about the weights. It only shows that a committed set of weights produced the reply. Though the model's architecture isn't hidden.

This is our plain-language take on Anthropic's research, with our own analogies and cartoons. For the full details, read the original.