Get started
LLM Index

ERNIE vs. Gemma

A side-by-side comparison of release history, capabilities, licensing and model sizes.

Attribute ERNIE Gemma
Developer Baidu Google
Generation ERNIE 5.5 Flash Preview Gemma 4
Initial release 2023-03-16 2024-02-21
Instruct tuned Yes Yes
Coding Yes Yes
Finetuning Yes Yes
Open weights Yes Yes
License Apache 2.0 (Flash Preview) Apache 2.0
Model sizes 280B (14B active) E2B, E4B, 12B, 26B (3.8B active), 31B
Links

ERNIE

ERNIE is Baidu's family of hosted and downloadable models. ERNIE 5.5 Flash Preview is a post-trained, long-context model for coding and knowledge work.

Baidu introduced the ERNIE Bot assistant in March 2023. The ERNIE 5.5 Flash Preview model has 280B total parameters, 14B active per token, and a one-million-token context window. The Preview weights use Apache 2.0, and the Flash Base checkpoint has a separate model license.

Further reading

Gemma

Gemma is Google's family of efficient open models for local, edge, and self-hosted deployment. Gemma 4 is the current generation, spanning mobile-scale through workstation-scale models.

Google introduced Gemma in February 2024 as a family of lightweight open models built from the same research used for Gemini. Gemma 2 improved efficiency and model quality, while Gemma 3 added multimodal input and longer context. Gemma 4, released in April 2026 under Apache 2.0, adds advanced reasoning, agentic tool use, code generation, image and video understanding, and models ranging from edge-focused E2B and E4B variants to 12B, 26B mixture-of-experts, and 31B dense checkpoints.

Further reading

Compare other models

Other ERNIE comparisons

Other Gemma comparisons