Llama Guard 4 12B vs Sonar Reasoning Pro

Compare Llama Guard 4 12B from Meta Llama and Sonar Reasoning Pro 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 Reasoning Pro

Overview

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

Analysis

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

Llama Guard 4 12B
Input price
$0.18/M tokens
Sonar Reasoning Pro
Input price
$2/M tokens
Llama Guard 4 12B
Output price
$0.18/M tokens
Sonar Reasoning Pro
Output price
$8/M tokens
Llama Guard 4 12B
Context window
163,840 tokens
Sonar Reasoning Pro
Context window
128,000 tokens
Llama Guard 4 12B
Latency (p50)
0.64 s
Sonar Reasoning Pro
Latency (p50)
22.32 s
Llama Guard 4 12B
Throughput (p50)
44.0 tok/s
Sonar Reasoning Pro
Throughput (p50)
8.5 tok/s
Llama Guard 4 12B
Provided by
Meta Llama
Sonar Reasoning Pro
Provided by
Perplexity

Frequently asked questions

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

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

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

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

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

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