LLM Comparison

Gemma 4 31B vs Llama Guard 4 12B

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

Add to comparison

2/6 models
Same tier:
 GoogleGemma 4 31B
L
Llama Guard 4 12B
OrganizationGoogleGoogleMeta
OpenTools Score
73
286
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
API Identifiergoogle/gemma-4-31b-itmeta-llama/llama-guard-4-12b
 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