ERNIE-4.5-21B-A3B-PT
by Baidu · Jun 28, 2025
ERNIE-4.5-21B-A3B-PT is an open-weight chat llm from Baidu, released Jun 28, 2025. It has 22B total parameters (3B active per token, mixture-of-experts).
- Provider
- Baidu
- Released
- Jun 28, 2025
- Type
- Chat LLM
- Parameters
- 22B total · 3B active
- Context window
- —
- Max output
- —
- Input
- text
- Output
- text
- Weights
- Open weights
- License
- apache-2.0
- Knowledge cutoff
- —
- Status
- Open weights
- HF downloads (30d)
- 17.9K
How to run ERNIE-4.5-21B-A3B-PT
ERNIE-4.5-21B-A3B-PT is an open-weight model published on Hugging Face as baidu/ERNIE-4.5-21B-A3B-PT. Run it locally with Ollama, LM Studio or llama.cpp (quantized GGUF builds), or serve it on GPUs with vLLM, SGLang or Hugging Face TGI. At 22B parameters it needs roughly 13 GB of memory at 4-bit quantization.
ERNIE-4.5-21B-A3B-PT vs alternatives
- ERNIE-4.5-21B-A3B-PT vs DeepSeek V3 0324
- ERNIE-4.5-21B-A3B-PT vs Qwen3 Coder Plus
- ERNIE-4.5-21B-A3B-PT vs Devstral 2 (latest)
- ERNIE-4.5-21B-A3B-PT vs Voxtral Small (latest)
- ERNIE-4.5-21B-A3B-PT vs Meta Llama Prompt Guard 2 22M
- ERNIE-4.5-21B-A3B-PT vs Meta Llama Prompt Guard 2 86M
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| DeepSeek V3 0324open | DeepSeek | Mar 2025 | — | 160K | $0.2 | $0.8 | — |
| Qwen3 Coder Plusopen | Alibaba (Qwen) | Jul 2025 | — | 1M | $1 | $5 | — |
| Devstral 2 (latest)open | Mistral AI | Dec 2025 | — | 256K | $0.4 | $2 | — |
| Voxtral Small (latest)open | Mistral AI | Jul 2025 | — | 32K | $0.1 | $0.4 | — |
| Meta Llama Prompt Guard 2 22Mopen | Meta | Apr 2025 | — | 512 | $0.01 | $0.01 | — |
| Meta Llama Prompt Guard 2 86Mopen | Meta | Apr 2025 | — | 512 | $0.01 | $0.01 | — |
| Command Aopen | Cohere | Mar 2025 | — | 250K | $2.50 | $10 | — |
| granitelib-core-r1.0open | IBM | Dec 2025 | — | — | — | — | — |
More models from Baidu
All Baidu models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| Unlimited-OCRopen | Jun 2026 | 3.3B | — | — | — |
| Unlimited-OCR-2open | Oct 2026 | 3.3B | — | — | — |
| ERNIE-4.5-21B-A3B-Thinkingopen | Sep 2025 | 22B (3B act.) | — | — | — |
| Qianfan-OCRopen | Mar 2026 | 4.7B | — | — | — |
| ERNIE-5.5-Flash-Baseopen | Oct 2026 | 286B | — | — | — |
| ERNIE-5.5-Flash-Base-BF16open | Oct 2026 | 286B | — | — | — |
| ERNIE 4.5 300B A47Bopen | Jun 2025 | 300B (47B act.) | 123K | $0.28 | $1.10 |
| ERNIE-4.5-VL-28B-A3B-PTopen | Jun 2025 | 29B (3B act.) | — | — | — |
Frequently asked questions
Who made ERNIE-4.5-21B-A3B-PT?
ERNIE-4.5-21B-A3B-PT was developed by Baidu (China). It was released on Jun 28, 2025.
Is ERNIE-4.5-21B-A3B-PT open source?
Yes. ERNIE-4.5-21B-A3B-PT's weights are publicly available under the apache-2.0 license on Hugging Face (baidu/ERNIE-4.5-21B-A3B-PT), so you can download and run it yourself.
How many parameters does ERNIE-4.5-21B-A3B-PT have?
ERNIE-4.5-21B-A3B-PT has 22B parameters, of which 3B are active per token.
Sources: huggingface · huggingface. Last updated 2026-11-22.