Build private inference
in five minutes.
One API for confidential AI on a decentralized network. Drop in an SDK, authenticate with a key, and ship — your prompts and weights never leave the enclave in plaintext.
Getting Started
The Nox API is REST over HTTPS with predictable, resource-oriented URLs and JSON payloads. Every request runs inside an attested enclave on the network — privacy is enforced at the protocol layer, not bolted on.
Confidential by default
Prompts decrypt only inside sealed enclaves. Nodes compute on data they can't read.
OpenAI-compatible
Drop-in chat & completions. Point your base URL at Nox and keep your code.
Attested + verifiable
Every response ships a signed attestation you can verify on-chain.
https://api.nox.network/v1Quickstart
Install the SDK and send your first confidential inference request. No infrastructure to provision — the network handles routing, attestation, and billing.
Install
$ pip install nox
↳ resolved nox 1.4.0 · 1 package · readySend your first request
1from nox import Nox2 3client = Nox(api_key="nox_sk_live_••••")4 5resp = client.inference.create(6 model="nox-llama-3.3-70b",7 confidential=True,8 messages=[{"role": "user", "content": "Summarize this contract."}],9)10 11print(resp.output)That request ran inside an attested enclave. Verify it live in the Playground.
Authentication
Authenticate every request with a secret API key in the Authorization header. Keys are scoped per project and can be rotated instantly. Never expose a live key in client-side code.
1Authorization: Bearer nox_sk_live_4f8b2a••••2Content-Type: application/json3 4# All requests must be over HTTPS.5# Plaintext or missing keys → 401 unauthorized.Secret key
Server-side only. Full access.
nox_sk_live_Test key
Sandbox. Safe to expose.
nox_pk_test_Keys grant access to the enclave, never to plaintext data.
Official SDKs
First-party, typed clients with streaming, retries, and built-in attestation verification. Pick your language and ship.
Python
pip · poetry
v1.4.0 · 3.9+ · async + sync
$ pip install noxNode.js
npm · pnpm
v1.4.0 · ESM + CJS · full types
$ npm i noxGo
go modules
v1.2.1 · context-aware · zero deps
$ go get nox.network/goCLI
homebrew · curl
v0.9.0 · macOS · Linux · Windows
$ brew install nox1# Stream tokens as the enclave generates them2for chunk in client.inference.stream(...):3 print(chunk.delta, end='')API Reference
A focused, resource-oriented surface. Browse the full reference for parameters, response shapes, and error codes.
/v1/inferenceRun a confidential inference request/v1/inference/streamStream tokens over SSE/v1/modelsList available models + capabilities/v1/attestations/{id}Fetch a signed enclave attestation/v1/nodesInspect live network node health/v1/sessions/{id}Tear down a confidential sessionLive Playground
Examples
Copy-paste starting points for common confidential workloads.
Confidential RAG
Retrieve + answer over private docs in-enclave.
PII redaction
Strip sensitive fields before they ever leave.
Streaming chat
SSE token streaming with attestation headers.
Batch summarization
Process thousands of contracts privately.
On-chain verify
Validate an attestation from a smart contract.
Vision OCR
Extract structured data from sealed images.
Command Line
Manage keys, stream inferences, and tail network status from your terminal.
1➜ nox login2 ✓ authenticated as you@team.dev · project: prod3 4➜ nox run --model nox-llama-3.3-70b "Draft a privacy policy."5 ⟳ routing → enclave fra-07 · attested ✓6 This Privacy Policy describes how 7 8➜ nox keys rotate --project prodGuides
Conceptual walkthroughs for getting the most out of confidential inference.
Ship your first private inference
Grab a test key, open the playground, and watch attestation happen in real time.
