Skip to content
llmmodels
Chat LLMOpen weights

ERNIE-4.5-21B-A3B-Thinking

by Baidu · Sep 8, 2025

ERNIE-4.5-21B-A3B-Thinking is an open-weight chat llm from Baidu, released Sep 8, 2025. It has 22B total parameters (3B active per token, mixture-of-experts).

Provider
Baidu
Released
Sep 8, 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)
111.5K

How to run ERNIE-4.5-21B-A3B-Thinking

ERNIE-4.5-21B-A3B-Thinking is an open-weight model published on Hugging Face as baidu/ERNIE-4.5-21B-A3B-Thinking. 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-Thinking vs alternatives

Alternatives to ERNIE-4.5-21B-A3B-Thinking
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
DeepSeek V3 0324openDeepSeekMar 2025—160K$0.2$0.8—
Qwen3 Coder PlusopenAlibaba (Qwen)Jul 2025—1M$1$5—
Devstral 2 (latest)openMistral AIDec 2025—256K$0.4$2—
Voxtral Small (latest)openMistral AIJul 2025—32K$0.1$0.4—
Meta Llama Prompt Guard 2 22MopenMetaApr 2025—512$0.01$0.01—
Meta Llama Prompt Guard 2 86MopenMetaApr 2025—512$0.01$0.01—
Command AopenCohereMar 2025—250K$2.50$10—
granitelib-core-r1.0openIBMDec 2025—————

More models from Baidu

All Baidu models →
ModelReleasedParamsContextInput $/1MOutput $/1M
Unlimited-OCRopenJun 20263.3B———
Unlimited-OCR-2openOct 20263.3B———
Qianfan-OCRopenMar 20264.7B———
ERNIE-5.5-Flash-BaseopenOct 2026286B———
ERNIE-4.5-21B-A3B-PTopenJun 202522B (3B act.)———
ERNIE-5.5-Flash-Base-BF16openOct 2026286B———
ERNIE 4.5 300B A47BopenJun 2025300B (47B act.)123K$0.28$1.10
ERNIE-4.5-VL-28B-A3B-PTopenJun 202529B (3B act.)———

Frequently asked questions

Who made ERNIE-4.5-21B-A3B-Thinking?

ERNIE-4.5-21B-A3B-Thinking was developed by Baidu (China). It was released on Sep 8, 2025.

Is ERNIE-4.5-21B-A3B-Thinking open source?

Yes. ERNIE-4.5-21B-A3B-Thinking's weights are publicly available under the apache-2.0 license on Hugging Face (baidu/ERNIE-4.5-21B-A3B-Thinking), so you can download and run it yourself.

How many parameters does ERNIE-4.5-21B-A3B-Thinking have?

ERNIE-4.5-21B-A3B-Thinking has 22B parameters, of which 3B are active per token.

Sources: huggingface · huggingface. Last updated 2026-11-22.