Private LLM API — Verifiable, Attested, Open Source
Make a private LLM API request with the OpenAI SDK. Require encrypted provider inference and zero data retention, then verify the gateway attestation.Cryptographically verifiable privacy through an attested gateway.
Up to 1 million free tokens. No card required.
Make your first confidential API request
Install the OpenAI Python SDK and set TRUSTEDROUTER_API_KEY. This example sends a fictional prompt to an eligible provider with encrypted inference and zero data retention. If no route qualifies, the request fails before inference.
Gateway attestation verifies the running gateway software. The confidential routing requirement also restricts which provider can process your prompt. Check the provider requirements.
Try the playground Trust surface
New email signups receive starter credit. No card required.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.confidential.trustedrouter.com/v1",
api_key=os.environ["TRUSTEDROUTER_API_KEY"],
)
reply = client.chat.completions.create(
model="nyte/trusted",
messages=[{"role": "user", "content": "Say hello."}],
extra_body={"provider": {"min_privacy": "confidential"}},
)
print(reply.choices[0].message.content)
Read the source.
Every line that handles your prompt is on GitHub. Search it. Audit it. Run it locally if you want.
Hardware-rooted trust.
The gateway runs inside GCP Confidential Space. The hardware-backed attestation signs the running image. You verify the signature.
No request without attestation.
If the gateway can't prove its own integrity, traffic stops. The synthetic monitor probes this every minute and pages on the first miss.
Things that are zero, with proof.
Prompt body. Never written to disk. Never shipped to a logging service. The binary doesn't open a write handle to a prompt path. You can grep for this.
Output body. Same for synchronous and streaming requests. The response goes from the upstream provider straight back to you and is not persisted. Batch is a separate opt-in encrypted-retention mode.
Per-request audit trail. What TR does log: token counts, timestamps, model id, region, billing. No content. The schema is in the open-source code.
Upstream provider behavior. Out of TR's control. We publish each provider's known retention and ZDR posture on every model page so you can route deliberately.
Build a private routing policy
All resources- Provider privacy directoryZDR, confidential compute, E2EE, and policy sources
- DeepSeek API privacyHosting boundaries and fail-closed ZDR filters
- Claude API privacyRoute-specific retention and provider controls
- Confidential computing for LLMsHardware attestation and trust boundaries
- Legal and procurement packetDPA, BAA, subprocessors, and readiness evidence
Current routes, prices, privacy, and measured performance.
Catalog facts come from the routes currently configured in TrustedRouter. Performance uses the same cached metadata snapshot as the public leaderboard. Prompts and outputs are not part of these measurements.
| Model | Providers | Context | Input | Output | Privacy | Measured route |
|---|---|---|---|---|---|---|
Anthropic: Claude Opus 4.8anthropic/claude-opus-4.8 |
4 routes | 1,000,000 | $5.275/1M to $5.8025/1M | $26.375/1M to $29.0125/1M | ZDR 5 cited scores | No measurements yet |
OpenAI: GPT-5.5openai/gpt-5.5 |
2 routes | 1,050,000 | $5.275/1M | $31.65/1M | varies 3 cited scores | No measurements yet |
Google: Gemini 3.5 Flashgoogle/gemini-3.5-flash |
2 routes | 1,048,576 | $1.5825/1M | $9.495/1M | varies | No measurements yet |
MoonshotAI: Kimi K2.7 Codemoonshotai/kimi-k2.7-code |
16 routes | 262,144 | $0.633/1M to $1.004888/1M | $3.165/1M to $4.5365/1M | ZDR 5 cited scores | No measurements yet |
Z.ai: GLM 5.2z-ai/glm-5.2 |
44 routes | 1,048,576 | $0.6541/1M to $2.646584/1M | $1.5825/1M to $7.939751/1M | Confidential + ZDR 4 cited scores | No measurements yet |
MiniMax: MiniMax M3minimax/minimax-m3 |
20 routes | 524,288 | $0.24265/1M to $0.633/1M | $1.0128/1M to $2.532/1M | ZDR 4 cited scores | No measurements yet |
Provider summaries cover each provider's full catalog.
Browse every modelReview provider policiesOpen the full leaderboardSnapshot 2026-12-02T02:29:17Z