Skip to content

Privacy

Private (TEE) models

Private models run inside Trusted Execution Environments (TEEs): hardware-attested secure enclaves on NVIDIA confidential-computing GPUs, powered by Tinfoil. The weights are identical to the standard versions of each model; the only difference is the enclave and the end-to-end encryption.

Two ways to call TEE models

Through the PPQ API

Send a private/* model to https://api.ppq.ai/v1/chat/completions with your normal API key.

PPQ's attested Nitro enclave (the Enclave Router) verifies the TEE attestation and HPKE-encrypts the request to it on your behalf. On this path the request is briefly in plaintext inside that measured enclave, never in PPQ's backend.

Through the local verifier proxy

For true end-to-end encryption from your own machine, where no PPQ system ever holds plaintext, run the open-source local verifier proxy: PayPerQ/ppq-privacy-verifier (npm package ppq-private-mode). See the repository for setup, configuration and code examples.

The proxy encrypts your request body in your process with HPKE before it leaves your machine. It is decrypted only inside Tinfoil's attested enclave, and the response is re-encrypted on the way back. On this path PPQ only sees ciphertext and routing metadata, never your prompts or completions.

Available TEE models

Model IDDescription
private/kimi-k3-1-pro
Kimi K3.1 Pro. Moonshot's flagship for long-horizon coding and agentic work; reasoning on by default (reasoning_effort: "none" turns it off), 262K context. Recommended for agentic and OpenClaw workflows.
private/gpt-oss-120b
GPT-OSS 120B. Reasoning, function calling, budget-friendly general use.
private/llama3-3-70b
Llama 3.3 70B. Fast, multilingual.
private/glm-5-3
GLM-5.3. Agentic engineering, long-horizon tool use, 1M context.
private/gemma4-31b
Gemma 4 31B. Vision-language with thinking mode.
private/deepseek-v4-1-flash
DeepSeek V4.1 Flash. Multimodal refresh with vision input, 1M context.
private/inkling-2-small
Inkling 2 Small. Thinking Machines Lab's multimodal model with adjustable reasoning (reasoning_effort: "none" turns it off), 524K context.

For the current list, call GET https://api.ppq.ai/v1/models?type=all and keep the IDs that start with private/.

Use with Claude Code

The local proxy exposes a native Anthropic Messages endpoint, POST /v1/messages, that translates to and from the encrypted enclave, including tool use and streaming. Claude Code and other Anthropic SDK clients work directly against it.

Start the proxy in a separate terminal:

PPQ_API_KEY=sk-YOUR_API_KEY npx ppq-private-mode

Then point Claude Code at it:

export ANTHROPIC_BASE_URL="http://127.0.0.1:8787"
export ANTHROPIC_AUTH_TOKEN="sk-YOUR_API_KEY"
export ANTHROPIC_MODEL="private/glm-5-3"
export ANTHROPIC_SMALL_FAST_MODEL="private/deepseek-v4-1-flash"
claude

Learn more