What a pass means
A pass requires all four checks:- Authenticity: hardware evidence verifies against manufacturer collateral.
- Freshness: the evidence binds the verifier’s challenge to the reported manifest.
- Configuration: claims satisfy the applicable CPU or GPU policy.
- Identity: measured values match an approved reference for the reported release and workload configuration.
Released attestation stack
The current integration uses@premai/api-sdk 2.1.0 and @premai/reticle 0.6.2. The Confidential chat models use the standard attestation protocol, v2, which returns a single confidential-VM report containing the workload manifest, CPU evidence, and optional GPU evidence.
The CPU challenge binds the manifest to the evidence; the GPU challenge binds supplied GPU evidence to that CPU report.
Where Reticle runs
Reticle is the verifier library. It runs in the SDK or proxy process on your side, not on the GPU cluster. The attestation endpoint runs with the confidential runtime and only produces the evidence. Reticle is written in Rust and published as a WASM package,@premai/reticle, for Node.js, Bun, Deno, modern browsers, and mobile (iOS and Android).
How the SDK gates a request
With the defaultattest: true, @premai/api-sdk:
- Builds a Reticle client against
PROXY_URL, authenticated with your Prem API key. - Adds the requested model to the attestation query and calls
client.attest(). - Reads
x-session-idfrom the returned attestation headers. - Sends the encrypted inference request with that session ID, so the platform can associate it with the attested backend path.
Attestation error handling
When the gate fails, the SDK throws anAttestationError before the inference request is sent.
The SDK exports four helpers to inspect the error:
The two cases behind an AttestationError
An AttestationError indicates that the request was stopped at the attestation gate. It does not necessarily indicate that attestation itself failed. The error represents one of two conditions, and each requires a different response:
- Gateway rejection. The gateway declined the request before attestation could complete, for example with
Authentication token is invalidon a401. This is an API or authentication issue, not an attestation failure, and the caller can resolve it by correcting the API key or checking the quota. - Attestation failure. The attestation exchange itself did not succeed. No user-actionable message is available; the SDK logs the full cause chain for debugging.
isGatewayError first. If it returns true, surface the message from getGatewayErrorMessage. Treat the error as an attestation failure only when it returns false:
instanceof. It stays reliable when you drive Reticle directly (for example, through useAttestation in a browser bundle) and the error comes from a different Reticle WASM instance than the one the SDK cached.
Verify directly with Reticle
You can run the same verification yourself, without the SDK. See the Run Attestation guide.Multi-GPU attestation and load balancing
A single model can be served by several physical GPUs at once. When NVIDIA evidence is supplied, Reticle checks the overall and detached tokens, their signatures and digest links, the bound nonce, and the GPU policy claims. The supplied GPU set must match NVIDIA’s signed overall result, and duplicate GPU identities are rejected. Verification either succeeds for the whole supplied set or fails.Supported hardware
CPUs. Reticle implements the evidence formats and manufacturer collateral for AMD SEV-SNP and Intel TDX. Other CPUs are not automatically insecure; they are unsupported until there is a corresponding confidential-computing architecture, evidence format, collateral path, and policy implementation. Support for a CPU family lets a client authenticate its evidence and freshness. Workloads, measurements, and firmware states still have to pass policy. GPUs. NVIDIA confidential computing depends on hardware and firmware. “Hopper” and “Blackwell” are architecture families, not policy inputs; the verifier examines the signed token and claims for the deployed SKU and software stack. GPUs without a supported confidential-computing mode and attestation format can still run inference, but Reticle cannot produce the same remote evidence for them.What attestation does not show
- Backend internals. Attestation is model-scoped and the session ID is forwarded with the request. That does not prove every backend scheduling, load-balancing, or billing detail. Separately from attestation, the gateway authenticates the API key, applies limits and billing metadata, and selects the service path for the requested alias, all while handling encrypted content.
- Billing. A failed attestation stops the inference request before it is sent. Confirm final billing from your Prem usage records.
- An assurance profile per model. Model-list and completion types have no
assurance,attestation,tee, or similar fields. OpenAI-format and direct SDK completions can return a backend-resolved model ID inresponse.model; the Anthropic adapter returns the requested alias. Neither is a substitute for an assurance profile. See Models & Pricing for the models in each inference mode.
Audit records
Record non-sensitive decision metadata:- request/support ID and time;
- requested alias and resolved model ID when exposed;
- verifier and policy version;
- evidence type, hardware identity fields, and TCB result;
- nonce/freshness result;
- reference-set identifier and measurement result when available to your integration;
- allow/deny decision and reason.