Compare

GLM 4.7 vs Llama Guard 3 8B

Pricing is only the shared seller matrix below. Best rates and catalog map are separate sections, so no chart is embedded in pricing. Open the calculator for the same workload on each side.

Z Ai

Model

GLM 4.7

Image inputTool calling

Best $0.400 in · $1.50 out

Context window 203K

Pricing
Meta

Model

Llama Guard 3 8B

Best $0.020 in · $0.030 out

Context window 131K

Pricing

Llama Guard 3 8B is cheaper across the board — 20% cheaper on input and 98% cheaper on output.

Pricing matrix

Shared sellers only. Each row is a host that lists both models. Dollar amounts are per 1M tokens. Lowest in each pair of columns is emphasized.

ProviderGLM 4.7 inGLM 4.7 outLlama Guard 3 8B inLlama Guard 3 8B out
Baseten$0.600$2.20N/AN/A
DeepInfraN/AN/A$0.055$0.055
Fireworks AIN/AN/A$0.200$0.200
NebiusN/AN/A$0.020$0.060
Novita$0.600$2.20N/AN/A
Openrouter$0.400$1.50$0.480$0.030
Together AI$0.450$2.00N/AN/A
Z Ai$0.600$2.20N/AN/A

Best listed rates (this pair)

Same "best row in current pricing" logic as model pages: a compact view of the lowest input and output we show for each side. This is not the seller matrix.

Catalog map · Z Ai · Meta

Each chart uses real catalog rows that include both list input and list output ($/1M). Larger green dots are the models on this comparison page; accent dots are other active models from that provider.

Z Ai · input vs output

Scatter chart: X = input $/M, Y = output $/M. This page's models are labeled on the green dots; hover others for detail.

ListedoutputUSD/1M

One dot per catalog row that has both list prices. Green dots are labeled with the models on this page; hover any dot for name and prices. Upper-right means higher cost on both axes ($/1M).

Meta · input vs output

ListedoutputUSD/1M

One dot per catalog row that has both list prices. Green dots are labeled with the models on this page; hover any dot for name and prices. Upper-right means higher cost on both axes ($/1M).

Specifications

Each column header is the full model name. Tint marks the favorable value where we compute a winner.

Spec
GLM 4.7
Llama Guard 3 8B
Context window
202,752 tokens
131,072 tokens
Max output tokens
64,000 tokens
131,072 tokens
Vision
Yes
No
Function calling
Yes
No
Streaming
No
No
Release date
Dec 2025
Feb 2025

Cost calculator

Same requests, input tokens, and output tokens for both columns. Pick the provider row that matches how you buy.

GLM 4.7
Monthly
$345
Annual
$4.2K
Llama Guard 3 8B
Monthly
$149
Annual
$1.8K
Save $197/month with Llama Guard 3 8B

When to pick which

Short takeaways: no cards, just the points. Validate with your own workloads.

  • Long-context tasks

    Use GLM 4.7. Its 202K context window handles large codebases and documents better than 131K.

  • High-volume text generation

    Use Llama Guard 3 8B. Output tokens are 98% cheaper, which compounds significantly at scale.

  • Long output (reports, code files)

    Use Llama Guard 3 8B. Its 131K max output limit reduces the need to split requests.

Frequently asked questions

Llama Guard 3 8B is cheaper on both input and output tokens.

More comparisons

Other popular head-to-head matchups.