Topics / #mixture-of-experts
Mixture-of-experts projects on GitHub
Model architecture routing inputs to specialized expert subnetworks.
As of , the most-starred Mixture-of-experts projects on GitHub are DeepSeek-V3 (104.9K stars), vllm (97.8K stars) and colibri (54.5K stars). GitHub.Locker tracks 54 Mixture-of-experts repositories with 649.9K stars combined. The fastest-growing on December 2 was DeepInfer, with +351 stars in a day.
Hot right now
Most stars gained in a day · Dec 2
+351DeepInfer
deepseek-ai/DeepInfer · ★ 26.4KDeepInfer is the open-source release of the high-performance inference framework that DeepSeek uses to run its own large-scale production inference, currently supporting the DeepSeek-V4.1-Flash model.
Strata
Niko1221/Strata · ★ 50.2KStrata runs Qwen3.8-Flash-Next, a 125-billion-parameter AI model, on a normal gaming PC with one NVIDIA GPU (12-24GB VRAM) and 64GB of RAM, with a one-click installer for Windows and Linux.
colibri
JustVugg/colibri · ★ 54.5KColibri is an open-source engine for running frontier mixture-of-experts (MoE) language models on hardware you already own — written in pure C with zero dependencies.
+85vllm
vllm-project/vllm · ★ 97.8KvLLM is a library for fast LLM inference and serving, built around PagedAttention for efficient memory management of attention keys and values.
The all-time top
54 projects · by stars
- 104.9K
#1 · deepseek-ai/DeepSeek-V3
DeepSeek-V3
DeepSeek-V3 is an open-weight Mixture-of-Experts (MoE) language model with 671B total parameters but only 37B activated per token, built for efficient yet high-performing inference and matching leading closed-source models on many benchmarks.
- 97.8K
#2 · vllm-project/vllmvllm
vLLM is a library for fast LLM inference and serving, built around PagedAttention for efficient memory management of attention keys and values.
- 54.5K
#3 · JustVugg/colibri
colibri
Colibri is an open-source engine for running frontier mixture-of-experts (MoE) language models on hardware you already own — written in pure C with zero dependencies.
- 4

grok-1
52.3Kxai-org/grok-1 · PythonGrok-1 is the 314B-parameter Mixture-of-Experts language model that xAI opened up; this repository holds the JAX example code for loading and running it.
- 5
Strata
50.2KNiko1221/Strata · C++Strata runs Qwen3.8-Flash-Next, a 125-billion-parameter AI model, on a normal gaming PC with one NVIDIA GPU (12-24GB VRAM) and 64GB of RAM, with a one-click installer for Windows and Linux.
- 6
DeepSpeed
43.4Kdeepspeedai/DeepSpeed · PythonDeepSpeed is a deep learning optimization library that makes distributed training and inference of very large models easy, efficient and effective — it powered models like MT-530B and BLOOM.
- 7

Qwen3
27.7KQwenLM/Qwen3 · PythonQwen3 is a series of open-weight large language models built by the Qwen team at Alibaba Cloud, released as both dense and Mixture-of-Experts (MoE) models from 0.6B up to 235B-A22B parameters, with switchable 'thinking' and 'non-thinking' reasoning modes.
- 8

DeepInfer
26.4Kdeepseek-ai/DeepInfer · PythonDeepInfer is the open-source release of the high-performance inference framework that DeepSeek uses to run its own large-scale production inference, currently supporting the DeepSeek-V4.1-Flash model.
- 9
ktransformers
19.7Kkvcache-ai/ktransformers · PythonKTransformers is a research framework for efficient inference and fine-tuning of large language models through CPU-GPU heterogeneous computing, letting huge MoE models run on hardware that doesn't have enough VRAM to hold them entirely on GPU.
- 10

llm_interview_note
15.4Kwdndev/llm_interview_note · HTMLThis is a curated Chinese-language knowledge base of large language model (LLM) concepts and interview questions, aimed at algorithm/application engineers preparing for LLM-related job interviews.
- 11

OpenMythos
14.9Kkyegomez/OpenMythos · PythonOpenMythos is an open-source, speculative PyTorch implementation that tries to reconstruct the internal architecture of Anthropic's Claude ('Mythos') purely from publicly available research papers, not from any leaked or official Anthropic code.
- 12
PaddleFormers
13KPaddlePaddle/PaddleFormers · PythonPaddleFormers is a Transformers-style library built on Baidu's PaddlePaddle deep learning framework, giving the PaddlePaddle ecosystem the same kind of model interface and training workflow as Hugging Face Transformers, with full training support for 100+ LLMs and vision-language models.
- 13

kimi-k3-in-c
12.7KFareedKhan-dev/kimi-k3-in-c · CAn inference engine for the 2.78-trillion-parameter Kimi K3 model, written in portable C99. It runs on a plain CPU in as little as 8 GB of RAM — no GPU, no BLAS, no framework — streaming the 1.56 TB checkpoint straight off disk.
- 14

Kimi-K2
11.1KMoonshotAI/Kimi-K2Kimi K2 is a large language model series from Moonshot AI: a mixture-of-experts model with 1 trillion total parameters (32B activated per token), trained for frontier knowledge, reasoning, coding and especially agentic tool-use tasks.
- 15

DeepEP
10.5Kdeepseek-ai/DeepEP · CudaDeepEP is a high-performance communication library for MoE (mixture-of-experts) models, providing fast all-to-all GPU kernels for expert-parallel dispatch and combine operations used in ML training and inference.
- 16

DeepGEMM
9.2Kdeepseek-ai/DeepGEMM · CudaDeepGEMM is a unified CUDA kernel library that provides high-performance tensor core GEMM operations (FP8, FP4, BF16), fused MoE kernels, and attention-indexer kernels used in large language models such as DeepSeek.
- 17

Kimi-K3
9.1KMoonshotAI/Kimi-K3Kimi K3 is MoonshotAI's open-weight, native multimodal agentic model — a 2.8T-parameter Mixture-of-Experts system built for frontier-level long-horizon coding, agentic knowledge work, and reasoning.
- 18
ai-infra-book
8.6Kbojieli/ai-infra-book · PythonAn open-source book, 'Understanding AI Infra: Quantitative Analysis and System Design' by Bojie Li, that derives LLM inference and training system designs from hardware constraints and model architecture using quantitative, order-of-magnitude estimates.
- 19
GLM-5
7.5Kzai-org/GLM-5GLM-5 is a family of large open-weight language models from Z.ai built for agentic engineering and complex, long-horizon coding tasks, scaling up to 744B parameters with sparse attention for efficient long-context serving.
- 20

turbo-fieldfare
7.5Kdrumih/turbo-fieldfare · SwiftTurboFieldfare is a custom Swift and Metal runtime that runs the instruction-tuned Gemma 4 26B-A4B model on Apple Silicon Macs using only about 2 GB of RAM, even on 8 GB machines, by streaming only the experts needed for each token from SSD instead of loading the full 14.3 GB model.
- 21

tiny-llm
5.8Kskyzh/tiny-llm · Pythontiny-llm is a hands-on course that teaches systems engineers how LLM inference works end to end by having them build a small Qwen3 model and a mini vLLM-style serving stack on Apple Silicon using MLX.
- 22
Engram
4.8Kdeepseek-ai/Engram · PythonThis is the official code release for the DeepSeek paper 'Conditional Memory via Scalable Lookup', introducing Engram, a module that gives Transformers a native knowledge-lookup primitive by modernizing classic N-gram embeddings for O(1) retrieval, as a complement to Mixture-of-Experts sparsity.
- 23

Qwen3.8
4.5KQwenLM/Qwen3.8Qwen3.8 is the latest open large language model release from Alibaba's Qwen team, part of the Qwen3.5 series that also includes Qwen3.5 and Qwen3.6, aimed at coding, professional work, research, and long-horizon agentic tasks.
- 24

how-to-train-your-gpt
4.2Kraiyanyahya/how-to-train-your-gpt · Jupyter NotebookA 12-chapter, 7,500+ line interactive textbook that teaches you how to build, train and run a modern GPT-style language model completely from scratch, with every line of code commented and explained in plain English.
- 25

mesh-llm
4.2KMesh-LLM/mesh-llm · RustMesh LLM pools GPU and memory capacity across multiple machines and exposes the combined cluster as a single OpenAI-compatible API, so a model can run locally, route to a peer, or split across several boxes if it is too large for one.
- 26

project-maya
3Kmw00/project-maya · C++Project Maya lets you run GLM-5.3-Flash, a 321-billion-parameter mixture-of-experts AI model, on your own NVIDIA GPU(s) by streaming the model's experts across VRAM, RAM and NVMe SSD as the conversation needs them.
- 27

diy-llm
3Kdatawhalechina/diy-llm · Jupyter NotebookDiy-LLM is a Chinese-language adaptation of Stanford's CS336 course that teaches you to build a large language model from scratch, covering pre-training data, tokenizers, Transformers, MoE, distributed training, scaling laws, inference and alignment through 6 progressive coding assignments.
- 28

warp
2.6Ksqliteai/warp · PythonWARP (Weight-Aware Runtime and Paging, formerly WASTE) is a dependency-free, embeddable C inference engine that runs huge mixture-of-experts models on consumer hardware by streaming each token's activated weights straight from NVMe — the full models, not distilled versions.
- 29

Hy-MT2
1.8KTencent-Hunyuan/Hy-MT2 · PythonHy-MT2 is Tencent Hunyuan's family of 'fast-thinking' multilingual translation models, released in three sizes (1.8B, 7B, and 30B-A3B MoE), that translate among 33 languages and follow complex translation instructions.
- 30

StartLux-Decision
1.8KStartLuxLabs/StartLux-Decision · PythonStartLux-Decision is a family of typed decision models (five dense sizes from 0.8B to 27B plus a 35B-A3B mixture-of-experts) that answer a question with a probability for each option instead of generating text.
- 31
trnrt
1.6KRunanywhereAI/trnrt · PythonAn open inference engine for large language models on AWS Trainium. It serves an OpenAI-compatible API from one trn2.48xlarge box, with GLM-5.3-Flash as the first supported model.
- 32

halogen-flash-server
1.4Kpeonist-ai/halogen-flash-server · Shellhalogen-flash-server is a purpose-built inference server for running the Qwen3.8-Flash-Next model as fast as possible on AMD's Strix Halo (gfx1151) GPU, exposing an OpenAI-compatible API.
- 33

mini-AGI
1.3Kvolotat/mini-AGI · Pythonmini-AGI is a continual learning, byte-level language model that assembles its own architecture, trains from scratch on a single 8GB VRAM GPU, and keeps learning from everything it reads, without a separate fine-tuning phase.
- 34

inferssd
1.2Kwici-ai/inferssd · C++InferSSD runs large mixture-of-experts language models that are bigger than your RAM or VRAM by streaming the experts from SSD. It is built on llama.cpp and uses standard GGUF files.
- 35

decider
1.1KMapika/decider · PythonDecider is a family of language models fine-tuned from Qwen3.5 that don't generate text; instead they read a state plus a set of typed questions and return calibrated probability distributions for every question in one forward pass.
- 36
BigMoeOnEdge
1KHelldez/BigMoeOnEdge · C++BigMoeOnEdge is an adaptive streaming engine that runs Mixture-of-Experts (MoE) LLMs several times bigger than your device's RAM, by keeping in memory only what each token needs and streaming the rest from storage. Output is identical to running the model fully in RAM, and it serves everything through a local OpenAI-compatible API built on llama.cpp.
- 37

openTPU
991FeSens/openTPU · VerilogopenTPU is an open-source AI accelerator whose hardware design, instruction set, simulator, compiler and profiler were all built by AI agents, and it runs real LLMs like Qwen3 and LFM2.5 on an FPGA PCIe card.
- 38

ai-system-design
898amitshekhariitbhu/ai-system-design · MarkdownA free, open-source guide that teaches AI System Design step by step: how to combine GPUs, inference servers, caches, vector databases, AI agents, guardrails, and evals into one system that is fast, cheap, reliable, and safe.
- 39

deltafin
860gavamedia/deltafin · RustDeltafin is a native Rust binary that runs the full, unpruned 2.8-trillion-parameter Kimi K3 model on a single consumer machine, keeping all 16 experts active, plus an OpenAI-compatible API server for local chat and coding agents.
- 40

llm-architecture-from-scratch
856YeonwooSung/llm-architecture-from-scratch · PythonA collection of PyTorch implementations of modern LLM architectures (GPT-2, Llama 3/3.2, Llama 4, OLMo 2, Phi-4, DeepSeek v3, Gemma 3, xLSTM, Mistral 3.1) built from scratch to understand how they work internally.
- 41

kaggle-tpu-lab
810ARahim3/kaggle-tpu-lab · PythonA recipe that serves frontier-class open LLMs — GLM-5.3-Flash 320B MoE and Qwen3.8-27B bf16 — on Kaggle's free TPU v5e-8, exposing a public OpenAI-compatible (and Anthropic-compatible) endpoint you can plug into coding agents like Claude Code, Codex, opencode, or pi.
- 42

janas
734prabanta-dev/janas · CJanas-LLM is a C-based inference engine that runs large mixture-of-experts LLMs (even ones bigger than your RAM) on ordinary laptops, by streaming the experts each token needs from an NVMe SSD and caching the hot ones in memory.
- 43
slotstream
673carloslfu/slotstream · SwiftSlotstream lets you run a 105 GB AI model (Qwen3.8-Flash-Next, a 125B-parameter mixture-of-experts model) on Macs with only 16 to 64 GB of RAM, by streaming most of the model from SSD and caching the busiest experts in memory.
- 44

DeepGEMM-Ascend
642deepseek-ai/DeepGEMM-Ascend · C++DeepGEMM-Ascend is a port of DeepSeek's DeepGEMM matrix-multiplication kernel library to Huawei Ascend NPUs, fully API-compatible with the original and supporting BF16, FP8, and FP4 GEMM along with MQA logits and MegaMoE operators.
- 45

llm-inference-engineering
515amitshekhariitbhu/llm-inference-engineering · MarkdownA free, continuously growing blog series that teaches LLM inference engineering step by step, covering KV cache, PagedAttention, continuous batching, speculative decoding, and serving engines like vLLM, SGLang, TensorRT-LLM, and GGUF.
- 46
LongCat-Next
496meituan-longcat/LongCat-Next · PythonLongCat-Next is a native multimodal foundation model from Meituan that processes text, vision, and audio under a single autoregressive objective using discrete tokens, built on the LongCat-Flash-Lite MoE backbone (A3B).
- 47

Qwen3.8-Flash-Next
481QwenLM/Qwen3.8-Flash-NextQwen3.8-Flash-Next is an open-weight multimodal Mixture-of-Experts foundation model from Alibaba's Qwen Team, also serving as an early preview of the architecture Alibaba plans to use for the upcoming Qwen4 model family.
- 48

Hy4-preview
446Tencent-Hunyuan/Hy4-preview · PythonHy4 preview is Tencent Hunyuan's newest open-source large language model, a 770B-parameter Mixture-of-Experts model (49B active per token) built for coding, office/data analysis, game development, and scientific research tasks.
- 49

OpenArch
428anuj0456/OpenArch · PythonA set of hand-written PyTorch implementations of modern open-source LLM architectures (Llama, Qwen, DeepSeek, Gemma, GPT-OSS, Kimi and more), written from scratch for readability and learning.
- 50

Meshy
394OpenBMB/Meshy · PythonMeshy is an open-source framework for running reinforcement learning (RL) training jobs where every role (inference, training, rollout) runs as an independent service, communicating through a shared TransferQueue data plane. It is built on SGLang and torchtitan.
- 51

video-prediction-policy-2
380roboterax/video-prediction-policy-2 · PythonVideo Prediction Policy 2 (VPP2) is a world-action model (WAM) for robot manipulation that predicts future video frames and converts them into robot actions, with strong zero-shot generalization across tasks.
- 52

DeepEP-Ascend
297deepseek-ai/DeepEP-Ascend · C++DeepEP-Ascend is a high-performance communication library for machine learning training and inference on Huawei Ascend NPUs, providing expert-parallel all-to-all operations for MoE dispatch and combine.
- 53
GLM-5.3-Flash-NVFP4-DFlash2-2x-DGX-Spark
245tonyd2wild/GLM-5.3-Flash-NVFP4-DFlash2-2x-DGX-Spark · PythonA deployment recipe and set of patched Docker images for serving GLM-5.3-Flash (320B total / 18B active MoE) as an OpenAI-compatible API across two NVIDIA DGX Spark nodes, using vLLM tensor-parallel 2, NVFP4 quantization, and DFlash2 speculative decoding.
- 54
Iris
105AllSpark-Research/Iris · PythonIris is a pair of open-weight search agent models (Iris-mini, 35B-A3B, and Iris-pro, 397B-A17B) post-trained from the Qwen3.5/3.6 series to decide what to search, how to read results, when to keep searching, and when enough evidence has been gathered.
Related topics
Often tagged together
- llm1,585
- inference313
- python2,381
- large-language-models209
- deep-learning581
- gpu797
- machine-learning766
- quantization191
- linux4,248
- moe59
- open-source5,454
- apache-2.01,438
- llm-inference128
- ai2,002
- cuda382
- transformer185
- huggingface349
- benchmark463
- research690
- pytorch347
- inference-engine58
- local-llm245
- nvidia342
- openai-compatible246