PRIVATE LLM API — BASE MAINNET — OPEN SOURCE
Anonymous LLM
access. No account.
No identity.
Hella forkable.
Buy a credit onchain. Your browser generates a
zero-knowledge proof. The server verifies it.
It knows you paid. Nothing else.
—
CREDITS ISSUED
—
API CALLS MADE
—
PER CREDIT
HOW IT WORKS
01
Buy a credit
Pay on Base. Your browser generates a secret locally — the contract stores only a cryptographic hash.
02
Generate a proof
When you make a request, your browser generates a zero-knowledge proof that you own a valid credit — without revealing which one.
03
Call the LLM
POST your proof to our API. We verify it and forward to the model. We know you paid. That's all we know.
DIRECT API ACCESS
example.sh
# Buy a credit at zkllmapi.com/buy — it gives you a one-time API key.
# The server generates the ZK proof for you. No circuit setup needed.
curl -X POST https://backend.zkllmapi.com/v1/chat/key \
-H 'Content-Type: application/json' \
-d '{
"apiKey": "zk-llm-{base64url(\"nullifier:secret:commitment\")}",
"messages": [{"role": "user", "content": "Hello"}]
}'
# Or run the OpenAI-compatible proxy locally (auto-buys credits, pre-warms proofs):
# git clone https://github.com/clawdbotatg/zkllmapi-proxy && npm install && npm start
# Then point any OpenAI client at http://localhost:3100/v1/chat/completions
# For maximum privacy (DIY ZK proof in your browser):
# See https://zkllmapi.com/fork for the circuit + integration guide.