Verifiable AI's Threat-Model Menu: 2M Inferences Settle On-Chain
On-chain inference now has hard gas numbers, live proof counts, and a threat-model menu — zk, TEE, or optimistic — that DeFi can price and trust.
In the year of our algorithm, the proof market has just triggered its opening bell. On-chain inference is no longer a whitepaper’s fever dream. The Dagstuhl framework drops a CNN onto Ethereum L1 for 506,397 gas—call it $1.77 in the old empire’s currency—while OpenGradient has already settled 500,000+ zkML proofs and TEE attestations for 2,000,000+ verifiable inferences.[^claim_1001][^claim_1009] The verifiable AI stack has matured into a menu of threat models: optimistic challenge periods, zero-knowledge circuits, TEE enclaves, and hybrids chosen per task. That is a usable coprocessor primitive for DeFi, with defined costs and defined security assumptions. The yield on compliance just went ex-dividend.
Start with cost, because in this class of trade the vig comes first. Fully on-chain inference burns 57,603 gas for linear models, 143,647 gas for CNN(F2, K1), and 506,397 gas for CNN(F8, K4) on L1, all bit-exact to off-chain counterparts formally proven in Z3.[^claim_1001] Those gas figures place non-trivial models inside block limits and give fee-market designers hard numbers for pricing AI calls. The fee market just got a new ticker.
Execution and verification are splitting apart. OpenGradient’s Hybrid AI Compute Architecture separates execution from verification through specialized node types: inference nodes run GPU workloads, data nodes supply attested external data, and full nodes run consensus and settle either zkML proofs or TEE attestations for every inference on-chain.[^claim_1002] The network has processed 2,000,000+ verifiable AI inferences and over 500,000 zkML proofs plus TEE attestations, exposing an on-chain coprocessor interface where every inference arrives with proof material.[^claim_1009] The hardware is the witness, and the witness is for sale, as always.
Not every task needs a zero-knowledge proof; only the ones where you need to look clean after the assassination. Ora Protocol enables optimistic verification of AI inference, posting results on-chain with a challenge period during which opML validators can verify outputs and submit fraud proofs if incorrect.[^claim_1003] Ethereum mainnet, Arbitrum One, Base, and Optimism all support on-chain generative AI inference through Ora and Ritual, recording a cryptographic proof of each computation on-chain.[^claim_1004] EZKL pushes the compiler layer further, converting any ONNX-compatible model into a ZK circuit.[^claim_1006] It’s the compiler as arms dealer.
The hybrid end of the spectrum is Optimistic TEE-Rollups. OTR leverages NVIDIA H100 Confidential Computing TEEs for sub-second provisional finality, underpinned by an optimistic fraud-proof mechanism and stochastic zero-knowledge spot-checks to mitigate hardware side-channel risks.[^claim_1005] This trade is explicit: perfect provability yields to latency, and crypto-economic spot-checks police the hardware. It’s a plea bargain with the machine.
Agents are becoming first-class actors on this stack. Chainlink for Agents integrates the Chainlink Runtime Environment with CCIP so autonomous agents can bridge off-chain AI decision-making to on-chain smart contracts and transfer assets across multiple blockchain networks.[^claim_1007] At the payment layer, Agent-8004-x402 combines ERC-8004 trustless agent identity with x402, where a provider responds HTTP 402 with a payload such as “pay 5 USDC on Ethereum to address X” before service delivery.[^claim_1008] Lumera brings its own deployment density, running 50-plus SuperNodes across Cascade storage, Sense media authenticity, and Inference verifiable AI modules.[^claim_1000] The agents are the new high-frequency traders, and the 402 is their dark pool.
The crypto consequence is a threat-model choice per task. Latency-sensitive MEV logic can use TEE provisional finality with spot-checked ZK; high-value settlement can wait for full zkML proofs; cheap classification can ride optimistic fraud proofs. x402 turns HTTP 402 into a crypto payment rail for machine-to-machine inference, and CCIP-connected agents can settle those payments across chains. With L1 gas figures public, protocol designers can now price AI calls into fee markets and MEV models. Just as the bond market prices default risk, the AI market now prices proof risk.
The verifiable-inference stack has moved from paper to production. The pattern is not one proof system, but layered ones: zk where finality matters, TEEs where latency matters, optimistic where cost matters, agents that pay over HTTP across chains. Watch for fee markets pricing AI compute by proof type, and for TEE spot-check parameters to become standardized. The yield curve on verifiability just steepened. Suit up.
Provenance ledger
8 span-verified · 2 web-cited8 claims below are locked to a verbatim span re-verified against the source. The remaining 2 are web citations: the URL was checked, but the excerpt is the researcher's summary and was not re-derived from the page. Citation markers in the text jump here.
[1] Lumera Protocol implements three core AI service modules—Cascade for permanent decentralized storage, Sense for AI-driven media authenticity and tamper detection, and Inference for verifiable on-chain AI and LLM access—powered by more than 50 SuperNodes on mainnet and testnet. span-verified
“More than 200 additional validators signaled intent during the Q2 public testnet, alongside the deployment of 50-plus SuperNodes powering real-time operations for Lumera’s core modules: Cascade (permanent decentralized storage), Sense (AI-driven media authenticity and tamper detection), and Inference (verifiable on-chain AI and LLM access).”[1]
1039fbefb9a0e407017a9202995082e0723d490fef1bc470eb32e7ce4e29a93c [2] The on-chain decentralized learning framework with Proof-of-Improvement (PoIm) achieves fully on-chain inference costs of 57,603 gas for linear models, 143,647 gas for CNN(F2, K1), and 506,397 gas for CNN(F8, K4) on Ethereum L1, while remaining bit-exact to off-chain models formally proven in Z3. web-cited
“Fully on-chain inference consumes 57,603 gas (≈ $0.18) for linear models, 143,647 gas (≈ $0.49) for CNN(F2, K1), and 506,397 gas (≈ $1.77) for CNN(F8, K4) on L1 (e.g., Ethereum). … remaining bit-exact to their off-chain counterparts, formally proven in Z3.”[6]
This excerpt was not re-derived from the source page, and may paraphrase or condense it. Check the source before relying on it.
[3] OpenGradient’s Hybrid AI Compute Architecture (HACA) separates execution from verification via distinct node roles: inference nodes for GPU workloads, data nodes for attested external data, and full nodes that run consensus and settle either zkML proofs or TEE attestations for every inference on-chain. span-verified
“Models run on a permissionless network of specialized GPU and TEE nodes, every inference produces an attestation or zero-knowledge proof, and those proofs settle on-chain in real time. … Hybrid AI Compute Architecture (HACA): The network separates execution from verification through specialized node types, so full nodes run consensus and settle proofs, inference nodes handle GPU workloads, and data nodes provide attested external data.”[10]
5dd816905e55b7c9caf14867ac68be53ba03345640bd9b1bfe7ee23674a564e5 [4] Ora Protocol implements optimistic verification of AI inference by posting results on-chain with a challenge period during which opML validators can verify outputs and submit fraud proofs if the inference is incorrect. span-verified
“Ora: Enables optimistic verification of AI inference, where the result is posted onchain with a challenge period. During this time, opML validators can verify the result, and if found to be incorrect, submit a fraud proof.”[8]
073059b56a4afd896f8570861a97309530b4948981e376a78eb2cd91860e2cca [5] Ethereum mainnet, Arbitrum One, Base, and Optimism support on-chain generative AI inference via Ora Protocol and Ritual, in which a machine learning model is executed and a cryptographic proof of the computation is recorded on-chain. span-verified
“It means executing a machine learning model and recording a cryptographic proof of that computation on the Ethereum blockchain. … Ethereum mainnet, Arbitrum One, Base, and Optimism all support on-chain AI inference through Ora Protocol and Ritual as of 2026.”[5]
12ba29eb5158cf3a11c26fbb0d8cd8b33241fb4690611af94c9f2a681ee551ef [6] Optimistic TEE-Rollups (OTR) use NVIDIA H100 Confidential Computing TEEs to provide sub-second provisional finality, backed by an optimistic fraud-proof mechanism and stochastic zero-knowledge spot-checks that explicitly target hardware side-channel risks. span-verified
“OTR leverages NVIDIA H100 Confidential Computing Trusted Execution Environments (TEEs) to provide sub-second Provisional Finality, underpinned by an optimistic fraud-proof mechanism and stochastic Zero-Knowledge spot-checks to mitigate hardware side-channel risks.”[12]
cc4916439524bc6ac56e9859a387820faf2878b63a71abc0478ae6da76b5bac9 [7] EZKL provides a compiler framework that converts any ONNX-compatible model into a zero-knowledge circuit, enabling verifiable AI inference and analytics products that can be checked on-chain. span-verified
“EZKL: Provides compute for verifiable AI (inference) and analytics products along with a compiler framework to convert models into ZK circuits (works for any model compatible with the ONNX standard).”[8]
a0d3676d730a937548a370196b679b6757509e5908dd3d939240200991feb58b [8] Chainlink for Agents integrates the Chainlink Runtime Environment (CRE) with CCIP so autonomous AI agents can bridge off-chain AI decision-making to on-chain smart contracts and transfer assets or execute operations across multiple blockchain networks. span-verified
“Chainlink unveils ‘Chainlink for Agents,’ a foundational infrastructure designed for autonomous AI agents in blockchain environments. … Through the Cross-Chain Interoperability Protocol (CCIP), agents can transfer assets and perform operations across multiple blockchain networks. The Chainlink Runtime Environment (CRE) bridges offchain artificial intelligence processing with onchain smart contract functionality.”[15]
eb7308ec3beda867b304ffe9abf7fb514d5497f4093fd1438dcf4a8724c52a03 [9] Agent-8004-x402 uses the emerging ERC‑8004 standard for trustless agent identity together with the x402 protocol, which extends HTTP with an HTTP 402 response that includes a payment instruction such as “pay 5 USDC on Ethereum to address X” before the service is delivered. web-cited
“Agent-8004-x402 … leverages Ethereum’s emerging ERC-8004 standard for trustless agent identity and the x402 protocol for autonomous payments. … x402 extends the standard web request-response model with a crypto payment step: when Agent A requests a service from Agent B that requires payment, B can respond with HTTP 402 and a payload specifying the price (e.g. ‘pay 5 USDC on Ethereum to address X’).”[11]
This excerpt was not re-derived from the source page, and may paraphrase or condense it. Check the source before relying on it.
[10] OpenGradient’s verifiable AI compute network has processed more than 2,000,000 verifiable AI inferences and over 500,000 zkML proofs plus TEE attestations, exposing an on-chain coprocessor interface where each inference is accompanied by either a zero-knowledge proof or TEE attestation. span-verified
“The OpenGradient Network powers high-performance verifiable computing for AI: host models, run secure inference, and deploy agents onchain. … 2 Million+ Verifiable AI Inferences 500K+ zkML Proofs + TEE Attestations.”[4]
77afe0410140ad4fe3b6af6f5910dd17a37ad13a992cfeb9e62868c474644771 Sources
- https://www.crowdfundinsider.com/2025/09/251019-lumera-protocol-launches-mainnet/
- https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.AFT.2025.35
- https://new.deal/cryptocurrencies/opengradient/
- https://equilibrium.co/writing/state-of-verifiable-inference
- https://www.ancilar.com/knowledge-hub/blogs/quick-guide-running-your-first-gen-ai-inference-on-ethereum
- https://arxiv.org/html/2512.20176v1
- https://blockonomi.com/chainlink-unveils-infrastructure-platform-enabling-autonomous-ai-agent-operations/
- https://medium.com/@gwrx2005/ai-agents-in-blockchain-applications-in-cryptocurrency-trading-355f11bff04d
- https://www.opengradient.ai/