Glad to see OpenRouter moving to privacy-preserving technologies! Privacy with pure math (like FHE) is the holy grail: you almost wouldn't have to worry about infrastructure security anymore, but its overhead compared to plaintext is still too large for business today.
That makes TEEs the only practical option right now: easiest to set up, with the lowest overhead.
But there's a big misconception about what TEEs actually offer.
By default, they encrypt VM memory, making it very hard for the host operator to inspect the machine and extract data. That helps when you don't trust the underlying provider (i.e. you are worried about AWS or Google looking in your VM). That's not the threat model OpenRouter is interested in here.
The main threat is bugs, misconfigurations, or exposed interfaces in the software itself allowing attackers to extract sensitive data, and a TEE does nothing to prevent that. Once you look past host-level snooping, the only remaining protection a TEE adds is remote attestation: a cryptographic guarantee of which exact software is running inside the machine.
Mentionning things like "encrypted TEE" (memory encryption is already built in) or "E2E encrypted" also oversimplify how TEEs work. Prompts still have to be decrypted inside the enclave to run inference. So, put the same vulnerable software that got hacked into a TEE, and you add zero security against software flaws; you just get a way to prove to users which exact software you're running.
The way to make this actually work is:
- harden and intensively audit the stack (with TLS terminating inside the enclave and attestation verified before routing),
- either open-source it with reproducible builds so anyone can verify the code behind the hash,
- or go the Apple / Google route: rely on trusted auditors and public transparency logs (like Apple's Private Cloud Compute) to vouch that a specific build hash is genuinely secure and privacy-preserving.
Either way, the security and privacy engineering has to be just as solid as if we were simply trusting providers to implement it properly. A TEE doesn't replace that work, it simply gives you verifiability that the audited stack is what's actually running.
So: Use of TEE to enforce ZDR and prove that this policy is respected sounds like a great match, this adds trust. But by no means do TEE add security / privacy by default. The encrypted memory feature is not that important.
@alexatallahProviders’ data-handling claims have mostly relied on self-attestation. This isn't going to be sufficient.
Just as continuous benchmarking and monitoring transformed the quality and reliability of inference both on and out of OpenRouter, we expect technical validation, auditing, and continuous testing to do the same for data policy enforcement.
Encrypted TEE (Trusted Execution Environment) inference will be a great way for providers to accelerate this.
We will keep raising the bar, and providers that want to be on OpenRouter will need to meet it.