# Llama Guard 4 12B vs Grok 4.7

Source: https://openrouter.ai/compare/meta-llama/llama-guard-4-12b/x-ai/grok-4.7

## Overview

| Attribute | Llama Guard 4 12B | Grok 4.7 |
| --- | --- | --- |
| Author | Meta Llama | SpaceXSI |
| Reasoning | No | Yes |
| Input modalities | Image, Text | Text, Image, File |
| Output modalities | Text | Text |
| Input price | $0.18/M tokens | $2/M tokens |
| Output price | $0.18/M tokens | $6/M tokens |
| Context window | 163,840 tokens | 500,000 tokens |
| Intelligence Index | Not available | 35.4 |
| Finance & Accounting Index | Not available | 51.7 |
| Strategy & Ops Index | Not available | 54.8 |
| Legal Index | Not available | 47.2 |
| Healthcare & Medical Index | Not available | 46.6 |
| Engineering Index | Not available | 41.7 |
| Economics Index | Not available | 45.7 |
| Cyber Index | Not available | 56.4 (0.0% of tasks refused) |
| FrontierCode-AA 2.0 | Not available | 28.9% |
| Latency (p50) | 0.57 s | 53.79 s |
| Throughput (p50) | 44.0 tok/s | 153.0 tok/s |

## Llama Guard 4 12B or Grok 4.7: which should you choose?

### Choose Llama Guard 4 12B for:

- a quicker first token (0.57 s vs 53.79 s)

### Choose Grok 4.7 for:

- a longer context window (500,000 vs 163,840 tokens)
- faster output (153.0 vs 44.0 tok/s)

## Benchmark differences

| Benchmark | Llama Guard 4 12B | Grok 4.7 | Difference |
| --- | --- | --- | --- |
| Intelligence Index | Not available | 35.4 | Not available |
| Finance & Accounting Index | Not available | 51.7 | Not available |
| Strategy & Ops Index | Not available | 54.8 | Not available |
| Legal Index | Not available | 47.2 | Not available |
| Healthcare & Medical Index | Not available | 46.6 | Not available |
| Engineering Index | Not available | 41.7 | Not available |
| Economics Index | Not available | 45.7 | Not available |
| Cyber Index | Not available | 56.4 (0.0% of tasks refused) | Not available |
| FrontierCode-AA 2.0 | Not available | 28.9% | Not available |

## Model pages

- [Llama Guard 4 12B](https://openrouter.ai/meta-llama/llama-guard-4-12b) ([llms.txt](https://openrouter.ai/meta-llama/llama-guard-4-12b/llms.txt))
- [Grok 4.7](https://openrouter.ai/x-ai/grok-4.7) ([llms.txt](https://openrouter.ai/x-ai/grok-4.7/llms.txt))
