Dev.to Security πŸ” Cybersecurity πŸ‘ 0 πŸ“– 2 min read

Confidential Router: an OpenAI-compatible API you can verify before a prompt leaves your machine

Most "private" LLM APIs come down to a policy page. You send a prompt, and the provider promises not to log it, not to train on it, and not to let its engineers read it. From your side, there is nothing to check. We bui

Most "private" LLM APIs come down to a policy page. You send a prompt, and the provider promises not to log it, not to train on it, and not to let its engineers read it. From your side, there is nothing to check.

We built Confidential Router so there is something to check. It is an OpenAI-compatible API to top open models, served from GPUs running in confidential mode. Prompts are decrypted only inside the hardware-protected environment. The GPU operator sees billing metadata (model, token count, time) and nothing else, and neither do we.

What you can actually verify

Every endpoint publishes signed evidence of the runtime and the model weights it serves. A small local verifier, Gatekeeper, reads that evidence and returns a verdict before any request leaves your machine. If the evidence doesn't match, nothing is sent.

The flow:

  1. Your app talks to Gatekeeper on localhost.
  2. Gatekeeper checks the router's attestation evidence.
  3. Only when the check passes does it forward the request to the confidential endpoint.

You can also read the evidence endpoints yourself, and the console shows a "weights match" status for each model.

The code change is the base URL

If you already use an OpenAI SDK, you change two values.

from openai import OpenAI

client = OpenAI(
    base_url="http://127.0.0.1:8787/v1",  # your local Gatekeeper
    api_key="sk-tee-v1-…",
)

response = client.chat.completions.create(
    model="<model-id>",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)
import OpenAI from 'openai';

const client = new OpenAI({
  baseURL: 'http://127.0.0.1:8787/v1', // your local Gatekeeper
  apiKey: 'sk-tee-v1-…',
});

const response = await client.chat.completions.create({
  model: '<model-id>',
  messages: [{ role: 'user', content: 'Hello' }],
});
console.log(response.choices[0].message.content);

GET /v1/models returns the models your key can call. You can also go straight to https://api.router.superprotocol.com/v1 without Gatekeeper. Billing is the same, but you give up the verification step, so for production we recommend keeping Gatekeeper in the path.

The same base-URL swap works in IDEs and coding agents. There are guides for Cursor, VS Code agent extensions and OpenCode in the docs.

Models and speed

The catalog currently includes GPT-OSS 20B and 120B, Llama 3.3 70B, DeepSeek V4.1 Flash, Qwen3.8 Flash, Qwen3.5 397B-A17B and DeepSeek-R1 671B. Pricing is per token, with confidential mode included at no extra charge. Measured in confidential mode, GPT-OSS 120B does 80+ tokens/s per active user with p95 time to first token under 0.8 s; DeepSeek-R1 671B does 35+ tokens/s.

Current prices and the full list: superprotocol.com/developers/models

Getting access

Access is by request, and approval is fast for teams working with sensitive data. Invited developers get $25 in credit and verified company teams get $250. Early-stage startups building AI on health, financial or proprietary data can apply for $5,000 in confidential compute credits for 12 months, no equity.

When a vendor tells you your prompts are private today, what do you rely on to check it?

πŸ“° Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.