Skip to content
llmmodels

ERNIE-4.5-21B-A3B-PT vs Meta Llama Prompt Guard 2 22M

ERNIE-4.5-21B-A3B-PT is made by Baidu and Meta Llama Prompt Guard 2 22M by Meta. See the full spec comparison below.

SpecERNIE-4.5-21B-A3B-PTMeta Llama Prompt Guard 2 22M
ProviderBaiduMeta
ReleasedJun 28, 2025 (better)Apr 29, 2025
TypeChat LLMChat LLM
Parameters22B—
Context window—512
Max output—2
Input price / 1M—$0.01
Output price / 1M—$0.01
Input modalitiestexttext
Open weightsYesYes
Licenseapache-2.0—
Reasoning modeNoNo
Tool callingNoNo
API providers—3 (better)

About ERNIE-4.5-21B-A3B-PT

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). Full ERNIE-4.5-21B-A3B-PT specs →

About Meta Llama Prompt Guard 2 22M

Meta Llama Prompt Guard 2 22M is an open-weight chat llm from Meta, released Apr 29, 2025. It has a 512-token context window. API pricing starts at $0.01 per million input tokens and $0.01 per million output tokens. It is available from 3 API providers. Full Meta Llama Prompt Guard 2 22M specs →

Compare other models

FAQ

Which is better, ERNIE-4.5-21B-A3B-PT or Meta Llama Prompt Guard 2 22M?

ERNIE-4.5-21B-A3B-PT is made by Baidu and Meta Llama Prompt Guard 2 22M by Meta. See the full spec comparison below.

Are ERNIE-4.5-21B-A3B-PT and Meta Llama Prompt Guard 2 22M open source?

ERNIE-4.5-21B-A3B-PT is open-weight; Meta Llama Prompt Guard 2 22M is open-weight.