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.
| Field | Llama Guard 4 12B | Llama 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 |
| Context | 164K | 512 +99.7% |
| Max output | 131K | 2 +100% |
| Providers | 8 | 2 +75% |
| Regions | US | US |
| Accepts | image, text | text |
| Returns | text | text |
| Type | Moderation | Moderation |
| Free option | yes | no |
| Cheapest provider | kilo | helicone |
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
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