Gemini 4 Carbon vs Llama Guard 4 12B

Compare Gemini 4 Carbon from Google and Llama Guard 4 12B from Meta Llama 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 google
Gemini 4 Carbon
Favicon for meta-llama
Llama Guard 4 12B

Overview

Gemini 4 Carbon
Author
Google
Llama Guard 4 12B
Author
Meta Llama
Gemini 4 Carbon
Context length
1.05Mtokens
Llama Guard 4 12B
Context length
164Ktokens
Gemini 4 Carbon
Reasoning
Yes
Llama Guard 4 12B
Reasoning
No
Gemini 4 Carbon
Input modalities
Text, Image, Audio, Video, File
Llama Guard 4 12B
Input modalities
Text, Image
Gemini 4 Carbon
Output modalities
Text
Llama Guard 4 12B
Output modalities
Text

Analysis

Gemini 4 Carbon vs Llama Guard 4 12B at a glance

Index and benchmark scores are from Artificial Analysis. Each score is the model's best published result across the configurations Artificial Analysis evaluated.

Gemini 4 Carbon
Input price
$4/M tokens
Llama Guard 4 12B
Input price
$0.18/M tokens
Gemini 4 Carbon
Output price
$20/M tokens
Llama Guard 4 12B
Output price
$0.18/M tokens
Gemini 4 Carbon
Context window
1,048,576 tokens
Llama Guard 4 12B
Context window
163,840 tokens
Gemini 4 Carbon
Intelligence Index Artificial Analysis, best published result
60.1
Llama Guard 4 12B
Intelligence Index Artificial Analysis, best published result
Not available
Gemini 4 Carbon
Finance & Accounting Index Artificial Analysis, best published result
62.6
Llama Guard 4 12B
Finance & Accounting Index Artificial Analysis, best published result
Not available
Gemini 4 Carbon
Strategy & Ops Index Artificial Analysis, best published result
60.9
Llama Guard 4 12B
Strategy & Ops Index Artificial Analysis, best published result
Not available
Gemini 4 Carbon
Legal Index Artificial Analysis, best published result
62.0
Llama Guard 4 12B
Legal Index Artificial Analysis, best published result
Not available
Gemini 4 Carbon
Healthcare & Medical Index Artificial Analysis, best published result
56.8
Llama Guard 4 12B
Healthcare & Medical Index Artificial Analysis, best published result
Not available
Gemini 4 Carbon
Engineering Index Artificial Analysis, best published result
65.4
Llama Guard 4 12B
Engineering Index Artificial Analysis, best published result
Not available
Gemini 4 Carbon
Economics Index Artificial Analysis, best published result
59.6
Llama Guard 4 12B
Economics Index Artificial Analysis, best published result
Not available
Gemini 4 Carbon
FrontierCode-AA 2.0 Artificial Analysis, best published result
40.6%
Llama Guard 4 12B
FrontierCode-AA 2.0 Artificial Analysis, best published result
Not available
Gemini 4 Carbon
Latency (p50)
7.98 s
Llama Guard 4 12B
Latency (p50)
0.64 s
Gemini 4 Carbon
Throughput (p50)
36.0 tok/s
Llama Guard 4 12B
Throughput (p50)
44.0 tok/s
Gemini 4 Carbon
Provided by
Google
Llama Guard 4 12B
Provided by
Meta Llama

Benchmark data updated

Frequently asked questions

Is Gemini 4 Carbon cheaper than Llama Guard 4 12B?

Llama Guard 4 12B is cheaper than Gemini 4 Carbon on OpenRouter: Llama Guard 4 12B costs $0.18/M tokens input and $0.18/M tokens output, while Gemini 4 Carbon costs $4/M tokens input and $20/M tokens output.

Which has the longer context window, Gemini 4 Carbon or Llama Guard 4 12B?

Gemini 4 Carbon has the longer context window at 1,048,576 tokens, compared with 163,840 tokens for Llama Guard 4 12B.

Which is faster, Gemini 4 Carbon or Llama Guard 4 12B?

Llama Guard 4 12B is faster on OpenRouter, generating a median 44.0 tokens per second compared with 36.0 tokens per second for Gemini 4 Carbon.