Skip to main content
Every model on https://inference.phala.com/v1 requires verified upstream serving. When verified serving is required, the gateway verifies the upstream before it sends your prompt and refuses to send if it cannot. Verification produces three things: a channel binding the gateway enforces on the wire, an attested session it records, and the typed claims inside that session. The receipt’s upstream.verified event ties a response to all three.

Channel binding

Verifying an upstream’s attestation is not enough on its own: a genuine enclave could exist while the gateway talks to a different server. Channel binding closes that gap. The value the gateway verifies is the value it enforces on the connection before forwarding. The proxy binding covers the measured proxy deployment, not the specific provider workload that served a request. An observed provider manifest alone does not establish that workload binding. Every verified session carries at least one enforceable binding. A “verified” result without an enforceable binding is rejected in the gateway itself: a provider can never be verified but unpinned. Which provider uses which binding is on the Confidential providers page. The receipt’s upstream.verified.required records endpoint or request policy. It is true on a TEE-only endpoint or with an ACI serving constraint; otherwise it is false, even when verification succeeds. When verification is required, if the gateway cannot verify the upstream or enforce the binding on the actual connection, it does not send your prompt. If the binding stops matching, the gateway re-verifies before forwarding; retries cannot bypass this.

Confirm the binding

For a fail-closed client policy:
  1. Verify the gateway attestation report and receipt signature, including the exact request and response hashes.
  2. Require upstream.verified.result: verified, required: true, and a session_id.
  3. Fetch the full session, verify its content address and evidence digest, and appraise channel_binding under your policy.
The ACI TypeScript SDK and Private AI Proxy implement client checks. cURL inspection alone does not establish channel binding. On a TEE-only endpoint verification is required for every inference request. On an endpoint where verification is optional, set provider.aci_verified: true to require verified serving.

Attested sessions

When the gateway verifies an upstream, it records an attested session: an immutable snapshot of the verified channel. A session is the channel, not a model. One channel can serve many models, so a router-backed provider can share one session across models, with the served model recorded on the receipt. A session captures:
  • the verified upstream identity and endpoint;
  • the enforced channel binding;
  • the typed claims about the TEE, each with its source; and
  • the byte-preserving evidence the verifier checked.
The session_id is the SHA-256 of the full session document in canonical JCS form, as 64 lowercase hex characters. Any change to the document produces a different id, so recomputing the hash proves the session you fetched is exactly the one the receipt cited.
Fetch GET /v1/aci/sessions/{session_id} for the provider, binding, claims, and evidence. You do not enforce the binding yourself; you confirm after the fact that the gateway did: result is verified and the cited session carries the binding. Check required to distinguish demanded verification (true) from a best-effort verified result (false).

Claims

Claims are in the session cited by the receipt; the receipt’s upstream.verified event does not embed the complete claim set. TCB means Trusted Computing Base. A session never says “trusted”. It carries a fixed set of claims, each with a status and, unless unknown, a source and a reason, so a hardware-proven fact and an operator’s assertion never look alike.
Privatemode reports tee_attested: asserted with source: verifier_derived under privatemode-proxy/co-deployed-contrast/v1. It relies on the measured co-deployed proxy and its Contrast-attested secret path rather than a provider quote verified directly by the gateway. Its other common claims remain unknown.

TCB freshness

When a verifier reports a separate TCB status, tcb_up_to_date is tri-state: UpToDate asserts it, another reported status refutes it, and an absent status leaves it unknown. Tinfoil is an exception: its verifier requires an up-to-date TCB but exposes no separate status, so a verified result asserts the claim with source verifier_derived.

GPU attestation

GPU assurance depends on the provider and gateway release. Chutes and Phala record supplemental nonce-matched GPU checks. The newer Chutes verifier authenticates NRAS platform JWTs. Phala’s generic path decodes tokens without checking their signatures. ArmetAI requires signed NRAS verification and commits the GPU evidence into the CPU quote’s report data. Apply the provider-specific policy to decide what the result establishes about the serving workload. If your policy requires direct hardware proof, require tee_attested: asserted with source hardware_proven. Evaluate software, TCB, GPU, and model-weight claims independently. See Confidential providers for the coverage of each adapter.

Fields to check in extra

For a Phala-direct session: Which keys appear in extra depends on the upstream provider that served the session, so treat this list as a starting point rather than a fixed schema.

Inspecting the images in the measured compose

For a Phala-direct JSON evidence bundle, set SID to the session id cited by your receipt:

Confidential providers

Binding type and asserted claims per provider.

Receipts

The upstream.verified event that cites a session.

Session endpoint

Fetch a session by id, or list current sessions.

Trust boundary

What the gateway does and does not protect.