LLM Comparison

Gemma 4 31B vs Llama Guard 4 12B

Side-by-side specs, pricing & capabilities · Updated June 2026

Add to comparison

2/6 models
Same tier:
 GoogleGemma 4 31BMetaLlama Guard 4 12B
OrganizationGoogleGoogleMetaMeta
OpenTools Score
53
208
FamilyGemmaLlama
StatusCurrentCurrent
Release DateApr 2026Apr 2025
Context Window262K tokens164K tokens
Input Price$0.13/M tokens$0.18/M tokens
Output Price$0.38/M tokens$0.18/M tokens
Pricing NotesCache read: $0.0200/M tokens
Capabilities
textvisionvideocode
textvisioncode
Max Output40 tokens
API Identifiergoogle/gemma-4-31b-itmeta-llama/llama-guard-4-12b
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
 View Gemma 4 31BView Llama Guard 4 12B

Cost Calculator

Enter your expected monthly token usage to compare costs.

ModelInputOutputTotal / movs Best
Llama Guard 4 12BCheapest$0.18$0.09$0.27
Gemma 4 31B$0.13$0.19$0.32+19%

Looking for more AI models?

Browse All LLMs
Gemma 4 31B vs Llama Guard 4 12B – Specs, Pricing & Capabilities