Good to have another tool in the box in addition to local inference. I think my doctor is unlikely to set this up, but I would like them to use encrypted models with my medical data
While I agree in some contexts, wouldn't you also want them to use the strongest models that are reasonably available? Realistically is this any better than contractual requirements to legally keep your data protected, as would already be needed with HIPPA and the like?
Agree local feels easier to trust. But crypto has shown that securing your own machine is harder than it sounds. And local caps you at models that fit on it. I think there's room for both!
You only need 8 B200 to run that.
After playing with FHE, and not being in the field, I really fail to see the real purpose. Anything it targets is defeated in practice by a different attack channel.
Here the client output is not really protected if I understood well, just a shared key.
This is the classic: get it working first and then optimize later. There are multiple techniques we omitted in favor of getting it out there. Of course the shared key is not acceptable, but we need to compress key sizes further before we can do that.
You have a valid point that there are different channels possible and FHE is only a part of making it E2E secure.
Youâre right to be skeptic. I think (1) FHE is just another tool in the toolbox and has become a lot more practical. (2) If you can LLMs relatively slow, imagine how fast smaller, purposely chosen ML models would be (3) Things naturally will go faster with better algorithms and hardware
Was following the space for a good while now, expected the perf to be a bit better to be honest, but still something.
Not sure there is a good story how to get FHE to be efficient with larger MoE models, or if this just stays usable for dense models.
Meanwhile confidential computing provides reasonably comparable confidentiality, assuming providers give you good attestation trail - those exist, and it seems most of the confidential AI providers aren't doing that great.
MoE is not very likely in FHE, but this is anyway a trick that works best for plaintext models inference performance.
Confidential computing is a valid approach though attacks are a thing
Can anyone please explain the high penalty in laymanâs terms? I thought matrix multiplication workload is the one thing FHE is good at. Anything database-lookup-like is highly penalised since you cannot have a meaningful index onna row with encrypted data.
The model provider still learns the length of each message.
If the model provider is malicious, they can learn a lot from that: They could train their model in such a way that the length of the message(s) encodes some information about the message.
(The user could stop the generation late so that the model generates a lot of garbage tokens, but making every message exactly the same length would waste way too much compute, and also they basically have to reveal the actual length when they make the next turn where they have to send the correctly trimmed message. So I think there is always some information that the model provider can learn. Still a very interesting field in my opinion.)
The model provider would need to be trusted here, but their delivery to the model hoster could be a large encrypted blob. That way the hoster has no way of peeking at whatâs going on.
Very interesting ! The problem of homomorphic encryption was that in the current state of affairs the applications are quite algebric and mathematical in nature, and it seemed that there would have been no immediate use for higher level cases. It didn't occur to me that it could power-up the calculus for a LLM, which is quite a jump in the number of use case that would cover secure cloud computing.
FHE is pretty awesome, but I don't think this will work without new fundamental research progress. For bigger organizations, the FHE vs on premises gap is even worse because they could realistically sell off their idle capacity to services like OpenRouter.
I donât think a bank or hospital is going to do that at risk of leaking data. With AI, we have seen how easy these agents can hack themselves off a container onto the shared server
This is not what inference providers do. They don't run the whole harness with an execution environment. For them it's just text in and text out. That's much more manageable from a security perspective.
I use https://privatemode.ai and they have some interesting use cases and customers. I suppose this is an extension on those ideas? Cloud hosted private AI means regulated business don't have to wait on hardware to explore PoC's, right?
As far as I have seen privatemode still uses normal models which can only process clear text values with Confidential computing and belfortlabs uses a model with FHE to process encrypted data. Here they describe differences https://bel.belfortlabs.com/about/trust
Getting encrypted LLM inference to work at a reasonable speed has been quite a journey. There is still a lot of room for improvement, particularly in performance and model support. Happy to discuss the technical challenges.
I had no idea what you two were talking about, and I thought, "how can they force you to read, it will be fine" but then I clicked to read it and wow it was unbearable, I left after seconds and one click
Third. The sites gross AF. It's worse than the yearly 'sexual harassment training' work content that slow-speaks everything that you can't just skip-skip-skip done.
Does FHE only work as long as model interpretability remains low? Couldn't the provider replay the message and record what activates in the weights or are those somehow encrypted too? If this is possible, I don't see how you could protect against it.
The weights are not encrypted, but once they are incorporated into the work (e.g., multiplied by a ciphertext) then the result of that sub-step becomes encrypted. This way you cannot tell what is activated and what is not.
I think the whole premise of it being homomorphically encrypted is that the model provider can't learn anything about the input or the output. That includes everything in between. The activations are encrypted too, so replaying the message would only show them encrypted noise. Knowing what a neuron means doesn't help if you can't read its value. Every operation also runs the same way regardless of the input, so you can't see which parts of the model light up either.
What is the practical benefit of an encrypted llm compared to a local one, considering that even a phone can deliver significantly superior performance?
theoretical research at least? the fact that homomorphic tech exists and it works for LlMs is quite surprising to me, I still donât trust that it works without bugs but itâs possible
I've seen a paper [0] that ingeniously uses homomorphic encryption to implement arbitrary algorithmic
computations, totally secret, by encoding a (custom-crafted) CPU together with RAM and then running
"tick a clock" algorithm on them. And it works, so you can borrow some AWS huge instance and run you
super-important calculations there â at 1 Hz. I am not kidding, it's literally 1 virtual CPU
instruction per second. Well, if you are okay with such speed and costs, you either have very small
data â at which point just run your computation locally, or you're really, really rich â at which
point just buy your own goddamn hardware and, again, run it locally.
That's the latest iteration: https://github.com/phantomzone-org/phantom, a fully encrypted RISC-V virtual machine that executes encrypted RISC-V binaries on encrypted inputs.
None, for you. The hypothetical benefit is that someone could release such an encrypted model that anyone can run, but nobody can examine the weights. You can run the model, but you can't inspect it.
I could be wrong, of course, but I donât think thatâs how it works. Unless youâre serving model requests for someone else.
What this really does is a ZDR-like property that providers canât figure out whatâs being prompted and produced. Right now itâs all pinky promises and recent OpenRouter news suggests there are plenty of actors with GPUs that arenât keeping them.
With all the developments in weight-space analysis/programming, couldnât the model provider still âpeerâ into what contents the LLM is generating via the intermediate neuron activations?
"Belfort aims to have a cloud-based model that outperforms locally hosted AI models in efficiency by 2029" [1]
And they got to this "milestone" with 18 people. Seems like the standard homomorphic encryption story: there are _some_ things for which you're willing to pay 3 orders of magnitude more. But for most things, it's way below the pareto frontier.
It is suddenly very funny to have a paragraph explaining that the FHE scheme is secure because "no known algorithm solves efficiently" lattice-based cryptosystems, and so it's post-quantum.
Interesting. I have also created something like this, but only for verifying signed prompts as the first step.
I have the full prompt path homomorphic encryption LLM ready (once you integrate a security processor into a LLM, you can do any cryptographic operations on it, signing or encryption or decryption), but my GPU broke a few weeks ago and I couldn't create the demo video...
really interesting concept! one suggestion: i might get rid of the no-skip timed buttons on the initial pop-up because it could deter potential users. you could consider instead having a pop-up that explains the concept more succinctly and pinpoints value of software in one or two slides that they can click through at their own pace before the sign up screen.
I'm very skeptical. I can't verify they're actually using FHE and they haven't been audited by anyone trustworthy. And as much as I hope blind inference will become more practical in the future, I still haven't seen a way to actually verify what model they're running on your prompt, which is much scarier than leaking the prompt itself to a disinterested party.
"128-bit" also doesn't mean much without knowing the algorithm. 128-bit ECC is far more difficult to break than 128-bit RSA for instance (even though both are easily broken -- yet another reason algorithm is important). There's a reason why the strongest standard RSA is 4096-bit and the strongest standard ECC is only 521-bit. 521-bit ECC is equivalent to around 15360-bit RSA, which is such overkill that most providers only support 384-bit ECC (similar to much hardware only supporting 2048-bit RSA).
(This is also a side effect of an NSA Suite B omission being interpreted as an explicit recommendation against 521-bit ECC.)
Anyway: I do hope something like this can become practical one day.
I'm also skeptical, but I'm amazed to learn that this is even actively being worked on.
The thought had crossed my mind that homomorphic encryption would really make the case for hosted LLMs more compelling, but I figured if it was even possible it would be years to become an area of research.
Of course, there is still another benefit to self-hosted, which is that you can choose the model whose safeguards are acceptable to you (or try to train the safeguards out of a model on your own)
I also worry that homomorphic encryption might one day be used by those making the case for banning open-weight models, because the providers could then comply with safeguard mandates (or might be compelled to add safeguards for legal compliance on they're own, if they're ever found liable when one of their models breaks the law) without requiring users to give up their privacy.
introduction straight up says that everyone shares the same encryption key that they themselves issued - so this is not supposed to be private in "someone to trust" sense
Like if I send you a block of text I have encrypted with my private key, you can send it to claude, gemini, qwen, wherever, and none of them can read it.
The model matters for the quality of the response, but not for the security of the transaction.
It matters because the quality of the response is the entire reason to use any model, and because not all quality issues are perceptible or always caught in time. Like a lack of security, quality issues should steer you from the provider.
Reject this solution? They're solving an important problem. I couldn't verify all of their claims, but FHE is very important and valuable to have, even without remote attestation. Any progress is good.
The most secure way to run an LLM is to run it yourself, on device. Most devices can now run 8B models reasonably fast, much faster than 2 tok/sec. They probably showcase such a small model because anything bigger would make for a poor demo, at something like 1 token per hour. And if their technology doesn't scale well, then what's the point?
I think the simplest entry point on a desktop/laptop is a free, closed-source product called LM Studio. It takes out 99% of the guesswork and shows you models that are relevant to your machine. Local, no account required.
https://lmstudio.ai/
`LM Studio Bionic` is the "agent" that does things via your shell. `LM Studio` is just a chat interface like ChatGPT from 2021. They run on the same model store by default, so you can try one and then switch to the other pretty seamlessly.
Seconding LM Studio. Been using it for years and while it's unfortunately closed source and slightly stupid in areas, it's a good all-in-one to get you started, and supports pretty much every major feature you could need.
Paper: https://bel.belfortlabs.com/about
I am excited for progress in this space, but somewhat expect local/self-hosted models to be the easier tool that emerges first.
Good to have another tool in the box in addition to local inference. I think my doctor is unlikely to set this up, but I would like them to use encrypted models with my medical data
While I agree in some contexts, wouldn't you also want them to use the strongest models that are reasonably available? Realistically is this any better than contractual requirements to legally keep your data protected, as would already be needed with HIPPA and the like?
This setup is useful if you offer IP behind a server that needs to work with an LLM on user data.
Imagine a server hosted AI-supported file auto tagging service.
Do they need encrypted models locally? But this enables running on more expensive hardware in the cloud and keep your data encrypted all the way
Indeed; this is super cool, but I trust my own computers a lot more than I trust the security of a new FHE scheme.
Itâs based on CKKS which is an old scheme that was released 10 years ago
Agree local feels easier to trust. But crypto has shown that securing your own machine is harder than it sounds. And local caps you at models that fit on it. I think there's room for both!
You only need 8 B200 to run that. After playing with FHE, and not being in the field, I really fail to see the real purpose. Anything it targets is defeated in practice by a different attack channel. Here the client output is not really protected if I understood well, just a shared key.
This is the classic: get it working first and then optimize later. There are multiple techniques we omitted in favor of getting it out there. Of course the shared key is not acceptable, but we need to compress key sizes further before we can do that.
You have a valid point that there are different channels possible and FHE is only a part of making it E2E secure.
Youâre right to be skeptic. I think (1) FHE is just another tool in the toolbox and has become a lot more practical. (2) If you can LLMs relatively slow, imagine how fast smaller, purposely chosen ML models would be (3) Things naturally will go faster with better algorithms and hardware
Was following the space for a good while now, expected the perf to be a bit better to be honest, but still something.
Not sure there is a good story how to get FHE to be efficient with larger MoE models, or if this just stays usable for dense models.
Meanwhile confidential computing provides reasonably comparable confidentiality, assuming providers give you good attestation trail - those exist, and it seems most of the confidential AI providers aren't doing that great.
MoE is not very likely in FHE, but this is anyway a trick that works best for plaintext models inference performance. Confidential computing is a valid approach though attacks are a thing
Can anyone please explain the high penalty in laymanâs terms? I thought matrix multiplication workload is the one thing FHE is good at. Anything database-lookup-like is highly penalised since you cannot have a meaningful index onna row with encrypted data.
The model provider still learns the length of each message.
If the model provider is malicious, they can learn a lot from that: They could train their model in such a way that the length of the message(s) encodes some information about the message.
(The user could stop the generation late so that the model generates a lot of garbage tokens, but making every message exactly the same length would waste way too much compute, and also they basically have to reveal the actual length when they make the next turn where they have to send the correctly trimmed message. So I think there is always some information that the model provider can learn. Still a very interesting field in my opinion.)
The model provider would need to be trusted here, but their delivery to the model hoster could be a large encrypted blob. That way the hoster has no way of peeking at whatâs going on.
You could also batch multiple tokens together in a single ciphertext obfuscation this I believe
Very interesting ! The problem of homomorphic encryption was that in the current state of affairs the applications are quite algebric and mathematical in nature, and it seemed that there would have been no immediate use for higher level cases. It didn't occur to me that it could power-up the calculus for a LLM, which is quite a jump in the number of use case that would cover secure cloud computing.
Indeed! It shows the power of the tech and also how it would run for simpler use cases like small machine learning
For anything where you need plain language and reasoning this is a killer!
But also the paranoia will start - because governements want to police what you say, what you learn, what information you get.
FHE is pretty awesome, but I don't think this will work without new fundamental research progress. For bigger organizations, the FHE vs on premises gap is even worse because they could realistically sell off their idle capacity to services like OpenRouter.
I donât think a bank or hospital is going to do that at risk of leaking data. With AI, we have seen how easy these agents can hack themselves off a container onto the shared server
This is not what inference providers do. They don't run the whole harness with an execution environment. For them it's just text in and text out. That's much more manageable from a security perspective.
I use https://privatemode.ai and they have some interesting use cases and customers. I suppose this is an extension on those ideas? Cloud hosted private AI means regulated business don't have to wait on hardware to explore PoC's, right?
As far as I have seen privatemode still uses normal models which can only process clear text values with Confidential computing and belfortlabs uses a model with FHE to process encrypted data. Here they describe differences https://bel.belfortlabs.com/about/trust
These typically rely on hardware or legal means to protect the data. Belfort uses mathematical ones!
Getting encrypted LLM inference to work at a reasonable speed has been quite a journey. There is still a lot of room for improvement, particularly in performance and model support. Happy to discuss the technical challenges.
Dedicated hardware is the way to go! Exciting to see how Belfort will tackle this
forced reading is annoying. closed tab immediately
Thanks for the feedback, we removed the forced reading bit!
... yeah that's particularly atrocious, isn't it. forced extremely slow, no skip or even skip-ahead.
I had no idea what you two were talking about, and I thought, "how can they force you to read, it will be fine" but then I clicked to read it and wow it was unbearable, I left after seconds and one click
Just when I thought all the bad ideas were already out there... human stupidity truly cannot be outdone.
Third. The sites gross AF. It's worse than the yearly 'sexual harassment training' work content that slow-speaks everything that you can't just skip-skip-skip done.
Harsh
Thanks for the feedback! Just removed the forced wait!
Does FHE only work as long as model interpretability remains low? Couldn't the provider replay the message and record what activates in the weights or are those somehow encrypted too? If this is possible, I don't see how you could protect against it.
The weights are not encrypted, but once they are incorporated into the work (e.g., multiplied by a ciphertext) then the result of that sub-step becomes encrypted. This way you cannot tell what is activated and what is not.
I think the whole premise of it being homomorphically encrypted is that the model provider can't learn anything about the input or the output. That includes everything in between. The activations are encrypted too, so replaying the message would only show them encrypted noise. Knowing what a neuron means doesn't help if you can't read its value. Every operation also runs the same way regardless of the input, so you can't see which parts of the model light up either.
What is the practical benefit of an encrypted llm compared to a local one, considering that even a phone can deliver significantly superior performance?
theoretical research at least? the fact that homomorphic tech exists and it works for LlMs is quite surprising to me, I still donât trust that it works without bugs but itâs possible
But what's the practical point? To quote myself:
[0] https://arxiv.org/abs/2010.09410That's the latest iteration: https://github.com/phantomzone-org/phantom, a fully encrypted RISC-V virtual machine that executes encrypted RISC-V binaries on encrypted inputs.
None, for you. The hypothetical benefit is that someone could release such an encrypted model that anyone can run, but nobody can examine the weights. You can run the model, but you can't inspect it.
I could be wrong, of course, but I donât think thatâs how it works. Unless youâre serving model requests for someone else.
What this really does is a ZDR-like property that providers canât figure out whatâs being prompted and produced. Right now itâs all pinky promises and recent OpenRouter news suggests there are plenty of actors with GPUs that arenât keeping them.
With all the developments in weight-space analysis/programming, couldnât the model provider still âpeerâ into what contents the LLM is generating via the intermediate neuron activations?
No, the point of homomorphic encryption is that the model provider doesn't actually see the inputs/outputs/intermediates here!
"Belfort aims to have a cloud-based model that outperforms locally hosted AI models in efficiency by 2029" [1]
And they got to this "milestone" with 18 people. Seems like the standard homomorphic encryption story: there are _some_ things for which you're willing to pay 3 orders of magnitude more. But for most things, it's way below the pareto frontier.
[1] https://www.wired.com/story/bel-zero-end-to-end-encrypted-ll...
Chatjimmy from Taalas was 30000 tokens per second - fixed model on a chip...
AMD bought them - imagine even OPUS 4.5 on a chip made by AMD, even id FHE is 1000 times slower, its still a game changer
On the other hand, they're working closely with us on FHE compilers! I look forward to turning their techniques into compiler passes.
https://x.com/laurensdp/status/2127403163921899857
Nice, private knowledge work will be big
Even for onprem local-ish deployments
What does observability look like though?
It is suddenly very funny to have a paragraph explaining that the FHE scheme is secure because "no known algorithm solves efficiently" lattice-based cryptosystems, and so it's post-quantum.
Interesting. I have also created something like this, but only for verifying signed prompts as the first step.
I have the full prompt path homomorphic encryption LLM ready (once you integrate a security processor into a LLM, you can do any cryptographic operations on it, signing or encryption or decryption), but my GPU broke a few weeks ago and I couldn't create the demo video...
https://github.com/moonlightelite/secproc
Maybe I should do the demo on my CPU instead...
1.7 seconds per seconds (assuming including prefill) is good enough for decision models. Have HIV/No HIV/Alladin fully HIPAA compliant too.
Yeah LLMs are probably not the first use case for this in practice. Microsoft and Apple are using FHE for passwords and private information retrieval
This is literally my dream scenario for a computation based world
This and persistent RAM
really interesting concept! one suggestion: i might get rid of the no-skip timed buttons on the initial pop-up because it could deter potential users. you could consider instead having a pop-up that explains the concept more succinctly and pinpoints value of software in one or two slides that they can click through at their own pace before the sign up screen.
Nice to see work in this space but I am very sceptical of HE scaling for any decent model.
I'm very skeptical. I can't verify they're actually using FHE and they haven't been audited by anyone trustworthy. And as much as I hope blind inference will become more practical in the future, I still haven't seen a way to actually verify what model they're running on your prompt, which is much scarier than leaking the prompt itself to a disinterested party.
"128-bit" also doesn't mean much without knowing the algorithm. 128-bit ECC is far more difficult to break than 128-bit RSA for instance (even though both are easily broken -- yet another reason algorithm is important). There's a reason why the strongest standard RSA is 4096-bit and the strongest standard ECC is only 521-bit. 521-bit ECC is equivalent to around 15360-bit RSA, which is such overkill that most providers only support 384-bit ECC (similar to much hardware only supporting 2048-bit RSA).
(This is also a side effect of an NSA Suite B omission being interpreted as an explicit recommendation against 521-bit ECC.)
Anyway: I do hope something like this can become practical one day.
I'm also skeptical, but I'm amazed to learn that this is even actively being worked on.
The thought had crossed my mind that homomorphic encryption would really make the case for hosted LLMs more compelling, but I figured if it was even possible it would be years to become an area of research.
Of course, there is still another benefit to self-hosted, which is that you can choose the model whose safeguards are acceptable to you (or try to train the safeguards out of a model on your own)
I also worry that homomorphic encryption might one day be used by those making the case for banning open-weight models, because the providers could then comply with safeguard mandates (or might be compelled to add safeguards for legal compliance on they're own, if they're ever found liable when one of their models breaks the law) without requiring users to give up their privacy.
Itâs running a lattice scheme called CKKS. The client code is just wasm. Jeremy Kun at Google verified it: https://www.jeremykun.com/2026/11/30/belfort-fhe-llama/
introduction straight up says that everyone shares the same encryption key that they themselves issued - so this is not supposed to be private in "someone to trust" sense
treat it more like proof of speed
you should be able to audit client side right? thats the idea, you only send the encrypted input and receive the encrypted output
In theory, yes. You can't verify what model they're actually running on the server this way, though.
You can run the same prompt on the same model. System prompt is on the website. Thatâs not a statistical test but should give some confidence
But why does that matter?
Like if I send you a block of text I have encrypted with my private key, you can send it to claude, gemini, qwen, wherever, and none of them can read it.
The model matters for the quality of the response, but not for the security of the transaction.
It matters because the quality of the response is the entire reason to use any model, and because not all quality issues are perceptible or always caught in time. Like a lack of security, quality issues should steer you from the provider.
What I want for Christmas this year: a crowdsourced model and provider managing remote attestation and homomorphic encryption.
(I, being poor, have only my dreams; I have spread my dreams under your feet; Tread softly because you tread on my dreams.)
But that sounds like a different problem. Why is that a reason to reject this solution? Why not take things one step at a time?
Reject this solution? They're solving an important problem. I couldn't verify all of their claims, but FHE is very important and valuable to have, even without remote attestation. Any progress is good.
Jeremy Kun (https://news.ycombinator.com/user?id=j2kun) verified results on his blog: https://www.jeremykun.com/2026/11/30/belfort-fhe-llama/
The most secure way to run an LLM is to run it yourself, on device. Most devices can now run 8B models reasonably fast, much faster than 2 tok/sec. They probably showcase such a small model because anything bigger would make for a poor demo, at something like 1 token per hour. And if their technology doesn't scale well, then what's the point?
any apps to recommend?
I think the simplest entry point on a desktop/laptop is a free, closed-source product called LM Studio. It takes out 99% of the guesswork and shows you models that are relevant to your machine. Local, no account required.
https://lmstudio.ai/ `LM Studio Bionic` is the "agent" that does things via your shell. `LM Studio` is just a chat interface like ChatGPT from 2021. They run on the same model store by default, so you can try one and then switch to the other pretty seamlessly.
Seconding LM Studio. Been using it for years and while it's unfortunately closed source and slightly stupid in areas, it's a good all-in-one to get you started, and supports pretty much every major feature you could need.
also bounced, donât need the tutorial
See also: https://news.ycombinator.com/item?id=50703263