AI Rate Card

Llama Guard 4 12B vs Llama Prompt Guard 2 22M: API price and specs

Llama Prompt Guard 2 22M is 93% cheaper than Llama Guard 4 12B on input price.

Llama Prompt Guard 2 22M is 93% cheaper than Llama Guard 4 12B on output price.

Llama Prompt Guard 2 22M is 93% cheaper than Llama Guard 4 12B on a 1M-in / 200k-out workload.

Llama Guard 4 12B has a 31900% larger context than Llama Prompt Guard 2 22M.

FieldLlama Guard 4 12BLlama Prompt Guard 2 22M
Lowest input, per 1M$0.14 +1340%$0.01
Median input, per 1M$0.18 +800%$0.02
Lowest output, per 1M$0.14 +1340%$0.01
Median output, per 1M$0.18 +800%$0.02
Lowest unit price——
Cost of 1M in + 200k out$0.17 +1340%$0.012
Context164K512 +99.7%
Max output131K2 +100%
Providers82 +75%
RegionsUSUS
Acceptsimage, texttext
Returnstexttext
TypeModerationModeration
Free optionyesno
Cheapest providerkilohelicone

Your own workload: how many tokens the model gets (input) and gives back (output) - for example, in a month. The "Cost" row of the table above is recalculated for these numbers, for each model.

Computed from current offers each time the page opens; the best value of a row is bold, the percent is how far behind the best.

Providers selling both

edenai, helicone

Frequently asked questions

Which is cheaper, Llama Guard 4 12B or Llama Prompt Guard 2 22M?

Llama Prompt Guard 2 22M is 93% cheaper than Llama Guard 4 12B on input price. Llama Prompt Guard 2 22M is 93% cheaper than Llama Guard 4 12B on output price. Llama Prompt Guard 2 22M is 93% cheaper than Llama Guard 4 12B on a 1M-in / 200k-out workload.

Which has the larger context, Llama Guard 4 12B or Llama Prompt Guard 2 22M?

Llama Guard 4 12B: 164K tokens; Llama Prompt Guard 2 22M: 512 tokens.

Where can I use both Llama Guard 4 12B and Llama Prompt Guard 2 22M?

edenai, helicone