The Debrief

Encrypted AI Is a Key Management Problem

3 min read

The Short Version

The most interesting thing about Belfort's new chatbot is that the server can do the work with an encrypted prompt. The first thing I'd check before putting a real document into a service like it is who holds the key.

On November 30, Belfort released Bel-0, a research preview of Meta's Llama 3.1 8B Instruct running under fully homomorphic encryption. The browser encrypts the input, the server computes on the ciphertext, and the browser decrypts the answer. The public preview uses a single shared key whose generation is public. Belfort tells users to stick to test data. That makes the demo a way to see encrypted inference in action. A private deployment would have to give each customer control over the key that can decrypt their content. Belfort's report · Preview limits · WIRED's reporting

The hard part happens while the model is running

HTTPS protects a prompt on its way to the server. Storage encryption protects whatever the service saves to disk. The hard moment for an AI provider is the one in between, when the model has to use the input. Running on your own hardware keeps that work under your control. A confidential-computing service can decrypt inside a protected execution environment. Homomorphic encryption lets the remote hardware do the arithmetic while the input stays encrypted. Belfort's comparison of deployment models

That's a change in who needs access to the data. It comes with a bill. Belfort reports 4.8 seconds to the first token and 1.7 tokens per second after that on eight NVIDIA B200 GPUs. A 100-token answer takes about a minute at that rate. The demo handles one request at a time, caps the prompt at 128 tokens and keeps no history. Belfort's own cost model puts its cheapest encrypted configuration at roughly one two-thousandth of the output tokens per dollar of an on-premises plaintext reference. That's a comparison of different setups, with the cheaper encrypted point estimated from one-user benchmarks. Belfort's measurements and cost model · Preview limits

The next demo should have two customers

Belfort says testers have already run Bel-0 with their own keys. Serving lots of those customers is a different job. With the current implementation, the server needs about 45 GB of auxiliary evaluation keys for each separate secret key. Those allow it to do the encrypted computation. They aren't the private key that opens the answer, but the service still has to receive and store them. The preview's shared key lets Belfort keep a single set. Belfort's key and serving constraints

I'd watch for two organizations to run concurrent jobs with separately held keys and published throughput. I'd also ask who controls the client software, which handles the original text, and what the server can learn from request size and timing. Getting back something your key can decrypt still leaves a separate question about whether the provider actually ran the agreed model. Belfort describes that as outside Bel-0's guarantees. Belfort's threat model

At today's speed, I'd think about an overnight batch job long before replacing anyone's chat window. The appealing version of that job is straightforward. My organization holds the key, the cloud supplies the compute, and the price is low enough for us to run it twice.