Skip to content
llmmodels

ALLaM-2-7b vs Meta Llama Prompt Guard 2 22M

ALLaM-2-7b has the larger context window (4K vs 512).

SpecALLaM-2-7bMeta Llama Prompt Guard 2 22M
ProviderSdaiaMeta
ReleasedJan 23, 2025Apr 29, 2025 (better)
TypeChat LLMChat LLM
Parameters7B—
Context window4K (better)512
Max output4K (better)2
Input price / 1M—$0.01
Output price / 1M—$0.01
Input modalitiestexttext
Open weightsYesYes
License——
Reasoning modeNoNo
Tool callingNoNo
API providers13 (better)

About ALLaM-2-7b

ALLaM-2-7b is an open-weight chat llm from Sdaia, released Jan 23, 2025. It has 7B parameters and a 4K-token context window. Full ALLaM-2-7b 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, ALLaM-2-7b or Meta Llama Prompt Guard 2 22M?

ALLaM-2-7b has the larger context window (4K vs 512).

Which has a bigger context window?

ALLaM-2-7b: 4,096 tokens. Meta Llama Prompt Guard 2 22M: 512 tokens.

Are ALLaM-2-7b and Meta Llama Prompt Guard 2 22M open source?

ALLaM-2-7b is open-weight; Meta Llama Prompt Guard 2 22M is open-weight.