Toward Verifiable Paid Inference: Integrating x402 with Verifiable Machine Learning
Vid Keršič, Muhamed Turkanović
Key points
From the paper's conclusion- In this paper, we propose a framework for verifiable paid inference that integrates x402-based micropayments with verifiable ML techniques.
Abstract
The use of artificial intelligence (AI) and machine learning (ML) models has increased significantly in recent years, with rapid advances across domains such as natural language processing, computer vision, code generation, and scientific computing. Alongside this growth, a diverse ecosystem of models and services has emerged, raising important questions about efficient and fair mechanisms for accessing and paying for inference. In particular, there is an ongoing debate between subscription-based access and per-request pricing models, the latter becoming especially relevant in the context of autonomous AI agents that dynamically consume external services. One of the emerging open protocols for enabling per-request payments is x402, which uses Hypertext Transfer Protocol (HTTP)-native payment flows. The core payment protocol does not let clients verify that inference was performed using the claimed model. In this paper, we propose a framework for verifiable paid inference that integrates x402-based micropayments with verifiable ML techniques. The framework combines a payment authorization bound to model and input commitments with a common escrow design for synchronous and asynchronous verification. Payment is released after a valid proof or after an optimistic challenge process accepts the result under its stated assumptions. The prototype demonstrates the functional feasibility of this approach, together with measured gas costs and proving times. The measurements indicate that asynchronous verification is more suitable for larger workloads and higher request volumes, whereas full-model proving is practical primarily for smaller models.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- APort Vault: Benchmarking AI Agent Payment Authorization with the Open Agent PassportarXiv · 2026
- Agent Money Benchmark: Can AI Agents Be Trusted to Spend Money?arXiv · 2026
- Seal, Then Sample: Sampled Layerwise Proofs for Verifiable LLM Inference from GPT-2 to 70BarXiv · 2026
- A Compute Center Anyone Can Join: A Peer-to-Peer System for AI InferencearXiv · 2026
- AgentValve: Sybil-Resilient Payment Authorization for Permissionless AI MarketsarXiv · 2026
- FlashProve-Next: Verifiable Inference for Production LLM APIsarXiv · 2026