Llama Guard 4 12B vs GLM 5.3 FlashX Legal

Compare Llama Guard 4 12B from Meta Llama and GLM 5.3 FlashX Legal from Z.ai 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 z-ai
GLM 5.3 FlashX Legal

Overview

Llama Guard 4 12B
Author
Meta Llama
GLM 5.3 FlashX Legal
Author
Z.ai
Llama Guard 4 12B
Context length
164Ktokens
GLM 5.3 FlashX Legal
Context length
1.05Mtokens
Llama Guard 4 12B
Reasoning
No
GLM 5.3 FlashX Legal
Reasoning
Yes
Llama Guard 4 12B
Input modalities
Text, Image
GLM 5.3 FlashX Legal
Input modalities
Text, Image, Video
Llama Guard 4 12B
Output modalities
Text
GLM 5.3 FlashX Legal
Output modalities
Text

Analysis

Llama Guard 4 12B vs GLM 5.3 FlashX Legal at a glance

Llama Guard 4 12B
Input price
$0.18/M tokens
GLM 5.3 FlashX Legal
Input price
$0.37/M tokens
Llama Guard 4 12B
Output price
$0.18/M tokens
GLM 5.3 FlashX Legal
Output price
$1.25/M tokens
Llama Guard 4 12B
Context window
163,840 tokens
GLM 5.3 FlashX Legal
Context window
1,048,576 tokens
Llama Guard 4 12B
Latency (p50)
Not available
GLM 5.3 FlashX Legal
Latency (p50)
1.44 s
Llama Guard 4 12B
Throughput (p50)
Not available
GLM 5.3 FlashX Legal
Throughput (p50)
80.0 tok/s
Llama Guard 4 12B
Provided by
Meta Llama
GLM 5.3 FlashX Legal
Provided by
Z.ai

Frequently asked questions

Is Llama Guard 4 12B cheaper than GLM 5.3 FlashX Legal?

Llama Guard 4 12B is cheaper than GLM 5.3 FlashX Legal on OpenRouter: Llama Guard 4 12B costs $0.18/M tokens input and $0.18/M tokens output, while GLM 5.3 FlashX Legal costs $0.37/M tokens input and $1.25/M tokens output.

Which has the longer context window, Llama Guard 4 12B or GLM 5.3 FlashX Legal?

GLM 5.3 FlashX Legal has the longer context window at 1,048,576 tokens, compared with 163,840 tokens for Llama Guard 4 12B.