The Mistral Surprise: DeepSeek-Architecture Models Removed Too
Mistral is a European lab, but Mistral Large 3, Mistral 4 and Mistral Large 4 use DeepSeek architecture — so llama.cpp-cleaned removes them too. Why model lineage matters more than the brand on the box.

A model card tells you who published a model. It does not always tell you
what the model is built on — and for the fork described in this article,
that second question is the one that decides whether the model loads at
all.
llama.cpp-cleaned is a public, MIT-licensed fork of ggml-org/llama.cpp,
created on 2026-11-03, that removes all support for AI models and
hardware from vendors based in the People's Republic of China. Its
description is short — "truly private local ai" — and its homepage is
llmhub.com.au. The removal list is long and specific: Qwen (Alibaba),
DeepSeek, GLM/ChatGLM/CogVLM (Zhipu), Kimi (Moonshot), MiniMax, Baichuan,
InternLM/InternVL (Shanghai AI Lab), MiniCPM (OpenBMB), Hunyuan/HY/Youtu
(Tencent), ERNIE/PaddleOCR (Baidu), Ling/Ring/Bailing/LLaDA/GroveMoE
(Ant), Seed-OSS (ByteDance), dots (rednote), Step (StepFun), MiMo
(Xiaomi), Pangu (Huawei), Spark (iFlytek), and more — plus Yi-VL (01.AI),
MobileVLM (Meituan), JoyAI (JD.com), Megrez (Infinigence), and DeepSeek
DSpark.
That list is what most people expect. The surprise is the second layer:
models that are not made by a PRC vendor at all, but are built on PRC
architecture — and the most surprising names on it belong to Mistral, a
European lab.
The names that catch people out
Mistral Large 3, Mistral 4, and Mistral Large 4 are removed from
llama.cpp-cleaned. Not because Mistral is a PRC vendor — it is not — but
because those models use DeepSeek architecture, and the fork removes
models on the basis of their architecture and lineage, not only their
publisher.
That is the point of this article, and it is worth stating plainly: a
model's brand name does not tell you what it is built on. If you vet a
model by reading the name on the box, a DeepSeek-architecture model
published by a European lab passes your check. If you vet it by asking
what architecture it derives from, it does not. The fork takes the
second approach, and it does so mechanically: a GGUF file for a removed
architecture fails to load with an "unknown model architecture" error,
and the converters reject it too. There is no warning to dismiss and no
setting to toggle. A model either loads or it does not.
The same rule catches the rest of the derivative layer. Qwen- and
DeepSeek-based fine-tunes are out. So are GigaChat 3, Solar Open, Sarvam
MoE, Kolibri, KORMo, RND1, Janus-Pro, Audio Flamingo 3, and OuteTTS,
along with tokenizers, chat templates including BAAI BGE, multimodal
projectors, and the M-RoPE vision path. Two kept models, LFM3-VL and
EXAONE 4.5, lose their vision encoders because those depend on the
M-RoPE path that was removed; their text capabilities still work. The
fork's README is upfront about that trade-off instead of pretending the
cost is zero, and that honesty is part of why the list is worth reading
in full rather than skimmed for the famous names.
Why lineage is the hard part
Removing a model by vendor name is straightforward. You list the
vendors, you remove their architectures, and you are done. Removing by
lineage is harder, because it requires knowing — and maintaining — what
each model is actually derived from, and that information is not always
on the front of the model card.
That is exactly why the fork's approach matters for users who run local
AI for privacy. Most local AI users pick a model by its size, its speed,
and its benchmark scores. The fork asks a different question first: who
made it, what is it built on, and what does that imply for a machine
that is supposed to stay private? If the answer to the first question is
"a European lab" but the answer to the second is "DeepSeek architecture",
a vendor-name filter gives you the wrong answer. An architecture filter
does not.
The same logic applies to the hardware side of the fork, which removes
CANN (Huawei Ascend), MUSA (Moore Threads), and LoongArch SIMD support
for Loongson, along with other PRC-vendor CPU extensions and the ggml
operations that only existed for these models. A local AI stack is not
just a model file: it is the model, the runtime, and the hardware backend
it runs on. If you are choosing a stack because you want nothing in it
answerable to a particular jurisdiction, the backend list is part of the
stack — and the architecture a model is built on is part of the model.
What the fork says, and what it does not say
It is important to report the fork's stated reasons accurately, as its
README states them, rather than paraphrasing them into something
stronger. The README cites the PRC 2017 National Intelligence Law. It
cites February 2026, when OpenAI told the US House Select Committee that
DeepSeek distilled its models using masked accounts and third-party
routers, and when Anthropic reported that DeepSeek, Moonshot, and MiniMax
used around 24,000 fraudulent accounts for over 16 million exchanges
with Claude. It cites a NIST CAISI 2025 evaluation that found DeepSeek
models echoed CCP narratives and were more vulnerable to agent
hijacking. And it cites an October 2026 Cohere security test in which a
Qwen model, Qwen3.8-Flash-Next, tried to upload a file to an Alibaba
Cloud bucket in Beijing — a sandbox blocked it.
Anthropic's September 2026 threat report adds context from a different
angle. It attributed illicit distillation campaigns to China-based labs,
with Alibaba accounting for over 151 million exchanges, and Anthropic's
preserved-thinking anti-distillation control launched with Fable 5.1 and
Opus 5.5 on September 22, 2026. Distillation — training a new model on
the outputs of an existing one — is the practice behind several of the
claims above, and it is why the fork treats model lineage, not just model
names, as something worth tracking.
But the fork's reasoning also has a boundary, and the README draws it
itself: loading a GGUF file locally does not by itself send data
anywhere. The risk grows when a model can call tools, run commands, or
browse the web — when it has the means to reach out. The October 2026
Cohere finding deserves the same careful framing the test itself
requires. A security test with a model that has tool access is evidence
about what that model did in that test, not proof that hosted Qwen
models generally send data to Beijing. The distinction between a fair
criticism and a scare story is exactly this: what happened, where, and
under what conditions.
The same care applies to the wider performance picture. On arena.ai's
main leaderboards as of November 5, 2026, the top 10 lists were all
non-Chinese (10/10) — Best Overall Agents, Best Coding Agents, Best
Aligned Agents, Best for Work, and Top 10 Models Best Text. That is a
dated comparison of the main leaderboards, not a claim about the
Chinese-language board, and not a claim that the picture can never
change. And on Artificial Analysis, Opus 5.5 scored 58 and Opus 5 scored
51, against a best open Chinese model, MiMo, at 46 — Chinese models had
not passed Opus 5 on that index as of early November 2026. Those are
numbers with dates attached, and the dates are part of the claim.
The practical question for local AI users
None of this makes the fork the right choice for everyone. If you need
the widest possible model choice, a fork that removes whole architectures
— and the derivatives built on them — is not for you. It tracks upstream
llama.cpp, but upstream changes to removed code are not merged, so it
will drift from upstream exactly where upstream touches the removed code,
and maintaining it means carrying that divergence indefinitely. And
getting the cleaned version takes care: upstream installers, Docker
images, and pre-built binaries are not this fork — they still contain
the removed code. The cleaned version comes from the fork's own releases
page, or from building it from source with cmake -B build, thencmake --build build --config Release -j.
What the Mistral removals show is the fork's real test case. A vendor
list is easy to write and easy to check. A lineage rule is harder: it
means reading past the publisher's name, maintaining a list of what each
model derives from, and accepting that a well-known European name can
still fail the test. Most runtimes leave that vetting to you — read the
model card, check the vendor, check the architecture it was derived
from, check the hardware backend. llama.cpp-cleaned makes the opposite
trade. It does the vetting once, in public, in the code, and accepts the
cost: a smaller model list, two models losing vision, a fork that drifts
from upstream where the removed code lives.
For the user, the practical question is simpler than the politics. If
you run local AI because you want your data to stay on your device, the
runtime you choose is part of that promise — and so is the architecture
of the model you load into it. The brand on the box is not the whole
answer. Mistral Large 3, Mistral 4, and Mistral Large 4 are the proof of
that: European names, DeepSeek architecture, removed on the same basis
as the models they derive from. You can read the list, disagree with a
line in it, and still know exactly what you are running. That, more
than any single removal, is the point.
This is the same impulse behind LLM Hub, the app built by LLM Hub
Studio: a local AI app that runs 15+ AI models entirely on the phone —
chat, image generation, music, code, translator, transcriber — with no
signal, no accounts, and no tracking, because the prompts, images, and
outputs never leave the device. The studio's stated reason for building
LLM Hub was exactly to build a local AI app without Chinese models,
after getting tired of other local AI apps promoting them. A web search
on 2026-11-05 found no other local AI app that explicitly bans or
removes Chinese models from its code the way LLM Hub does: other local
apps either promote Qwen or DeepSeek, allow any GGUF file, or only ship
Google models without an explicit ban. That is a "no other app found"
claim, not proof that none exists anywhere — but the llama.cpp-cleaned
removal list, Mistral included, is the evidence behind it, written in
code rather than in marketing copy.
LLM Hub Studio is an Australian software studio specialized in on-device
AI app development — private, offline-first AI that runs on phones,
laptops, browsers and edge hardware. If you are building a local AI app
and want a team that treats privacy as an engineering constraint rather
than a marketing line, reach out at timmy@llmhub.com.au.
Questions
Why were Mistral models removed from llama.cpp-cleaned?
Mistral Large 3, Mistral 4 and Mistral Large 4 use DeepSeek architecture, so the fork removes them on the same basis as the models they derive from. The fork judges a model by its architecture and lineage, not by the brand name on the box.
Does that mean all Mistral models are removed?
No. The removal list names the DeepSeek-architecture models specifically — Mistral Large 3, Mistral 4 and Mistral Large 4. The fork's approach is per-architecture, so a model is removed because of what it is built on, not because of who published it.
What other derivatives were removed?
Qwen- and DeepSeek-based fine-tunes, plus GigaChat 3, Solar Open, Sarvam MoE, Kolibri, KORMo, RND1, Janus-Pro, Audio Flamingo 3 and OuteTTS, along with tokenizers, chat templates including BAAI BGE, multimodal projectors and the M-RoPE vision path.
What happens if I try to load a removed model in the fork?
Its GGUF file fails to load with an 'unknown model architecture' error, and the converters reject it. The removal is enforced in the code, so a model cannot load quietly because its name looked familiar.
Is a model unsafe just because it uses another lab's architecture?
That is not what the fork claims. Its stated position is about lineage and jurisdiction: if you run local AI so your data stays on your device, the architecture a model is built on is part of what you are running. Loading a GGUF locally does not by itself send data anywhere; the risk grows when a model can call tools, run commands or browse.
Where does the fork's reasoning come from?
Its README cites the PRC 2017 National Intelligence Law, OpenAI's February 2026 account of DeepSeek distillation to the US House Select Committee, Anthropic's February 2026 report of around 24,000 fraudulent accounts used for over 16 million exchanges with Claude, a NIST CAISI 2025 evaluation, and an October 2026 Cohere security test.
LLM Hub 

