BREAKING
Sony-Backed Soneium Expands Into Tokenized IP Investments Through Partners Group and Asseto Collaboration ● Gold Holds Above Key Thresholds as Traders Weigh Correction Versus Deeper Decline ● JPMorgan Chase Considering Launch of New Stablecoin As Rival Big Banks Build Dollar-Pegged Token: Report ● SEC Proposes Modernized Framework to Clarify Crypto Asset Custody for Investment Advisers and Regulated Funds ● Rarible Unveils Rebuilt Cross-Chain Marketplace Centered on Lightspeed Trading and Ecosystem Rewards ● Dark Messiah of Might & Magic: Community Edition Heading to Steam as an Official Free Upgrade ● Nvidia Backs Indian AI Infrastructure Startup Simplismart in $14 Million Funding Round to Optimize Model Performance ● Energy Department Releases Emissions Value Request Process for 45Z Fuel Production Credit ●
Ethereum Ecosystem

Open Anonymity Project and Ethereum Foundation Launch zkAPI to De-Link Payments from User Identity in AI and Web Services

Photo: Documentation / News Illustration

A new cryptographic primitive aiming to reshape privacy standards across digital infrastructure has officially gone live on the Ethereum Mainnet. Developed collaboratively by the Open Anonymity Project and the Ethereum Foundation, a newly deployed protocol known as zkAPI allows users to pay for metered application programming interfaces—most notably large language models and artificial intelligence inference services—without exposing their personal identities or connecting their payment methods to their conversational prompts.

The system addresses a fundamental structural privacy flaw inherent in modern software architecture. Under the prevailing paradigm, virtually every API call carries a direct trail of identity. A developer or consumer purchases access using an API key that points directly to a specific account, which in turn links to a traditional credit card, cryptocurrency wallet, or corporate billing profile. Every individual prompt, query, or interaction submitted to the model flows straight into a permanent digital ledger attached to that exact account. Over months and years of usage, providers accumulate comprehensive behavioral profiles, mapping a user’s professional tasks, creative explorations, personal doubts, medical inquiries, and financial planning sessions into a single, cohesive dossier.

For many users, prompts are intensely personal. Asking an AI model for assistance with a medical diagnosis, legal concern, or financial strategy means handing over a running, searchable transcript of one’s inner thoughts to whichever corporation happens to hold the billing relationship. Until now, the alternatives have been glaringly inadequate. Users could attempt to pay directly on-chain for every individual request, but this approach remains remarkably slow, prohibitively expensive, and entirely traceable by anyone monitoring the public blockchain. Alternatively, users had to place blind trust in centralized middlemen, hoping they would not abuse, monetize, or leak their sensitive usage histories.

The core innovation behind zkAPI, which originates from a research design published on Ethereum Research by Davide Crapis and Vitalik Buterin, is the absolute separation of payment from identity. Instead of tying an ongoing subscription or account to continuous API calls, a user initiates a single, ordinary Ethereum transaction to deposit credits—such as Ether or stablecoins like USDC—into a specialized smart contract vault on the network. From that moment onward, the user’s remaining balance is transformed into a private cryptographic note. This note functions essentially as digital cash: only the rightful owner can spend it, and no external observer can trace the resulting expenditures back to the original deposit transaction.

To authorize spending without revealing identity, software running locally on the user’s machine generates a compact zero-knowledge proof. This cryptographic proof effectively communicates a specific, limited truth to the service provider: it confirms that a valid, funded note covers the cost of the current transaction and that the specific balance has not been spent previously. A single proof can be structured to cover either a single isolated request or an entire continuous session of queries. The receiving server verifies the truth of the mathematical statement without ever learning which underlying note funded the call, which deposit address it came from, or who the human user is. At the payment layer, requests cannot be linked back to the user, nor can they be linked to one another.

Two distinct pillars of advanced cryptography ensure this mechanism remains both entirely private and secure against abuse. First, all user deposits exist as commitments inside a cryptographic Merkle tree, allowing a zero-knowledge proof to confirm that a given note belongs to the set of valid credits without pointing to any specific entry. Second, every time a user spends from their balance, the system publishes a nullifier—a one-way serial number uniquely derived from the note’s hidden secret. If a user stays safely within their available balance, their actions remain completely unlinkable. However, if a malicious actor attempts to double-spend the exact same balance, the system immediately generates a duplicate nullifier. This exposes the fraudulent attempt without revealing any other details about the user’s identity.

In practical execution, the payment path and the conversation path operate independently while sharing two ephemeral objects: a short-lived runtime key and a corresponding usage receipt. The server that handles financial settlement never sees the content of the conversation, while the AI provider that processes the model prompts never learns the billing identity behind the temporary key. The spending cap functions as a strict reservation. When the temporary key expires, the provider’s infrastructure records the total usage for that key in a cryptographically signed receipt, and the server deducts that precise amount from the user’s private note. Neither party can alter the bill after the fact, and a single authorization covers an entire session of prompts rather than requiring heavy cryptographic proofs for every single API call.

Introducing zkAPI: private usage credits for any API

For simpler operational deployments, zkAPI also includes a proxy mode where the zkAPI server relays requests directly to the AI provider. While this mode is easier to operate, the relay observes network traffic. The runtime-key mode remains the preferred architecture for maximum privacy, ensuring that no payment intermediary ever inspects the underlying data. Under the hood, zkAPI proves spending validity using Groth16 zk-SNARKs on the BN254 curve, utilizes Poseidon for hashing commitments and nullifiers, and maintains notes within a Merkle tree that is 32 levels deep. The server verifies spending proofs off-chain, while the Ethereum vault contract independently verifies matching proofs during deposits, closures, and emergency exits, ensuring that users never have to rely blindly on the honesty of the server.

The implications of this technology extend far beyond conversational AI chat interfaces. Because the client architecture and smart contracts can front any service that operates on a metered billing model, the protocol is applicable across numerous digital domains. Blockchain applications requiring remote procedure call queries, image and video generation services demanding per-job microtransactions, virtual private networks charging for bandwidth and time, and autonomous machine-to-machine agents that must compensate external services without establishing traditional corporate accounts can all leverage the same zero-knowledge payment rails.

For service providers, integrating zkAPI requires accepting cryptographic proofs instead of traditional API keys and settling signed usage receipts instead of maintaining complex customer databases and billing accounts. Pricing models, rate limits, and underlying hardware infrastructure remain entirely unchanged for the business.

Despite its powerful privacy guarantees, zkAPI comes with notable limitations that users must navigate. The most prominent constraint involves network-level anonymity. While zkAPI severs the link between payments and identity, the gateway can potentially correlate request patterns if a user continuously submits queries from a stable home or office IP address. Users seeking comprehensive privacy across the entire stack typically route their traffic through tools like the Tor network, establishing a fresh network circuit for each distinct session to prevent timing and metadata correlation.

Additionally, privacy can be inadvertently leaked through the content of the prompts themselves. If an individual reuses specific personal details, a distinct writing style, recurring conversation histories, or proprietary project documents across multiple sessions, the inference provider may be able to link those sessions together based on stylistic fingerprints or shared contextual data. This represents a fundamental privacy-utility tradeoff: standalone, context-free queries offer maximum privacy but lower utility because historical conversational context is missing. To mitigate this challenge, developers are actively exploring local models or trusted execution environments to generate requests on top of shared user memory rather than relying on manual prompt entry.

Following its official deployment, zkAPI is available for immediate experimentation on the Ethereum Mainnet. Developers can interact with the live smart contracts, build local gateway daemons, and configure OpenAI-compatible applications to route through the zero-knowledge payment infrastructure using the documentation provided through the Open Anonymity Project.

What is your reaction to this story?

Asep Darmawan

Writer and contributor at Bitcoin 98.

Comments (0)