Bel-0 Research Preview Keeps Prompts and Answers Encrypted Throughout AI Inference
Belfort Labs, which grew out of the COSIC cryptography research group at KU Leuven in Belgium, released Bel-0 as a research preview on November 30 local time. It is a large language model (LLM) based on Meta's Llama 3.1 8B Instruct, with about eight billion parameters, the internal values it uses to generate answers, and 32 transformer layers.
With ordinary plaintext inference in the cloud, transport encryption still leaves the input readable where the computation takes place. Even if a provider promises not to use data for training, the inference environment handles plaintext.
Bel-0 uses fully homomorphic encryption (FHE) to compute directly on ciphertext. The user's device encrypts the prompt, the server computes on the ciphertext, and the user's device decrypts the response.
A trusted execution environment (TEE), as used in confidential computing, decrypts and processes data in a protected region of the processor. FHE keeps the data encrypted even during computation. How does the server assemble a sentence without reading the prompt in plaintext?
Selecting the next token without decrypting it
Language models process text as tokens, units made from words or pieces of text. Bel-0 tokenizes and encrypts the prompt on the user's device and sends it to the server. The server runs each layer on encrypted data and scores possible next tokens. The scores stay encrypted too.
According to Belfort's technical documentation, the system combines operations such as addition and multiplication to approximate functions including softmax, SwiGLU, and RMSNorm with polynomials. Softmax calculates how much weight to give past tokens. RMSNorm adjusts the scale of values, and SwiGLU transforms data within each layer. Belfort adjusted the approximations to the actual range of values in each layer.
Adding or multiplying ciphertexts produces a result that decrypts to the sum or product of the underlying values. In Bel-0's approximate arithmetic scheme, repeated multiplication increases noise until it can compromise precision. The system refreshes the ciphertext through bootstrapping to reduce the noise. Belfort designed the layer computations alongside the bootstrapping to limit how often and what it needs to refresh. Ciphertexts are larger than plaintext, and moving them within GPU memory adds overhead. Work is distributed across GPUs, each holding the evaluation keys and model weights it needs for its portion. Bel-0 uses the original Llama weights, so the model did not need retraining.
Some earlier research implementations sent candidate scores to the user's device, where they were decrypted before a token was selected and re-encrypted. That required a round trip between the device and server for every token.
Bel-0 selects the next token while it is still encrypted and feeds it back into the model. The server can start computing the following token without waiting for the user's device. The device decrypts the returned ciphertext so the user can read the text.
The server can thus run the sequence of computations for generative AI while keeping inputs and intermediate data encrypted.
About one minute for a 100-token answer
In results Belfort published at launch, it ran eight NVIDIA B200 GPUs with cryptographic parameters estimated to provide 128-bit security. The first token arrived 4.8 seconds after the encrypted prompt was sent, followed by generation at 1.7 tokens per second. The figures average five runs using the maximum 128-token input and exclude about 50 milliseconds of device-side encryption and decryption.
An answer of about 100 tokens takes roughly a minute. Sylph, a research system Belfort compared against, took 20 seconds to generate its first token using eight NVIDIA RTX PRO 6000 GPUs and 12 seconds per subsequent token using four B200s. Bel-0 was about 20 times as fast when comparing the best generation rates. The hardware differed in both GPU model and count, so the comparison does not isolate algorithmic performance.
Bel-0 and Sylph encrypted inference speeds (fastest configurations)
| Metric | Bel-0 at launch | Sylph (June version) |
|---|---|---|
| 2026 tests with 128 input tokens | ||
| First token | 4.8 seconds | 20 seconds |
| GPUs used | B200×8 | RTX PRO 6000×8 |
| Each subsequent token | About 0.59 seconds | 12 seconds |
| GPUs used | B200×8 | B200×4 |
| Bel-0 generates subsequent tokens about 20x as fast | ||
The approximations made little difference to the selected tokens. Belfort generated answers to 1,000 inputs using the highest-scoring candidate and compared them with 64-bit floating-point plaintext inference. It chose a different candidate 85 times out of 304,061 tokens. The mismatch rate was 0.028%, with score gaps of 0.015 or less in all those cases.
The test measured how closely encrypted inference reproduced the original model's token selections. That differs from measuring the factual accuracy of the answers. It shows the computations can be replaced with encrypted ones while preserving nearly all of the original model's choices in this test.
The computation is expensive. At launch, Belfort estimated about 440 output tokens per dollar of total cost of ownership for the preview configuration. It projected up to 2,800 tokens per dollar for one B200 shared by eight users, based on single-user measurements.
For comparison, Belfort estimated that a privately hosted RTX PRO 6000 running Llama 3.1 8B in plaintext could generate 5.6 million tokens per dollar. Comparing the most cost-efficient configurations gives plaintext a 2,000-fold advantage. The estimates assume GPU hourly costs, local utilization, depreciation, and power costs. The plaintext benchmark measured generation of a 128-token response to a 1,000-token input. The configurations differ in per-user response speed and input length, and the figures estimate costs rather than service prices. Whether encrypted inference is practical depends on how much users can pay to keep their data confidential on external infrastructure.
Why the public preview is unsuitable for confidential data
Belfort's public preview limitations say all users share a private key and the starting value for generating it, called a seed, is public. The shared setup offers no confidentiality against third parties with access to the ciphertext. That is why the public preview is for test data only. Do not use it for confidential documents or personal information.
Belfort says it has also tested inference with separate keys. Server overhead is one reason the preview uses a shared key. The evaluation keys needed for encrypted computation take about 45 GB per private key. A service that issues different keys to people or organizations would need to transfer each set of evaluation keys on first use and store it on the server.
Bel-0 key management at launch
| Metric | Public preview | Separate-key design |
|---|---|---|
| Availability | Test data only | Tested |
| Private key | Shared key Key generation information is public | Unique key per user |
| Who can decrypt | Anyone with the ciphertext | Private key holder |
| Evaluation keys | About 45 GB shared | About 45 GB per private key |
At launch, inputs were limited to 128 tokens and input and output together to 513. Each prompt starts without the previous conversation, and the system processes one request at a time. The KV cache, which holds intermediate data for previous tokens, grows as generation progresses. Encryption enlarges that data and increases GPU memory use.
Handling long confidential documents in one request would require a larger input limit, and protecting their contents would require keys specific to a user or organization. Now that encrypted language model inference has been demonstrated, such operational constraints have become concrete development problems.
Designing models and chips for encrypted computation
At launch, Belfort published a development roadmap. Bel-1, planned for 2027, will be designed for encrypted computation and targets 27 billion parameters.
Llama was built for plaintext computation. More layers mean more bootstrapping during encrypted inference, so Belfort is making Bel-1 shallower and wider. With functions suited to encrypted computation and improved algorithms, the company targets up to 37.6 tokens per second. That projection depends on training the model and doubling encrypted computation throughput through algorithm improvements by the end of 2027.
For 2029, it plans Bel-2, targeting 70 billion parameters, and Fort, a chip designed for fully homomorphic encryption. Fort would use modular arithmetic circuits and memory designed for ciphertext to handle computations that differ from conventional GPU workloads.
Belfort started by adapting an existing model to encryption. Faster encrypted AI may require changing the model and designing new chips. Bel-0 is the first step.
What users entrust to an AI provider
On June 2, 2023, Japan's Personal Information Protection Commission issued guidance on using generative AI services. A business subject to Japan's personal information rules may violate the Act on the Protection of Personal Information if it enters personal data into a prompt without the person's consent and the data is processed for purposes other than generating the response. The commission urged businesses to verify that the service provider would not use the data for machine learning, among other checks.
If separate-key homomorphic inference becomes practical, users could use external computing power without allowing the provider to read confidential material. That matters most for information that is both useful to process and hard to share, such as internal company documents, medical data, and government records.
Even with separate keys, the server can see the user's network address, request timing, and data size. Users also have to trust the device software that handles their inputs and private keys. Belfort's documentation says Bel-0 cannot prove that the server performed the requested calculation.
Keeping content confidential through encryption is separate from obtaining permission to use a service. Belfort says it can authenticate users, limit requests, and revoke access without reading the inputs. Encryption itself does not confer a right to use the service.
Encrypted inference offers another choice about how much information users need to share to use outside AI. If their own private keys determine who can read the information, it changes what it means to entrust computation to an external provider.
KioskNews shows a cleaned-up reading view extracted from the publisher’s page — the original always lives on their site, not ours.
