LLM Comparison
Gemma 4 31B vs Llama Guard 4 12B
Side-by-side specs, pricing & capabilities · Updated April 2026
Add to comparison
2/6 modelsSame tier:
L Llama Guard 4 12B | ||
|---|---|---|
| Organization | Meta | |
| OpenTools Score | ||
| Family | Gemma | Llama |
| Status | Current | Current |
| Release Date | Apr 2026 | Apr 2025 |
| Context Window | 262K tokens | 164K tokens |
| Input Price | $0.13/M tokens | $0.18/M tokens |
| Output Price | $0.38/M tokens | $0.18/M tokens |
| Pricing Notes | Cache read: $0.0200/M tokens | — |
| Capabilities | textvisionvideocode | textvisioncode |
| API Identifier | google/gemma-4-31b-it | meta-llama/llama-guard-4-12b |
| View Gemma 4 31B | View Llama Guard 4 12B |
Cost Calculator
Enter your expected monthly token usage to compare costs.
| Model | Input | Output | Total / mo | vs Best |
|---|---|---|---|---|
| Llama Guard 4 12BCheapest | $0.18 | $0.09 | $0.27 | — |
| Gemma 4 31B | $0.13 | $0.19 | $0.32 | +19% |
Gemma 4 31B
Gemma 4 31B is a multimodal llm from Google. Supports up to 262,144 token context window. Available from $0.13/M input tokens.
Meta
Llama Guard 4 12B
Llama Guard 4 12B is a multimodal llm from Meta. Supports up to 163,840 token context window. Available from $0.18/M input tokens.
More Comparisons
Looking for more AI models?
Browse All LLMs