ERNIE-4.5-21B-A3B-Thinking

Language Baidu Partly verified Released Sep 19, 2025
  • In Input modalities: Text
  • Reasoning
  • Tool use
  • Open weights

Prices

0 offerings · prices as listed

No priced offering is listed for this model yet.

Details

Max input
96K
Licence
Apache License 2.0
Family
ernie-thinking

Not stated on Baidu’s pages: output modalities, reasoning efforts, reasoning can be off, max thinking budget, structured output, built-in tools, knowledge cutoff, aliases.

  • Parameters 21.8B
  • Active 3B · 64 experts
  • Native precision BF16
  • Layers 28
  • KV cache per token 56 KB
  • Config positions 128K (config.json max_position_embeddings)
  • API context 128K (maker’s API)
My hardware GeForce RTX 4090 24 GB · 1008 GB/s · 64 GB DDR5 dual channel · 89.6 GB/s
On your hardware · GeForce RTX 4090
Runs well Q6_K (automatic) 8K context 172–258 tok/sOne GPU
WeightsKV cacheOverheadUsable
Needs
≈ 18.0 GB (weights 16.7 + KV cache 0.4 + overhead 0.8)
Usable
21.6 GB (90% of its memory)
Generation speed
172–258 tok/s (reads the active 3B per token)
Longest context
74K (longer doesn’t fit)
First token
about 0.10–0.15 s for a 2K prompt
PrecisionWeightsNeeds at 8KOn your hardwareLongest context
BF16 (native)maker’s file40.7 GB≈ 43.1Needs system memory 13–19 tok/s—
Q8_021.6 GB≈ 23.1Needs system memory 91–137 tok/s—
FP820.3 GB≈ 21.8Needs system memory 123–184 tok/s—
Q6_K16.7 GB≈ 18.0Runs well 172–258 tok/s74K
Q5_K_M14.5 GB≈ 15.6Runs well 194–290 tok/s117K
Q5_014.0 GB≈ 15.1Runs well 199–299 tok/s127K
Q4_K_M12.3 GB≈ 13.4Runs well 220–330 tok/s128K
Q4_011.4 GB≈ 12.4Runs well 234–350 tok/s128K
IQ4_XS10.8 GB≈ 11.8Runs well 244–366 tok/s128K
Q3_K_Mquality drops9.9 GB≈ 10.9Runs well 260–390 tok/s128K
IQ3_XXSquality drops7.8 GB≈ 8.7Runs well 312–467 tok/s128K
Q2_Kquality drops7.6 GB≈ 8.6Runs well 316–474 tok/s128K
IQ2_XXSquality drops5.2 GB≈ 6.2Runs well 406–609 tok/s128K

Click a row to choose a precision. “Maker’s file” sizes are the maker’s own files; others are parameters × bits per weight.

Compared with other hardware

Each at the highest precision it runs. Click one for details.

Smallest that runs it (Q4_K_M, 8K): GPU GeForce RTX 5080; unified memory Apple M5 Pro (16-core GPU) · 24 GB.

Run commands

The maker publishes no files at this precision. Choose its native precision or one of its own builds, or quantise it yourself with llama.cpp.

Memory to fine-tune
Full≈ 327.0 GBDoesn’t fit your hardware
LoRA≈ 42.5 GBDoesn’t fit your hardware
QLoRA≈ 13.3 GBFits your hardware

Batch 1, 2,048-token sequences, gradient checkpointing; LoRA and QLoRA train rank-16 adapters on the attention projections.

Estimates; facts from the maker’s Hugging Face repositories, as of 2026-11-06. How it’s estimated

Cited scores

From third-party leaderboards, not measured by us

This model isn’t on any leaderboard we cite yet.

No changes recorded yet.

Sources

Some values on this page are still waiting to be checked against official pages: a filled dot is verified, a hollow one is not yet (with or without a source on file). How we verify data

Baidu · China · cloud.baidu.com

Snapshots, the same family and other models from this provider