ERNIE-4.5-300B-A47B-PT
ERNIE-4.5-300B-A47B-PT is an open-weight language model from Baidu ERNIE with 300B parameters (mixture of experts). At 4-bit it needs about 200.3 GB of memory, so the smallest device in our directory that fits it is the Rubin, which is announced but not shipping yet.
Overview
Includes room for an 8k context and runtime overhead. More context needs more memory.
Key information
- Lab
- Baidu ERNIE
- Released
- 28 Jun 2025
- Parameters
- 300B · MoE
- Type
- Language
- Context
- 131,072 tokens
- License
- Apache-2.0
- HF downloads, 30 days
- 3,350
- Repository
- baidu/ERNIE-4.5-300B-A47B-PT
More from Baidu ERNIE
View allWill it run on your hardware?
How we estimate| Estimate or device | Memory |
|---|---|
| Q4 | 200.3 GB |
| Q8 | 352.3 GB |
| BF16 | 663 GB |
| RTX 5060 Ti 16 GB | 16 GB usable |
| RTX 5090 32 GB | 32 GB usable |
| DGX Spark 128 GB | 108.8 GB usable |
| Mac Studio M5 Ultra 256 GB | 192 GB usable |
Single-device memory estimate. Pick a device to update the On your device column.
36 GB usable memory
| Format | Memory needed | On your device | Example hardware |
|---|---|---|---|
| 4-bit (Q4) | ≈ 200.3 GB | Too big 556% | RubinAnnounced288 GB memory |
| 8-bit (Q8) | ≈ 352.3 GB | Too big 979% | No single device in our directory has enough memory |
| 16-bit (BF16) | ≈ 663 GB | Too big 1842% | No single device in our directory has enough memory |
Fits means the estimate stays within 90% of usable memory. Tight is above 90% and up to 100%. Too big is above 100%. These are memory checks, not speed or compatibility tests.
Mac allowances are 66% of total RAM up to 36 GB, and 75% above. AI boxes allow 85% because their memory is shared with the operating system.
Where to run it
On a Mac
Start with the MLX files, built for Apple Silicon.
mlx-community/ERNIE-4.5-300B-A47B-PT-4bitCheck your MacWith GGUF
Choose a file for llama.cpp or a compatible app.
unsloth/ERNIE-4.5-300B-A47B-PT-GGUFFind compatible hardwareThrough an API
No hosted API found.
mlx_lm.generate --model mlx-community/ERNIE-4.5-300B-A47B-PT-4bit \
--prompt "Explain how a transformer works."llama-cli -hf unsloth/ERNIE-4.5-300B-A47B-PT-GGUF \
-c 8192 -p "Explain how a transformer works."Example commands built from the repository ids above. They need a working install of MLX or llama.cpp. We have not run them; check each repository for available files.
More about this model
Frequently asked questions
How much memory does ERNIE-4.5-300B-A47B-PT need? At an 8k context, about 200.3 GB at 4-bit, 352.3 GB at 8-bit and 663 GB at 16-bit (BF16). A longer context needs more.
Can I run ERNIE-4.5-300B-A47B-PT on a Mac? No current Mac fits the 4-bit estimate of 200.3 GB. The smallest Mac in our directory that does is the Mac Studio M3 Ultra (512GB), which is discontinued. An MLX build is available: mlx-community/ERNIE-4.5-300B-A47B-PT-4bit.
Does the full context fit? ERNIE-4.5-300B-A47B-PT supports up to 131,072 tokens of context. Our memory estimates use 8k, so long prompts need more memory than shown.
What does it cost through an API? We did not find a hosted API for this model.
License in plain English
Apache-2.0. This license permits commercial use, modification and redistribution, with conditions such as keeping the required notices. This summary is not legal advice.
OMHQ RigBench
Not yet tested. We show no speed or quality score without a measurement.
Revision history and sources
Last updated . Sources:Hugging Face model card, MLX repository, GGUF repository.