Read the paper
FlashProve-Next: Verifiable Inference for Production LLM APIs
on GitHub
Imagine you order a steak at a restaurant and the kitchen has no windows. You're told it's wagyu, cooked medium-rare, but you have no way to see the grill. Now imagine the restaurant installs a tamper-proof thermometer that logs the exact cut and temperature — without revealing the chef's recipe or technique. That's what FlashProve-Next does for closed-weight LLM APIs: it produces a cryptographic proof that the provider ran the exact model, precision format, hidden prompt, and reasoning budget they advertised, without disclosing weights, activations, or proprietary prompts. The committed claim: verifiable, zero-knowledge inference proofs for production LLM serving stacks (bf16, fp8, mxfp4, FlashAttention, CUDA graphs, batching, prefix caching) without requiring integer surrogates or any modification to native serving. This is a genuine first in scope. Prior work like zkLLM and similar ZK-ML systems re-prove every layer through integer-quantized surrogates, which both balloons cost and diverges from what GPUs actually compute. FlashProve-Next eliminates the integer surrogate entirely by introducing per-operator local rounding contracts that bind floating-point rounding behavior directly. The architecture sits in the polynomial-commitment ZK family — specifically Reed-Solomon commitments over the model weights, with hidden-column openings inside proofs and constrained-mask binding over F_{p^3}. The key structural innovation is cost-weighted spot-checking: rather than proving every operator in every layer, the system probabilistically samples operators weighted by their contribution to output divergence, achieving soundness guarantees (ε ≤ 2^{-40} for the non-interactive mode, ε ≤ 2^{-20} for external-seed mode) without full-circuit proof cost. The folded ZK backend eliminates Phase 2 entirely, which is where most prior ZK-ML systems spend their proving time. The integrity story is unusually strong for a systems-cryptography paper. Twenty-eight Lean 4 modules mechanize round-by-round soundness with 696 declarations and zero sorry — meaning every proof obligation is discharged, no axioms are assumed beyond the standard library. Five-model Blackwell calibration across 1.85 million GEMM/MoE blocks and 1.96 million non-GEMM rows produced zero false rejections. A 14/14 cheating matrix — where the system must reject all adversarial substitutions — passes completely. Code, specifications, Lean modules, Rust verifier, and GPU benchmark receipts are all public. Concrete numbers: Qwen3-0.6B proven in 450.2 seconds GPU time (10.76 seconds CPU) for 1.47 billion cells at unique-decoding Q=128. The Rust verifier checks an 8 MiB proof in 10.1 milliseconds on CPU. Live vLLM serving of Qwen3-30B-A3B-FP8 produces proofs in 1.49 seconds with 23.4 ms Rust verification. These are production-plausible numbers for per-response verification, not batch-only audit. The scaling path to Qwen3-4B (36 layers, dev 4+2) is demonstrated but not fully benchmarked. The field fight here is trust-model selection: do you trust hardware (TEEs like SGX/TDX), trust third parties (attestation services), or trust math (cryptographic proofs)? TEEs have suffered repeated side-channel breaks. Third-party attestation is only as good as the attestor's incentives. FlashProve-Next bets entirely on math — the proof is publicly verifiable and the soundness is mechanized in Lean. The cost is proving time, which at 450 seconds for a 0.6B model and 1.49 seconds for a 30B MoE model is approaching the range where it could be amortized into API pricing. The obvious experiment not run: proving a full dense model at 70B+ parameters end-to-end with wall-clock benchmarks. The paper demonstrates the 30B-A3B MoE (which activates ~3B per token) and the 4B dense model in development, but a 70B dense Llama-class proof would be the credibility threshold for hyperscaler adoption. The honest read is compute budget — Blackwell GPU time is expensive, and the folded backend's scaling from 0.6B to 4B to 30B-MoE suggests the 70B experiment is queued, not failed. Cross-architecture hiding (proving the model family without revealing which specific architecture) is explicitly deferred.
The analogy
You order wagyu at a windowless kitchen. The restaurant installs a tamper-proof thermometer that logs the exact cut and cooking temperature to your receipt — without revealing the chef's recipe. FlashProve-Next is that thermometer for LLM API calls: a cryptographic receipt proving the provider ran exactly what they advertised, without exposing proprietary weights or prompts.
Kitchen receipt
Tamper-proof thermometer logs the cut and temperature to the diner's receipt without revealing the recipe
ZK inference proof
Reed-Solomon commitments and spot-checked operator proofs verify model identity and config without revealing weights or prompts
Honest assessment
This is a serious systems-cryptography paper with unusually strong formal verification (machine-checked Lean proofs, not just peer review). The architecture is genuinely novel — eliminating integer surrogates for native FP proving is a real contribution, not incremental. The main limitations are honest ones: no 70B dense benchmark, no independent replication, and the custom benchmark suite rather than a community standard. If the folded backend scales to 70B dense in sub-minute proving time, this becomes infrastructure. If it stalls at MoE-only or small-dense, it stays academic. Single-author work, which is both impressive and a bus-factor concern.
What Is CLAIMS?
83
/ 100
BedrockNews applies a structured analytical framework called CLAIMS to academic papers and technical research releases.
How CLAIMS worksClaim
4/5
Ladder
3/5
Architecture
5/5
Integrity
5/5
Milestone
4/5
Successor
4/5
What is this paper actually committing to?
Genuine first: ZK proofs on native FP serving without integer surrogates, covering bf16/fp8/mxfp4 with FlashAttention and CUDA graphs. Not incremental — eliminates the core bottleneck of prior ZK-ML work.
The field fight
How should clients verify that LLM API providers ran the advertised model — trust hardware (TEEs), trust third parties, or trust math (ZK proofs)?
Side A
Hardware enclaves (SGX/TDX) are fast and practical enough; side-channel risks are manageable
Held by: Intel SGX, AMD SEV, cloud TEE advocates
Side B
Only cryptographic proofs provide verifiability without trusting hardware vendors or attestors; the cost is proving overhead
Held by: zkLLM, ZKML frameworks, FlashProve-Next
Milestone tracker
Unlocks: Per-response verification viable for frontier API providers (GPT-4 class), enabling trustless LLM marketplaces
Current
30B
params (MoE)
live vLLM proven in 1.49s
Next
70B
params (dense)
sub-60s full proof
~1-2 years, gated on GPU cost and folded backend optimization
Verified Facts (7)
Twenty-eight Lean 4 modules (696 declarations, zero sorry, standard axioms only)
Five-model Blackwell calibration gives zero false rejections across 1.85M GEMM/MoE blocks and 1.96M non-GEMM rows
Qwen3-0.6B ExtSeed-153 (1.47B cells, 8 MiB) in 450.2 s GPU (10.76 s CPU) at unique-decoding Q=128
Passes a 14/14 cheating matrix
Live vLLM Qwen3-30B-A3B-FP8 Relation 6 (1.49 s prove, 23.4 ms Rust verify, public weight tiles)
Rust fpn-verify checks 8 MiB FPN2 Relation 2 proofs in 10.1 ms on CPU
NI-315 mode: ε ≤ 2^{-40}, Q ≤ 2^{64}; ExtSeed-153 mode: ε ≤ 2^{-20}, Q_samp ≤ 2^{30}
Practical Implications (4)
API consumers could demand cryptographic receipts proving model identity, precision, and config — enabling trustless LLM marketplaces
Regulatory compliance for high-stakes domains (medical, legal, financial) where model identity verification is mandated
Provider differentiation: 'we prove every response' becomes a competitive feature, not just a trust claim
The 23.4ms Rust verify time means client-side verification adds negligible latency to any API call
More latest news
Read all