Skip to main content
It is inference served by a gateway running in a TEE that proves its own identity with an attestation report and signs a per-response receipt binding your request and response to that attested workload. You verify the proofs yourself rather than trusting an API’s word.
https://api.redpill.ai/v1 is the default base URL and works for every model. Use https://tee.redpill.ai/v1 when you want confidential-only routing. See TEE-only endpoint.If a connection fails, check the hostname, DNS resolution, and network access, and check whether your client appends /v1 on its own. When you contact support, include the client name and version, a UTC timestamp, the model ID, and a redacted error. A successful catalog lookup proves connectivity only; account authorization and model availability need their own checks.
A confidential response uses a channel binding that the gateway verifies before forwarding your prompt, fail-closed. A routed response passes through the TEE gateway but the upstream is not attested and sees your prompt. Confidentiality is a property of the verified upstream provider, not of the model id; confirm it per response from the receipt’s upstream.verified event (result = verified, required = true). See How it works and Trust boundary.
Use an ACI-aware client that verifies a fresh nonce-bound hardware quote, checks workload measurements against your policy, and pins the actual TLS connection to the attested SPKI. The Node and Bun integration supplies that transport through aci.fetch. See Verify a response for setup and release policy for SDK policy limits.
The canonical endpoints live under /v1/aci/: GET /v1/aci/attestation, GET /v1/aci/receipts/{id}, and GET /v1/aci/sessions/{id}. The older GET /v1/attestation/report and GET /v1/signature/{id} remain as legacy compatibility aliases that return the same data in a legacy envelope. Use the /v1/aci/* endpoints for new integrations.
Establish the gateway’s identity before sending, then verify the receipt signature, request and response hashes, and cited session under your policy. Require upstream.verified.result = verified with required = true; a valid signature alone does not establish confidential serving.The full procedure is in Verify a response, with the checks in the receipt reference.
Capture the exact response-body bytes and wait for the stream to finish before retrieving and verifying its receipt. See Streaming receipts for what to hash. Preserve the request bytes too; with E2EE, follow the decrypted-body hashing rules.If your application must verify before displaying content, buffer the output until the required checks pass.
The gateway binds your nonce into the hardware-signed quote’s report_data. A report that commits to a nonce you just generated cannot be a replay of an older capture, which is how you prove freshness. Use a new random nonce each time.
Use https://tee.redpill.ai/v1, or set provider: {"aci_verified": true} on an endpoint that supports mixed routing. The constraint requires verified, channel-bound serving and applies to fallback candidates too. See Attested routing.
Inspect the current sessions for your model, verify their evidence independently, and allow only those that satisfy your policy with provider.aci_session_ids. Session IDs change when evidence is refreshed, so reappraise replacements and preserve the same restrictions across retries. See Pin a request to one attested channel.
Tinfoil, NEAR AI, Chutes, and Phala-backed enclaves, among others the platform adds over time. Each enforces a channel binding and records a set of typed claims. The receipt cites an attested session_id; fetch that session to see which provider served the request. See Providers.
Plaintext is visible to the attested gateway after TLS termination or E2EE decryption, because it has to process the request. Optional middleware inside the same deployment shares that boundary. E2EE binds the decryption key to the attested workload; it does not hide your request from it. See Trust boundary.X-Model-Pub-Key identifies the gateway encryption key from its attested keyset. X-Client-Pub-Key supplies your key, which the gateway uses to encrypt response fields back to you. See E2EE for the headers and encryption flow.
Receipts hold hashes and request-path metadata; sessions hold upstream identity, channel bindings, and evidence. The gateway’s control-plane reports include apiKeyHash for authenticated requests and optional request features (prefixHash, tool presence, modalities, token estimates) at /consult/pre, then usage, timing, and prefixHash when present at /consult/post. These hashes and metadata can link requests; see the trust boundary for retention and middleware limits.
These are separate claims, not an automatic consequence of verified serving. Inspect each claim’s status, source, and reason; unknown leaves that property unproven. A verified GPU report proves a genuine confidential-computing GPU for that nonce, not its binding to the serving CPU TEE.Apply your own policy to TCB freshness, serving-software integrity, and model-weight provenance. See Claims for what each claim establishes and how to interpret it.