Skip to content
llmmodels

Meta Llama Prompt Guard 2 22M vs shieldgemma-2-4b-it

Meta Llama Prompt Guard 2 22M is made by Meta and shieldgemma-2-4b-it by Google DeepMind. See the full spec comparison below.

SpecMeta Llama Prompt Guard 2 22Mshieldgemma-2-4b-it
ProviderMetaGoogle DeepMind
ReleasedApr 29, 2025 (better)Mar 4, 2025
TypeChat LLMChat LLM
Parameters—4.3B
Context window512—
Max output2—
Input price / 1M$0.01—
Output price / 1M$0.01—
Input modalitiestexttext, image (better)
Open weightsYesYes
License—gemma
Reasoning modeNoNo
Tool callingNoNo
API providers3 (better)—

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 →

About shieldgemma-2-4b-it

shieldgemma-2-4b-it is an open-weight chat llm from Google DeepMind, released Mar 4, 2025. It has 4.3B parameters and accepts text, image input. Full shieldgemma-2-4b-it specs →

Compare other models

FAQ

Which is better, Meta Llama Prompt Guard 2 22M or shieldgemma-2-4b-it?

Meta Llama Prompt Guard 2 22M is made by Meta and shieldgemma-2-4b-it by Google DeepMind. See the full spec comparison below.

Are Meta Llama Prompt Guard 2 22M and shieldgemma-2-4b-it open source?

Meta Llama Prompt Guard 2 22M is open-weight; shieldgemma-2-4b-it is open-weight.