LLMs ·

ERNIE 4.5 300B-A47B

Parameters
300B (47.0B active)
Architecture
Mixture of experts
Max context
128K tokens
License
apache-2.0
Released
2025-06

How to run it

Quantized files · GGUF

Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.

huggingface.co/unsloth/ERNIE-4.5-300B-A47B-PT-GGUF (opens in a new tab)

ollama run hf.co/unsloth/ERNIE-4.5-300B-A47B-PT-GGUF

Original weights · Hugging Face

Full-precision files from Baidu, for fine-tuning, vLLM, Transformers.

huggingface.co/baidu/ERNIE-4.5-300B-A47B-PT (opens in a new tab)

No sign-in needed.

Official repo · GitHub

Reference code, inference scripts and docs from Baidu. The weights themselves download from Hugging Face.

github.com/PaddlePaddle/ERNIE (opens in a new tab)

git clone https://github.com/PaddlePaddle/ERNIE

Apps that run ERNIE 4.5 300B-A47B

Our pick for each kind of computer, assuming the model fits in its memory. Pick your own GPU or device in the Model Finder for an exact answer.

Mac (Apple silicon)

LM Studio

Runs the MLX build, typically up to 10% faster than GGUF for a model with 47B active parameters on Apple silicon.

Also good:

Windows PC, NVIDIA GPU

LM Studio

Point-and-click: search, download and chat in one window.

Also good:

Windows PC, AMD Radeon

Lemonade

AMD’s own app: llama.cpp tuned for Radeon on Vulkan and ROCm.

Also good:

Linux, NVIDIA GPU

LM Studio

Point-and-click: search, download and chat in one window.

Also good:

Linux server, 80 GB+ GPUs

vLLM

The full model fits in GPU memory at 8-bit, so it can batch many requests: best for serving a team or an app.

Also good:

App Type Opens it as Systems Engine Start
LM Studio Desktop app GGUF or MLX macOSWindowsLinux llama.cpp, MLX Open in LM Studio
Ollama CLI + API GGUF from Hugging Face macOSWindowsLinux llama.cpp, MLX
ollama run hf.co/unsloth/ERNIE-4.5-300B-A47B-PT-GGUF:Q4_K_M
llama.cpp CLI + API GGUF macOSWindowsLinux llama.cpp
llama-server -hf unsloth/ERNIE-4.5-300B-A47B-PT-GGUF:Q4_K_M
Jan Desktop app GGUF or MLX macOSWindowsLinux llama.cpp, MLX Open in Jan
MLX LM CLI + API MLX macOS MLX
mlx_lm.chat --model mlx-community/ERNIE-4.5-300B-A47B-PT-4bit
vLLM Server Original weights WSLWindowsLinux vLLM
vllm serve baidu/ERNIE-4.5-300B-A47B-PT
SGLang Server Original weights WSLWindowsLinux SGLang
python3 -m sglang.launch_server --model-path baidu/ERNIE-4.5-300B-A47B-PT
Docker Model Runner CLI + API GGUF macOSWindowsLinux llama.cpp, vLLM
docker model run hf.co/unsloth/ERNIE-4.5-300B-A47B-PT-GGUF:Q4_K_M
Lemonade Desktop app GGUF macOSWindowsLinux llama.cpp, ONNX Runtime GenAI
lemonade pull unsloth/ERNIE-4.5-300B-A47B-PT-GGUF:Q4_K_M
Unsloth Desktop Desktop app GGUF or MLX macOSWindowsLinux llama.cpp, MLX, stable-diffusion.cpp Open in Unsloth Desktop
Atomic Chat Desktop app GGUF or MLX macOSWindowsLinux llama.cpp, MLX-VLM Open in Atomic Chat
KoboldCpp Desktop app GGUF macOSWindowsLinux llama.cpp Get KoboldCpp
Text Generation WebUI Desktop app GGUF macOSWindowsLinux llama.cpp, Transformers, ExLlamaV3 Get Text Generation WebUI
llamafile CLI + API GGUF macOSWindowsLinux llama.cpp Get llamafile
Msty Studio Desktop app GGUF or MLX macOSWindowsLinux Ollama, llama.cpp, MLX Open in Msty Studio
Llama (macOS) Desktop app GGUF macOS llama.cpp Open in Llama (macOS)
RecurseChat Desktop app GGUF macOS llama.cpp Open in RecurseChat
Inferencer Desktop app MLX macOS MLX Get Inferencer
node-llama-cpp Library GGUF macOSWindowsLinux llama.cpp Get node-llama-cpp
exo Server MLX macOSLinux MLX Get exo
PocketPal AI Mobile app GGUF iOSAndroid llama.cpp App Store Google Play
ChatterUI Mobile app GGUF Android llama.cpp Download the APK
LLM Farm Mobile app GGUF iOS llama.cpp Not on the App Store or TestFlight for now (checked 2026-11-09).

Which apps can open a model depends on the files published for it: GGUF for llama.cpp-based apps, MLX for Apple’s engine, the original weights for vLLM and SGLang. Compare every app.

Memory needed

Weights plus KV cache and runtime overhead. Leave a little extra free for the operating system and other apps. Try another context length.

Quantization Quality Weights Total at 8K context Total at 32K context Download
Q2_K Low 120 GB 123 GB 128 GB GGUF · folder (opens in a new tab)
Q3_K_M Low 147 GB 150 GB 155 GB GGUF · folder (opens in a new tab)
Q4_K_M Good 183 GB 186 GB 191 GB GGUF · folder (opens in a new tab)
Q5_K_M High 213 GB 216 GB 221 GB GGUF · folder (opens in a new tab)
Q6_K High 246 GB 249 GB 254 GB GGUF · folder (opens in a new tab)
Q8_0 Very high 318 GB 321 GB 326 GB GGUF · folder (opens in a new tab)
F16 Full 601 GB 603 GB 609 GB GGUF · folder (opens in a new tab) Original weights (opens in a new tab)

Best hardware for ERNIE 4.5 300B-A47B

Quality Hardware Quant Memory Speed Runs
76Great quality (A) · 76 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 82/100 (quality, fit, speed and memory use) sets the ranking. Apple Mac Studio (2025) (M4 Max or M3 Ultra)Apple M3 Ultra (512 GB) Q4_K_M 216 GB / 384 GB 17.3 tok/s Runs well
67Good quality (B) · 67 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 80/100 (quality, fit, speed and memory use) sets the ranking. Apple Mac Studio (2025) (M4 Max or M3 Ultra)Apple M3 Ultra (256 GB) Q3_K_M 165 GB / 192 GB 22.1 tok/s Runs welltight fit
56Good quality (B) · 56 of 100: how capable the model is at Q2_K, whatever it runs on. Match score 76/100 (quality, fit, speed and memory use) sets the ranking. Apple Mac Studio (2023) (M2 Max or M2 Ultra)Apple M2 Ultra (192 GB) Q2_K 134 GB / 144 GB 27.1 tok/s Runs welltight fit
77Great quality (A) · 77 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 89/100 (quality, fit, speed and memory use) sets the ranking. AMD Instinct MI350XAMD Instinct MI350X Q5_K_M 230 GB / 288 GB 97.8 tok/s Runs great
76Great quality (A) · 76 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 89/100 (quality, fit, speed and memory use) sets the ranking. AMD Instinct MI325XAMD Instinct MI325X Q4_K_M 198 GB / 256 GB 92.8 tok/s Runs great
76Great quality (A) · 76 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 89/100 (quality, fit, speed and memory use) sets the ranking. Dell Pro Max with GB300NVIDIA GB300 Grace Blackwell Ultra Desktop Superchip Q4_K_M 198 GB / 252 GB 114 tok/s Runs great
67Good quality (B) · 67 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 85/100 (quality, fit, speed and memory use) sets the ranking. AMD Instinct MI300XAMD Instinct MI300X Q3_K_M 159 GB / 192 GB 103 tok/s Runs great
67Good quality (B) · 67 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 84/100 (quality, fit, speed and memory use) sets the ranking. NVIDIA B200NVIDIA B200 Q3_K_M 159 GB / 180 GB 144 tok/s Runs welltight fit
76Great quality (A) · 76 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 84/100 (quality, fit, speed and memory use) sets the ranking. Apple Mac Studio (M5 Max or M5 Ultra)Apple M5 Ultra (512 GB) Q4_K_M 216 GB / 384 GB 24.7 tok/s Runs well
67Good quality (B) · 67 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 82/100 (quality, fit, speed and memory use) sets the ranking. Apple Mac Studio (M5 Max or M5 Ultra)Apple M5 Ultra (256 GB) Q3_K_M 165 GB / 192 GB 31.3 tok/s Runs welltight fit

Check it on your own hardware

Run it on a cluster

Devices that can’t run ERNIE 4.5 300B-A47B alone can run it together. These example clusters do:

Try it with your own devices

Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.

Was this page helpful?