Saturday, October 3, 2026
No Result
View All Result
Blockchain 24hrs
  • Home
  • Bitcoin
  • Crypto Updates
    • General
    • Altcoins
    • Ethereum
    • Crypto Exchanges
  • Blockchain
  • NFT
  • DeFi
  • Metaverse
  • Web3
  • Blockchain Justice
  • Analysis
Crypto Marketcap
  • Home
  • Bitcoin
  • Crypto Updates
    • General
    • Altcoins
    • Ethereum
    • Crypto Exchanges
  • Blockchain
  • NFT
  • DeFi
  • Metaverse
  • Web3
  • Blockchain Justice
  • Analysis
No Result
View All Result
Blockchain 24hrs
No Result
View All Result

Introducing zkAPI: private usage credits for any API

Home Ethereum
Share on FacebookShare on Twitter


tl;dr: zkAPI helps you to pay for a metered API with out being identified. Deposit credit into an Ethereum vault as soon as, then authorize bounded utilization with zero-knowledge proofs as a substitute of an identification. The supplier sees the requests, and the fee layer sees the spend. Neither learns the hyperlink between them.

The Open Anonymity Venture constructed it with the Ethereum Basis, and it runs on Ethereum Mainnet immediately.

The issue

Each AI API name immediately carries an identification. Your API key factors to an account, the account to a fee technique, and each immediate you ship joins the document connected to each. The supplier can join years of your utilization right into a single profile.

Prompts are private. Folks ask AI fashions about their well being, their funds, their doubts. Underneath the present mannequin, utilizing AI means handing a working transcript of your considering to whoever holds the billing relationship. The alternate options have been poor: pay per request onchain, which is gradual, costly, and traceable by anybody, or belief a intermediary to not look.

The concept

zkAPI separates fee from identification. You deposit credit (ETH, USDC, and so forth.) right into a vault contract on Ethereum, one abnormal transaction. From then on, your steadiness exists as a personal be aware: digital money that solely you may spend and that no person can hint again to the deposit.

To authorize spending, software program in your machine produces a small zero-knowledge proof that claims, in impact, {that a} funded be aware covers this spend and no person has spent it earlier than. One proof can cowl a single request or a complete session. The server can examine that the assertion is true with out studying which be aware, which deposit, or which individual. On the fee layer, requests don’t hyperlink to you, and they don’t hyperlink to one another.

Two items of cryptography make this protected in addition to non-public. Deposits dwell as commitments in a Merkle tree, so a proof can present “my be aware is likely one of the legitimate ones” with out pointing at any explicit one. Each spend publishes a nullifier, a one-way serial quantity derived from the be aware’s secret. A consumer who stays inside their steadiness stays unlinkable. A consumer who tries to spend the identical steadiness twice produces a reproduction nullifier, which exposes the try and nothing else.

The way it works

The fee path (steps 1 to three) and the dialog path (step 4) share two objects: the short-lived key and its utilization receipt.

The server that handles cash by no means sees content material, and the supplier that sees content material by no means learns the billing identification behind a key.

Your app talks to a small consumer working by yourself system. Nothing in regards to the app adjustments. It speaks the identical API it at all times did.The consumer sends the zkAPI server a proof of fee, with no immediate and no identification connected.The server checks the proof and mints a recent API key on the spot, short-lived and capped in {dollars}. The important thing exists solely in your system’s reminiscence.Your prompts go straight out of your system to the AI supplier with that key. When the important thing expires, the server expenses your non-public steadiness for the metered utilization fairly than the reserved cap.

The spending cap works as a reservation. When the important thing expires, the supplier aspect information the important thing’s whole utilization in a signed receipt, and the server deducts that quantity out of your be aware. Neither aspect can rewrite the invoice afterward, and one authorization covers a complete session of requests fairly than one proof per name.

zkAPI additionally ships a less complicated proxy mode, the place the zkAPI server relays requests to the supplier itself. It’s simpler to function, however the relay sees site visitors. The runtime-key mode above exists in order that no fee middleman ever does.

zkAPI proves spends with Groth16 on the BN254 curve, hashes commitments and nullifiers with Poseidon, and retains notes in a Merkle tree 32 ranges deep. The server verifies spend proofs off-chain. The vault contract verifies the identical sort of proof at deposit, shut, and escape, so your exit by no means is dependent upon the server’s honesty.

In follow

PartyLearnsNever learnszkAPI servera legitimate fee exists, and whole {dollars} per sessionwho you might be, what you requested, which deposit paidAI providerprompts and responses, because it runs the modelwho is payingEthereum (public)deposits, closes, withdrawalswhat any steadiness paid for

Your funds keep yours: The vault is a contract on Ethereum fairly than an organization account: you may shut your steadiness and withdraw onchain, even when each zkAPI server disappears.

Your instruments keep the identical: The consumer exposes the usual OpenAI and Ollama APIs by yourself machine. Present apps, editors, and chat purchasers work by pointing them at localhost.

Use circumstances

AI inference comes first as a result of prompts are delicate and the billing path ties every one to you. The identical consumer and contracts can entrance any service that expenses per use:

Use caseMetered unitWhat the fee layer hidesAI chat and agentsmodel callswhich be aware paid, and any billing hyperlink between sessionsBlockchain RPCquerieswhich funding supply paid for the queriesImage and video generationjobswho paid for which jobsVPNs and bandwidthtime and datawho paid for the connectionMachine-to-machine servicesper-task spendagents pay with out an account

zkAPI hides the fee hyperlink. A supplier nonetheless sees what a request incorporates and community metadata corresponding to your IP handle, and it will possibly attempt to correlate classes by timing. Community anonymity and content material privateness are separate layers: a VPN or Tor handles the community aspect, and confidential GPU computing is rising for content material.

For suppliers, integrating means accepting a proof as a substitute of an API key and settling signed utilization receipts as a substitute of sustaining accounts. Pricing, charge limits, and infrastructure keep as they’re.

Limitations

zkAPI’s protections have two limitations: the shortage of community anonymity, and privateness leakage by way of immediate contents.

On the community aspect, the primary subject is that the gateway can probably correlate request patterns from a consumer in the event that they ship requests to zkAPI underneath a steady consumer IP handle. Customers in search of stronger privateness might route requests via Tor and use a recent circuit for every session.

On the content material aspect, particular person classes could also be re-linked by the inference supplier if the identical private particulars, writing model, reused dialog historical past, or venture paperwork are offered. Shared immediate contents can act as fingerprints for anybody who can learn the prompts. It is a privacy-utility tradeoff: standalone queries are extra non-public however much less helpful since previous context is lacking. One mitigation is to leverage native or TEE fashions to generate requests on high of shared reminiscence as a substitute of the consumer manually writing them. See additionally discussions within the Open Anonymity venture submit.

Background and hyperlinks

zkAPI is the working implementation of ZK API utilization credit, a design printed on Ethereum Analysis by Davide Crapis and Vitalik Buterin.

The Open Anonymity workforce helped flip that design into the consumer, the server, and the contracts you may run immediately.

zkAPI is dwell on Ethereum mainnet immediately. Attempt it:

Or construct the native gateway and level any OpenAI-compatible app at it utilizing the docs.



Source link

Tags: APICreditsIntroducingPrivateusagezkAPI
Previous Post

New York’s Split Level art fair returns to Madison Avenue design showroom for second edition – The Art Newspaper

Next Post

Bitcoin Privacy Breakthrough A Zcash Killer?

Related Posts

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

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

October 1, 2026
Ethereum is preparing a 200 million gas push as its Layer 1 scaling strategy accelerates
Ethereum

Ethereum is preparing a 200 million gas push as its Layer 1 scaling strategy accelerates

October 3, 2026
Aave’s lending plan could lose money without defaults
Ethereum

Aave’s lending plan could lose money without defaults

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

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

September 29, 2026
Ethereum’s next scaling leap may come from making everyone stop doing the same work
Ethereum

Ethereum’s next scaling leap may come from making everyone stop doing the same work

September 28, 2026
The NFT party is over and everybody now owes storage rent
Ethereum

The NFT party is over and everybody now owes storage rent

September 27, 2026
Next Post
Bitcoin Privacy Breakthrough A Zcash Killer?

Bitcoin Privacy Breakthrough A Zcash Killer?

New Bitcoin upgrade catches hidden key leaks hiding the exact fix

New Bitcoin upgrade catches hidden key leaks hiding the exact fix

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Facebook Twitter Instagram Youtube RSS
Blockchain 24hrs

Blockchain 24hrs delivers the latest cryptocurrency and blockchain technology news, expert analysis, and market trends. Stay informed with round-the-clock updates and insights from the world of digital currencies.

CATEGORIES

  • Altcoins
  • Analysis
  • Bitcoin
  • Blockchain
  • Blockchain Justice
  • Crypto Exchanges
  • Crypto Updates
  • DeFi
  • Ethereum
  • Metaverse
  • NFT
  • Regulations
  • Web3

SITEMAP

  • About Us
  • Advertise With Us
  • Disclaimer
  • Privacy Policy
  • DMCA
  • Cookie Privacy Policy
  • Terms and Conditions
  • Contact Us

Copyright © 2024 Blockchain 24hrs.
Blockchain 24hrs is not responsible for the content of external sites.

  • bitcoinBitcoin(BTC)$84,689.00-0.91%
  • ethereumEthereum(ETH)$2,682.21-1.24%
  • tetherTether(USDT)$1.000.02%
  • binancecoinBNB(BNB)$768.37-0.91%
  • rippleXRP(XRP)$1.49-1.26%
  • usd-coinUSDC(USDC)$1.000.00%
  • solanaSolana(SOL)$119.44-1.24%
  • tronTRON(TRX)$0.334251-0.07%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.052.42%
  • zcashZcash(ZEC)$1,318.67-1.06%
No Result
View All Result
  • Home
  • Bitcoin
  • Crypto Updates
    • General
    • Altcoins
    • Ethereum
    • Crypto Exchanges
  • Blockchain
  • NFT
  • DeFi
  • Metaverse
  • Web3
  • Blockchain Justice
  • Analysis
Crypto Marketcap

Copyright © 2024 Blockchain 24hrs.
Blockchain 24hrs is not responsible for the content of external sites.