Llama Guard 4 12B vs Sonar Pro Search

Compare Llama Guard 4 12B from Meta Llama and Sonar Pro Search from Perplexity on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.

Favicon for meta-llama
Llama Guard 4 12B
Favicon for perplexity
Sonar Pro Search

Overview

Llama Guard 4 12B
Author
Meta Llama
Sonar Pro Search
Author
Perplexity
Llama Guard 4 12B
Context length
164Ktokens
Sonar Pro Search
Context length
200Ktokens
Llama Guard 4 12B
Reasoning
No
Sonar Pro Search
Reasoning
Yes
Llama Guard 4 12B
Input modalities
Text, Image
Sonar Pro Search
Input modalities
Text, Image
Llama Guard 4 12B
Output modalities
Text
Sonar Pro Search
Output modalities
Text

Analysis

Llama Guard 4 12B vs Sonar Pro Search at a glance

Llama Guard 4 12B
Input price
$0.18/M tokens
Sonar Pro Search
Input price
$3/M tokens
Llama Guard 4 12B
Output price
$0.18/M tokens
Sonar Pro Search
Output price
$15/M tokens
Llama Guard 4 12B
Context window
163,840 tokens
Sonar Pro Search
Context window
200,000 tokens
Llama Guard 4 12B
Latency (p50)
0.64 s
Sonar Pro Search
Latency (p50)
6.15 s
Llama Guard 4 12B
Throughput (p50)
44.0 tok/s
Sonar Pro Search
Throughput (p50)
34.0 tok/s
Llama Guard 4 12B
Provided by
Meta Llama
Sonar Pro Search
Provided by
Perplexity

Frequently asked questions

Is Llama Guard 4 12B cheaper than Sonar Pro Search?

Llama Guard 4 12B is cheaper than Sonar Pro Search on OpenRouter: Llama Guard 4 12B costs $0.18/M tokens input and $0.18/M tokens output, while Sonar Pro Search costs $3/M tokens input and $15/M tokens output.

Which has the longer context window, Llama Guard 4 12B or Sonar Pro Search?

Sonar Pro Search has the longer context window at 200,000 tokens, compared with 163,840 tokens for Llama Guard 4 12B.

Which is faster, Llama Guard 4 12B or Sonar Pro Search?

Llama Guard 4 12B is faster on OpenRouter, generating a median 44.0 tokens per second compared with 34.0 tokens per second for Sonar Pro Search.