• About
  • Privacy Poilicy
  • Disclaimer
  • Contact
CoinInsight
  • Home
  • Bitcoin
  • Ethereum
  • Regulation
  • Market
  • Blockchain
  • Ripple
  • Future of Crypto
  • Crypto Mining
No Result
View All Result
  • Home
  • Bitcoin
  • Ethereum
  • Regulation
  • Market
  • Blockchain
  • Ripple
  • Future of Crypto
  • Crypto Mining
No Result
View All Result
CoinInsight
No Result
View All Result
Home Ethereum

Introducing zkAPI: private usage credits for any API

Coininsight by Coininsight
October 2, 2026
in Ethereum
0
189
SHARES
1.5k
VIEWS
Share on FacebookShare on Twitter

Related articles

MetaMask security scare pushes Ethereum validator exits to a nine-month high

October 1, 2026

Glamsterdam Testnet Announcement | Ethereum Foundation Blog

September 30, 2026


tl;dr: zkAPI lets you pay for a metered API without being known. Deposit credits into an Ethereum vault once, then authorize bounded usage with zero-knowledge proofs instead of an identity. The provider sees the requests, and the payment layer sees the spend. Neither learns the link between them.

The Open Anonymity Project built it with the Ethereum Foundation, and it runs on Ethereum Mainnet today.

The problem

Every AI API call today carries an identity. Your API key points to an account, the account to a payment method, and every prompt you send joins the record attached to both. The provider can connect years of your usage into a single profile.

Prompts are personal. People ask AI models about their health, their finances, their doubts. Under the current model, using AI means handing a running transcript of your thinking to whoever holds the billing relationship. The alternatives were poor: pay per request onchain, which is slow, expensive, and traceable by anyone, or trust a middleman not to look.

The idea

zkAPI separates payment from identity. You deposit credits (ETH, USDC, etc.) into a vault contract on Ethereum, one ordinary transaction. From then on, your balance exists as a private note: digital cash that only you can spend and that nobody can trace back to the deposit.

To authorize spending, software on your machine produces a small zero-knowledge proof that says, in effect, that a funded note covers this spend and nobody has spent it before. One proof can cover a single request or a whole session. The server can check that the statement is true without learning which note, which deposit, or which person. At the payment layer, requests do not link to you, and they do not link to each other.

Two pieces of cryptography make this safe as well as private. Deposits live as commitments in a Merkle tree, so a proof can show “my note is one of the valid ones” without pointing at any particular one. Every spend publishes a nullifier, a one-way serial number derived from the note’s secret. A user who stays within their balance stays unlinkable. A user who tries to spend the same balance twice produces a duplicate nullifier, which exposes the attempt and nothing else.

How it works

zkAPI diagram

The payment path (steps 1 to 3) and the conversation path (step 4) share two objects: the short-lived key and its usage receipt.

The server that handles money never sees content, and the provider that sees content never learns the billing identity behind a key.

  1. Your app talks to a small client running on your own device. Nothing about the app changes. It speaks the same API it always did.
  2. The client sends the zkAPI server a proof of payment, with no prompt and no identity attached.
  3. The server checks the proof and mints a fresh API key on the spot, short-lived and capped in dollars. The key exists only in your device’s memory.
  4. Your prompts go straight from your device to the AI provider with that key. When the key expires, the server charges your private balance for the metered usage rather than the reserved cap.

The spending cap works as a reservation. When the key expires, the provider side records the key’s total usage in a signed receipt, and the server deducts that amount from your note. Neither side can rewrite the bill afterward, and one authorization covers a whole session of requests rather than one proof per call.

zkAPI also ships a simpler proxy mode, where the zkAPI server relays requests to the provider itself. It is easier to operate, but the relay sees traffic. The runtime-key mode above exists so that no payment intermediary ever does.

zkAPI proves spends with Groth16 on the BN254 curve, hashes commitments and nullifiers with Poseidon, and keeps notes in a Merkle tree 32 levels deep. The server verifies spend proofs off-chain. The vault contract verifies the same kind of proof at deposit, close, and escape, so your exit never depends on the server’s honesty.

In practice

PartyLearnsNever learns
zkAPI servera valid payment exists, and total dollars per sessionwho you are, what you asked, which deposit paid
AI providerprompts and responses, since it runs the modelwho is paying
Ethereum (public)deposits, closes, withdrawalswhat any balance paid for

  • Your funds stay yours: The vault is a contract on Ethereum rather than a company account: you can close your balance and withdraw onchain, even if every zkAPI server disappears.

  • Your tools stay the same: The client exposes the standard OpenAI and Ollama APIs on your own machine. Existing apps, editors, and chat clients work by pointing them at localhost.

Use cases

AI inference comes first because prompts are sensitive and the billing trail ties each one to you. The same client and contracts can front any service that charges per use:

Use caseMetered unitWhat the payment layer hides
AI chat and agentsmodel callswhich note paid, and any billing link between sessions
Blockchain RPCquerieswhich funding source paid for the queries
Image and video generationjobswho paid for which jobs
VPNs and bandwidthtime and datawho paid for the connection
Machine-to-machine servicesper-task spendagents pay without an account

zkAPI hides the payment link. A provider still sees what a request contains and network metadata such as your IP address, and it can try to correlate sessions by timing. Network anonymity and content privacy are separate layers: a VPN or Tor handles the network side, and confidential GPU computing is emerging for content.

For providers, integrating means accepting a proof instead of an API key and settling signed usage receipts instead of maintaining accounts. Pricing, rate limits, and infrastructure stay as they are.

Limitations

zkAPI’s protections have two limitations: the lack of network anonymity, and privacy leakage via prompt contents.

On the network side, the main issue is that the gateway can potentially correlate request patterns from a user if they send requests to zkAPI under a stable user IP address. Users seeking stronger privacy may route requests through Tor and use a fresh circuit for each session.

On the content side, individual sessions may be re-linked by the inference provider if the same personal details, writing style, reused conversation history, or project documents are presented. Shared prompt contents can act as fingerprints for anyone who can read the prompts. This is a privacy-utility tradeoff: standalone queries are more private but less useful since past context is missing. One mitigation is to leverage local or TEE models to generate requests on top of shared memory instead of the user manually writing them. See also discussions in the Open Anonymity project post.

Background and links

zkAPI is the working implementation of ZK API usage credits, a design published on Ethereum Research by Davide Crapis and Vitalik Buterin.

The Open Anonymity team helped turn that design into the client, the server, and the contracts you can run today.

zkAPI is live on Ethereum mainnet today. Try it:

Or build the local gateway and point any OpenAI-compatible app at it using the docs.

Share76Tweet47

Related Posts

MetaMask security scare pushes Ethereum validator exits to a nine-month high

by Coininsight
October 1, 2026
0

MetaMask is pulling thousands of Ethereum validators after a security breach redirected rewards, creating a network-wide backlog for stakers trying...

Glamsterdam Testnet Announcement | Ethereum Foundation Blog

by Coininsight
September 30, 2026
0

Glamsterdam follows the Fusaka upgrade, advancing Ethereum's L1 scaling roadmap with enshrined proposer-builder separation, block-level access lists, and changes to...

BitMine nears 5% Ethereum threshold, yet stock valuation rules dictate its next move

by Coininsight
September 29, 2026
0

Ethereum treasury company BitMine Immersion Technologies said on Sept. 28 that it held 6,001,302 ETH, leaving it 103,698 tokens short...

Grantee Roundup: November 2020 | Ethereum Foundation Blog

by Coininsight
September 28, 2026
0

It's always fun to hear about new grants as they're awarded, but what happens after the announcement? In this series,...

Ethereum isn’t instant, but collateral could make it feel that way

by Coininsight
September 27, 2026
0

When a payment app tells you a transfer is complete, you start making decisions. You hand over whatever you've sold,...

Load More
  • Trending
  • Comments
  • Latest
What’s Actually Going On With Ripple’s Blockchain?

What’s Actually Going On With Ripple’s Blockchain?

January 12, 2026
MetaMask Launches An NFT Reward Program – Right here’s Extra Data..

MetaMask Launches An NFT Reward Program – Right here’s Extra Data..

July 24, 2025
Finest Bitaxe Gamma 601 Overclock Settings & Tuning Information

Finest Bitaxe Gamma 601 Overclock Settings & Tuning Information

November 26, 2025
Naval Ravikant’s Web Price (2025)

Naval Ravikant’s Web Price (2025)

September 21, 2025
Kuwait bans Bitcoin mining over power issues and authorized violations

Kuwait bans Bitcoin mining over power issues and authorized violations

2
The Ethereum Basis’s Imaginative and prescient | Ethereum Basis Weblog

The Ethereum Basis’s Imaginative and prescient | Ethereum Basis Weblog

2
Unchained Launches Multi-Million Greenback Bitcoin Legacy Mission

Unchained Launches Multi-Million Greenback Bitcoin Legacy Mission

1
Earnings Preview: Microsoft anticipated to report larger Q3 income, revenue

Earnings Preview: Microsoft anticipated to report larger Q3 income, revenue

1

Introducing zkAPI: private usage credits for any API

October 2, 2026

What Southern Glazer’s compliance overhaul tells us about an effective anti-bribery programme

October 2, 2026

Binance Under EU Review Over Continued Operations After MiCA Miss

October 2, 2026

Lowest Fee Bitcoin ATMs Announces Launch of More Than 400 ATMs Nationwide

October 1, 2026

CoinInight

Welcome to CoinInsight.co.uk – your trusted source for all things cryptocurrency! We are passionate about educating and informing our audience on the rapidly evolving world of digital assets, blockchain technology, and the future of finance.

Categories

  • Bitcoin
  • Blockchain
  • Crypto Mining
  • Ethereum
  • Future of Crypto
  • Market
  • Regulation
  • Ripple

Recent News

Introducing zkAPI: private usage credits for any API

October 2, 2026

What Southern Glazer’s compliance overhaul tells us about an effective anti-bribery programme

October 2, 2026
  • About
  • Privacy Poilicy
  • Disclaimer
  • Contact

© 2025- https://coininsight.co.uk/ - All Rights Reserved

No Result
View All Result
  • Home
  • Bitcoin
  • Ethereum
  • Regulation
  • Market
  • Blockchain
  • Ripple
  • Future of Crypto
  • Crypto Mining

© 2025- https://coininsight.co.uk/ - All Rights Reserved

Social Media Auto Publish Powered By : XYZScripts.com
Verified by MonsterInsights