LLMs · Baidu
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
On a mobile device
ERNIE 4.5 300B-A47B is too big for a device like yours: it needs more memory than the device has. Models that run on mobile devices.
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-GGUFOriginal 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)
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/ERNIEApps 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.
| App | Type | Opens it as | Systems | Engine | Start |
|---|---|---|---|---|---|
| LM Studio | Desktop app | GGUF or MLX | macOSWindowsLinux | Open in LM Studio | |
| Ollama | CLI + API | GGUF from Hugging Face | macOSWindowsLinux |
|
|
| llama.cpp | CLI + API | GGUF | macOSWindowsLinux |
|
|
| Jan | Desktop app | GGUF or MLX | macOSWindowsLinux | Open in Jan | |
| MLX LM | CLI + API | MLX | macOS |
|
|
| vLLM | Server | Original weights | WSLWindowsLinux |
|
|
| SGLang | Server | Original weights | WSLWindowsLinux |
|
|
| Docker Model Runner | CLI + API | GGUF | macOSWindowsLinux |
|
|
| Lemonade | Desktop app | GGUF | macOSWindowsLinux |
|
|
| Unsloth Desktop | Desktop app | GGUF or MLX | macOSWindowsLinux | Open in Unsloth Desktop | |
| Atomic Chat | Desktop app | GGUF or MLX | macOSWindowsLinux | Open in Atomic Chat | |
| KoboldCpp | Desktop app | GGUF | macOSWindowsLinux | Get KoboldCpp | |
| Text Generation WebUI | Desktop app | GGUF | macOSWindowsLinux | Get Text Generation WebUI | |
| llamafile | CLI + API | GGUF | macOSWindowsLinux | Get llamafile | |
| Msty Studio | Desktop app | GGUF or MLX | macOSWindowsLinux | Open in Msty Studio | |
| Llama (macOS) | Desktop app | GGUF | macOS | Open in Llama (macOS) | |
| RecurseChat | Desktop app | GGUF | macOS | Open in RecurseChat | |
| Inferencer | Desktop app | MLX | macOS | Get Inferencer | |
| node-llama-cpp | Library | GGUF | macOSWindowsLinux | Get node-llama-cpp | |
| exo | Server | MLX | macOSLinux | Get exo | |
| PocketPal AI | Mobile app | GGUF | iOSAndroid | App Store Google Play | |
| ChatterUI | Mobile app | GGUF | Android | Download the APK | |
| LLM Farm | Mobile app | GGUF | iOS |
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 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 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 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 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 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. | NVIDIA 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 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 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 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 M5 Ultra (256 GB) |
Q3_K_M | 165 GB / 192 GB | 31.3 tok/s | Runs welltight fit |
Run it on a cluster
Devices that can’t run ERNIE 4.5 300B-A47B alone can run it together. These example clusters do:
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.







