Quick start
- Sign up with Google, GitHub, Apple or email. A wallet is made for you.
- In Billing, approve a daily spending limit. Zuzo can only take what you use, up to that limit.
- In API keys, make a key. Then call any model with the OpenAI library, changing two lines:
from openai import OpenAI
client = OpenAI(base_url="https://api.nokycgpu.com/v1", api_key="zuzo_live_...")
reply = client.chat.completions.create(
model="private",
messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)Every answer says what it cost in the x-zuzo-charge-usd header, with Zuzo's share in x-zuzo-fee-usd.
The whole API is described for tools at https://api.nokycgpu.com/v1/openapi.json (OpenAPI 3.1), so API clients and agent frameworks can call it without hand-written code.
Models
Pick a model by what you need, not by name. Zuzo routes to the best open model for each, and fails over if one is down.
Streaming works as with OpenAI (stream: true). If you stop a stream before it ends, you pay for what was sent: the provider's own count if it arrived, otherwise an estimate of about four characters a token. GET /v1/models lists the models your key may use.
Search, images, video and speech
Same key, priced per use. GET /v1/services lists what's on and what it costs. Search queries go to a search provider and aren't private.
curl https://api.nokycgpu.com/v1/search -H "authorization: Bearer zuzo_live_..." \
-H "content-type: application/json" -d '{"query": "private ai cloud"}'
client.images.generate(model="image", prompt="a lime cube", size="1024x1024", response_format="b64_json")
client.audio.speech.create(model="speech", voice="nova", input="Hello", response_format="wav")
client.audio.transcriptions.create(model="transcribe", file=open("clip.wav", "rb"))
client.embeddings.create(model="embed", input=["some text"]) # runs on sealed hardware
# A video of about 5 seconds, answered with the MP4 itself (takes a minute or two)
curl https://api.nokycgpu.com/v1/videos/generations -H "authorization: Bearer zuzo_live_..." -H "content-type: application/json" -d '{"prompt": "a lime cube spinning", "size": "1280x720"}' -o clip.mp4Storage
S3-compatible, so backup tools, rclone and the AWS command line work as they are. Make a storage key on the Storage page, then use path-style addressing. Downloads are free.
aws configure set aws_access_key_id ZUZO... aws configure set aws_secret_access_key ... aws configure set default.s3.addressing_style path aws s3 mb s3://photos --endpoint-url https://s3.nokycgpu.com aws s3 cp backup.tar.gz s3://photos/ --endpoint-url https://s3.nokycgpu.com
To keep files unreadable to everyone but you, Zuzo included, encrypt them on your device first. The Zuzo SDK does it for you:
import { Zuzo, newFileKey } from "@zuzo/sdk";
const fileKey = newFileKey(); // keep it in your password manager: lose it and nobody can read your files
const zuzo = new Zuzo({ apiKey: "zuzo_live_...", fileKey,
storage: { endpoint: "https://s3.nokycgpu.com", accessKeyId: "ZUZO...", secretAccessKey: "..." } });
await zuzo.storage.put("docs", "plan.pdf", bytes); // only ciphertext leaves your device
const back = await zuzo.storage.get("docs", "plan.pdf");GPUs
Rent a GPU machine and reach it over SSH. Billed by the second from when it's running until you stop it.
curl https://api.nokycgpu.com/v1/gpus -H "authorization: Bearer zuzo_live_..." # what's available, per hour
curl https://api.nokycgpu.com/v1/gpus/pods -H "authorization: Bearer zuzo_live_..." \
-H "content-type: application/json" \
-d '{"offer_id": "...", "name": "trainer", "ssh_public_key": "ssh-ed25519 AAAA..."}'
curl https://api.nokycgpu.com/v1/gpus/pods -H "authorization: Bearer zuzo_live_..." # its SSH command, once running
curl -X DELETE https://api.nokycgpu.com/v1/gpus/pods/gpu_... -H "authorization: Bearer zuzo_live_..."Sandboxes
A small Linux machine for your agent to run code in, in a sealed room: its memory is encrypted by the chip (AMD SEV-SNP), so the machine's owner can't look inside. No internet unless you ask for it. Billed by the second until you delete it or its hours run out.
curl https://api.nokycgpu.com/v1/sandboxes -H "authorization: Bearer zuzo_live_..." -H "content-type: application/json" -d '{"name": "agent-box", "size": "sealed-2x4", "hours": 2, "network": "none"}'
curl https://api.nokycgpu.com/v1/sandboxes/sbx_.../exec -H "authorization: Bearer zuzo_live_..." -H "content-type: application/json" -d '{"command": ["python3", "-c", "print(2+2)"]}'
curl -X DELETE https://api.nokycgpu.com/v1/sandboxes/sbx_... -H "authorization: Bearer zuzo_live_..."Sizes run from sealed-1x2 (1 CPU, 2 GB) to sealed-8x16; see GET /v1/sandboxes/sizes for prices. Use "network": "allowlist" with allow_hosts to let it reach only, say, pypi.org.
Private network
A WireGuard VPN for a whole device, or an HTTPS proxy for apps and agents, that comes out in the country you choose through a decentralised network of providers. You get its config once: Zuzo doesn't keep a copy, so it can't use your connection or see what goes through it. Billed by the hour until you remove it.
curl https://api.nokycgpu.com/v1/network/connections -H "authorization: Bearer zuzo_live_..." -H "content-type: application/json" -d '{"name": "laptop", "kind": "wireguard", "country": "GB"}' # save wireguard_config as a .conf file
curl https://api.nokycgpu.com/v1/network/connections -H "authorization: Bearer zuzo_live_..." # your connections
curl -X DELETE https://api.nokycgpu.com/v1/network/connections/net_... -H "authorization: Bearer zuzo_live_..."With "kind": "proxy" you get an https_proxy_url instead, which needs no password: curl -x <https_proxy_url> https://example.com. Up to five connections at once.
Agents and MCP
The Zuzo MCP server gives any agent that speaks MCP (Claude, Cursor or your own) private chat, search, images, speech, encrypted file storage, private memory, GPUs, sandboxes and the private network, with one key. Every tool says what it cost. The quickest way in is the hosted server: nothing to install, just a URL and your key.
claude mcp add --transport http zuzo https://mcp.nokycgpu.com/mcp \ --header "Authorization: Bearer zuzo_live_..."
The hosted server takes up to 600 requests a minute from one address, each up to 2 MB (send files through storage instead). It has chat, search, images, GPUs, sandboxes and your network connections. For encrypted files, memory and secrets, run the local server instead: one file that runs with plain Node (until it's published, build it from a copy of the Zuzo repository with npm run package -w @zuzo/mcp). For Claude Desktop:
{
"mcpServers": {
"zuzo": {
"command": "node",
"args": ["/path/to/zuzo/packages/mcp/dist/cli.js"],
"env": {
"ZUZO_API_KEY": "zuzo_live_...",
"ZUZO_FILES_DIR": "/Users/you/Zuzo"
}
}
}
}Memories are encrypted and searched on the agent's own machine, so Zuzo can't read what your agent remembers. The file tools only touch the folder you name.
Secrets your agent can use but never see
Save an API key once, from your own terminal, and say which websites it may be sent to. It's encrypted on your machine with your file key.
node /path/to/zuzo/packages/mcp/dist/cli.js secret set GITHUB_TOKEN --host api.github.com Value for GITHUB_TOKEN (not shown): ********
Your agent writes {{secret:GITHUB_TOKEN}} in a request's header, body or address, and the zuzo_http_request tool fills it in on your machine as the request leaves. It refuses any other website, won't follow redirects with a secret attached, and blanks the value out of the reply, so a tricked agent can't leak it.
SDKs for Python and TypeScript
Both SDKs cover everything above, encrypt files, memory and secrets on your machine, and write the same files: memory saved from Python can be recalled from TypeScript, and the other way round. Until they're published, install them from a copy of the Zuzo repository.
pip install ./zuzo/packages/python
from zuzo import Zuzo, new_file_key
zuzo = Zuzo(api_key="zuzo_live_...", file_key="ek_...",
storage={"endpoint": "https://s3.nokycgpu.com", "access_key_id": "...", "secret_access_key": "..."})
memory = zuzo.memory()
memory.remember("The finance team wants figures in GBP.", ["finance"])
print(memory.recall("how should I show money?")[0].text)
secrets = zuzo.secrets()
secrets.set("GITHUB_TOKEN", "ghp_...", allowed_hosts=["api.github.com"])
res = secrets.request("https://api.github.com/user",
headers={"authorization": "Bearer {{secret:GITHUB_TOKEN}}"})# in a copy of the Zuzo repository
npm install && npm run package -w @zuzo/sdk
# then in your project
npm install /path/to/zuzo/packages/sdk/dist
import { Zuzo } from "@zuzo/sdk";
const zuzo = new Zuzo({ apiKey: "zuzo_live_...", fileKey: "ek_...",
storage: { endpoint: "https://s3.nokycgpu.com", accessKeyId: "...", secretAccessKey: "..." } });
const { text, charge } = await zuzo.chat([{ role: "user", content: "Hello" }]);
const box = await zuzo.sandboxes.create("agent-box");Both also send and open private transfer links (zuzo.transfers.send and receive): the file is sealed on your machine and the key travels in the link, as on the Transfers page.
Calls that create something you pay for (a GPU machine, a network connection, a sandbox) are never retried automatically, so an unclear answer can't leave you with two.
Limits and billing
- Your money stays in your wallet. Usage is charged in small batches every few minutes, up to the daily limit you approved.
- Each API key has its own daily cap. When it's reached, that key stops until midnight UTC.
- You can pause, resume or revoke any key on the Keys page. A paused or revoked key stops working everywhere within a minute.
- Each API key can make up to 600 requests a minute, and each storage key 3,000. Over that, you get 429 (storage: 503 SlowDown) with a
Retry-After, nothing is charged, and the SDKs wait and try again by themselves. - If a charge fails, the account pauses: calls stop, but you can always download and delete your files.
- Every charge shows the network's price and Zuzo's fee separately. See Pricing.
Errors
Errors use OpenAI's shape (storage uses S3's), with a code you can act on:
| 401 | missing_api_key, invalid_api_key | Send your key as Authorization: Bearer zuzo_live_… |
| 402 | account_not_set_up, account_paused, unpaid_limit_reached | Billing in the console says why and what to do: usually approve a daily limit, raise it, or add USDC. |
| 403 | model_not_allowed, key_paused | This key can't use that model, or it's paused (resume it on the Keys page). |
| 429 | daily_cap_reached | The key's daily limit is used up. It resets at midnight UTC. |
| 429 | rate_limited | Too many requests a minute. Wait for Retry-After (the SDKs do), then carry on. |
| 502 | providers_unavailable, bad_upstream_response | The provider is down, or sent an answer Zuzo couldn't read. You haven't been charged. Try again shortly. |
| 503 | service_not_set_up, new_rentals_paused | That service isn't switched on yet, or new rentals are paused for a while. You haven't been charged. |
Stuck? Ask the assistant at the bottom of any console page: it can see why your last call failed.