LLM Comparison
Llama Guard 4 12B vs Sonar Pro
Side-by-side specs, pricing & capabilities · Updated July 2026
Add to comparison
2/6 modelsSame tier:
| Organization | ||
| OpenTools Score | 15 1.7 | |
| Family | Llama | Sonar |
| Status | Current | Current |
| Release Date | Apr 2025 | Mar 2025 |
| Context Window | 164K tokens | 200K tokens |
| Input Price | $0.18/M tokens | $3.00/M tokens |
| Output Price | $0.18/M tokens | $15.00/M tokens |
| Capabilities | textvisioncode | textvisioncode |
| Max Output | 40 tokens | 8K tokens |
| API Identifier | meta-llama/llama-guard-4-12b | perplexity/sonar-pro |
| Benchmarks | ||
| LG4 English output-filter F1 | 61meta | — |
| LG4 multilingual output-filter F1 | 51meta | — |
| LG4 single-image output-filter F1 | 38meta | — |
| LG4 multi-image output-filter F1 | 52meta | — |
| GPQA Diamond | — | 57.8perplexity |
| MMLU Pro | — | 75.5perplexity |
| MATH-500 | — | 74.5perplexity |
| AIME | — | 29perplexity |
| View Llama Guard 4 12B | View Sonar Pro | |
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 | — |
| Sonar Pro | $3.00 | $7.50 | $10.50 | +3789% |
Meta
Llama Guard 4 12B
Llama Guard 4 12B is a Meta multimodal safety-classification model for text and image prompt or response moderation using MLCommons hazard categories.
Perplexity AI
Sonar Pro
Sonar Pro is a multimodal llm from Perplexity AI. Supports up to 200,000 token context window. Achieves 83.0% on MMLU. Available from $3.00/M input tokens.
More Comparisons
Looking for more AI models?
Browse All LLMs