Private AI inference requires protecting prompts not only while they travel to a server or sit on disk, but while a model is processing them. Contracts promising zero data retention do not prevent a provider’s software, staff, or an attacker with server access from seeing prompts in memory, and a routing service can add another exposure point. The guide compares local inference, hosted services governed by retention policies, trusted execution environments (TEEs), and cryptographic methods such as fully homomorphic encryption and multiparty computation. It argues that TEEs currently offer the practical balance: they can keep operators from reading data while running large models at production speeds, whereas local models require substantial hardware and cryptographic computation remains far slower and more limited.
A TEE protects both processors involved in inference. A confidential CPU virtual machine encrypts memory against the cloud operator and hypervisor; GPU confidential-computing mode protects model weights, prompt-derived data, and calculations in GPU memory, while encrypting CPU-GPU traffic. Hardware-generated attestations can identify the hardware and software build, allowing a client to verify the environment and its encryption key before sending a request. Nito presents its router as keeping requests encrypted until they reach an attested TEE, where the model can read them; providers and the router see ciphertext. It also offers confidential requests for apps that cannot encrypt on-device. The central safeguards are verifiable software, coverage of both CPU and GPU, and failure-closed routing so a breakdown cannot silently expose a request through ordinary servers.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.