Skip to content
Back to the Guavy Wire
Crypto

Ethereum zkAPI Enables Private AI Payments on Mainnet

Instruments
ETH USDC
Share

The Ethereum Foundation has introduced zkAPI, a new payment system designed to enable private transactions for AI models and other metered APIs on the Ethereum mainnet. Developed in collaboration with the Open Anonymity Project, zkAPI allows users to pay for services without linking their identity to the transaction.

Users deposit credits in Ethereum (ETH), USD Coin (USDC), or other assets into a vault contract. These deposits are converted into private notes that only the depositor can spend, ensuring the original deposit cannot be traced. The system uses zero-knowledge proofs to authorize spending, generating temporary API keys without revealing the user's identity or the specific note used for payment.

The system relies on cryptographic components like Merkle trees and nullifiers to maintain privacy and security. Deposits are recorded as commitments within a Merkle tree, allowing validation without exposing details. Nullifiers prevent double-spending while keeping user information confidential. The AI provider only sees the content of requests, not who paid for them.

Vittorio Rivabella of the Ethereum Foundation's dAI team noted that zkAPI does not provide network-level anonymity. Providers can still access request metadata, such as IP addresses, and users seeking stronger protection may need to use tools like Tor. Additionally, repeated use of personal details or writing styles could allow providers to re-link sessions.

The launch follows a proposal published in February by Davide Crapis and Vitalik Buterin. Alongside the core protocol, the project includes a local client compatible with OpenAI and Ollama-style APIs, as well as a browser-based AI chat implementation called OA Chat, supporting various use cases including AI inference and machine-to-machine payments.

More on Crypto