> ## Documentation Index
> Fetch the complete documentation index at: https://docs.redpill.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Release measurements

> The measurement values the production gateway currently attests, the release that publishes them, and how much notice you get before they change.

This page lists the values that the production gateway at `api.redpill.ai`, `tee.redpill.ai`, and
`inference.phala.com` attests today. Use it to keep the pins in your verifier current. Each value comes
from a GitHub release in
[`Dstack-TEE/private-ai-gateway`](https://github.com/Dstack-TEE/private-ai-gateway/releases), and the
release is the authenticated source. Check a value against its release, not only against this page,
and never against a value copied from the endpoint.

## Current values

Release: [`gateway-prod-2026-11-16`](https://github.com/Dstack-TEE/private-ai-gateway/releases/tag/gateway-prod-2026-11-16),
live on all replicas since 2026-11-17 01:34 PST.

### Application

| Value | Where it is measured | Current value |
| - | - | - |
| Compose hash, `sha256(app_compose)` | RTMR3 event `compose-hash` | `04d79a230db9bb467ced4b3a0822042c5751c32d89a2b1c6801368e648356085` |
| App ID (app contract on Base) | RTMR3 event `app-id` | `89c51ab856bee41efe78c40309a4deb277a02a0f` |
| Gateway source commit | `source_provenance.repo_commit` (label, not measured) | `8d0018f81e8dbadfe7b733bb294a0350f82b338c` |
| Launcher image | Inside the measured compose | `ghcr.io/redpill-ai/private-ai-launcher@sha256:c083ff9e6a5ddf10f6c9e9bb1f74cc618deebecfea5208b563c574399db4637c` |

### KMS

| Value | Where it is measured | Current value |
| - | - | - |
| KMS root key | RTMR3 event `key-provider`, field `id` (DER public key) | `3059301306072a8648ce3d020106082a8648ce3d030107034200048bf84f52911056474c207cb50b4e8010d984f8975ea57b8f0c8b17502181c283e93a68a9864ad19f629508cc699f125be3871ec2e26ab0597e5bca4e29b7425f` |

Do not pin `mr-kms`. A replica records it when it boots, so it reflects the KMS build at that moment,
not the gateway, and it can change on any restart after the KMS operator updates the KMS.

Since 2026-11-05 the gateway uses the dstack on-chain KMS. The app ID is an app contract on Base
(chain 8453), and a replica can only boot with a compose hash that the contract allows. You can check a
compose hash yourself with `allowedComposeHashes(bytes32)` (selector `0x2f6622e5`):

```bash theme={null}
curl -s https://mainnet.base.org -H 'content-type: application/json' -d '{"jsonrpc":"2.0","id":1,"method":"eth_call","params":[{"to":"0x89c51ab856bee41efe78c40309a4deb277a02a0f","data":"0x2f6622e504d79a230db9bb467ced4b3a0822042c5751c32d89a2b1c6801368e648356085"},"latest"]}'
# "result" ends in ...0001 when the hash is allowed
```

The KMS root key is the KMS identity that the workload keys derive from, and it stays the same across
KMS builds. To check which KMS serves the gateway, pin the KMS root key. The 3-day notice below does
not cover it: if it changes, we publish a new release with the new value as soon as we see the change.

### OS and virtual machine

| Value | Where it is measured | Current value |
| - | - | - |
| OS image | `vm_config.image` | `dstack-0.5.12` |
| OS image hash | RTMR3 event `os-image-hash`, `vm_config.os_image_hash` | `8db40cb23008d6213668b5816702d100b37b859a8a5bfd18d938ae3a1b3715bd` |
| MRTD | TDX quote | `7fe60787222bd394cb516abca2435f22f035ab2cc9c0a4b4b3b148e46297f3d931a237b72f359052c6e657d8c1409173` |
| RTMR0 | TDX quote | `d6118f0eeb30e9d9178d2b9106dddd002d979b6fa79bdec415051afae2021384c29a32d2f6454fa369617598378ffb5e` |
| RTMR1 | TDX quote | `4ae609807c765916a31d724786ed74bcb97e168a9d937b04936aeef2015c907eba5ac352c6bcd749c246fd62ffb659ec` |
| RTMR2 | TDX quote | `764489f277a8540189761e72b4238ba36d4d647e11bd958d8ab5522af2a4867b0ff63e06b0c4967f1857236244040a5d` |

RTMR0 depends on the VM configuration as well as the image: 16 vCPUs and 32 GiB of memory.

### TLS keys

The keyset in each attestation lists these SPKI pins. The keys are derived from the KMS, so every
replica serves the same ones.

| Domain | SPKI SHA-256 |
| - | - |
| `tee.redpill.ai` | `dd7451eed78f36e8e230047e0e1e91955810f802fea052996fa83add370a00ce` |
| `api.redpill.ai` | `08ef73dce9d18eeec450dc0e5dabe1a3da2b1d8f06be83e9f8329574fe507e59` |
| `inference.phala.com` | `506c4c558fb9e1c9555c773777838196f04ccdaab012709306eddeee85e17775` |

Do not pin `instance-id`, `report_data`, RTMR3 itself, or `workload_keyset_digest`. They differ
between replicas or change when the keyset renews.

## Scheduled changes

### `gateway-prod-2026-11-20`

Release: [`gateway-prod-2026-11-20`](https://github.com/Dstack-TEE/private-ai-gateway/releases/tag/gateway-prod-2026-11-20)
(prerelease, published 2026-11-17). Rollout window: **2026-11-20 19:00–23:00 PST** (2026-11-21 03:00–07:00 UTC).

| Value | Current | After the rollout |
| - | - | - |
| Compose hash | `04d79a230db9bb467ced4b3a0822042c5751c32d89a2b1c6801368e648356085` | `261760d004c92eab0b6bed59a55cf3214c65d2cb543a1bed6dff371cd2650a7a` |

The gateway source moves to `3147f871` (rerank, image edit and speech endpoint support, not yet enabled
for any model; the upstream request ID in usage reports), the Privatemode proxy to v1.64.0, and the
dstack verifier sidecar to 0.6.5. The app ID, OS image, MRTD, RTMR0-2, KMS root key, and TLS keys do not
change. Add the new compose hash to your allowlist next to the current one.

## Notice before a change

* At least 3 days before a gateway rollout that changes the compose hash, app ID, OS image, MRTD,
  RTMR0-2, or TLS keys, we create a prerelease
  `gateway-prod-<date>` in
  [`Dstack-TEE/private-ai-gateway`](https://github.com/Dstack-TEE/private-ai-gateway/releases) with
  the new values and the planned rollout window, and list it under
  [Scheduled changes](#scheduled-changes) and in the [changelog](https://docs.redpill.ai/changelog.md).
* Add the new values to your allowlist next to the current ones. `acceptedComposeHashes` takes a
  list for this reason. During a rollout, replicas switch one at a time, so both sets are served
  until the last replica is done.
* KMS values (`mr-kms`, KMS root key) are the exception described under [KMS](#kms): they are
  published when they change, without advance notice.
* An urgent change, such as a security fix, can ship with less notice. Its release states why.
* When every replica runs the new release, we mark the release as rolled out and update
  [Current values](#current-values). Remove the old values after that.

To get notified, subscribe to the changelog RSS feed at `https://docs.redpill.ai/changelog/rss.xml`, or
watch the repository's releases on GitHub (Watch, Custom, Releases).

## Check a release yourself

Each release attaches the exact `app_compose.json` the workload measures. Recompute the compose hash
from that file and compare it with both the release notes and the live attestation:

```bash theme={null}
TAG=gateway-prod-2026-11-16
curl -fsSLO "https://github.com/Dstack-TEE/private-ai-gateway/releases/download/$TAG/app_compose.json"
sha256sum app_compose.json
```

The digest must equal the published compose hash. `docker_compose_file` inside that JSON shows the
launcher image, the gateway commit, and every sidecar image, each pinned by digest. For the OS values,
run the [dstack verifier](https://github.com/Dstack-TEE/dstack/tree/next/dstack/verifier) on the quote,
event log, and VM configuration, as described in
[Verify a response](https://docs.redpill.ai/guides/verify-a-response.md#release-policy).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.