Skip to content

Llama Guard 4 12B (Deep Infra) vs Yi Lightning

Llama Guard 4 12B (Deep Infra) is cheaper on output tokens, while Llama Guard 4 12B (Deep Infra) offers a larger context window. Choose Llama Guard 4 12B (Deep Infra) or Yi Lightning based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecLlama Guard 4 12B (Deep Infra)Yi Lightning
ProviderEden AINanoGPT
Input / 1M tokens$0.18$0.20
Output / 1M tokens$0.18$0.20
Context window164K12K
Parameters——
Open weightsYesNo
ReleasedApr 2025Oct 2024
Aider Polyglot score—12.9
LMArena (Chatbot Arena) Elo score—1302

FAQ

Is Llama Guard 4 12B (Deep Infra) or Yi Lightning cheaper?

Llama Guard 4 12B (Deep Infra) is cheaper on output tokens ($0.18 vs $0.20 per 1M).

Which has the larger context window, Llama Guard 4 12B (Deep Infra) or Yi Lightning?

Llama Guard 4 12B (Deep Infra) has the larger context window (164K tokens).

Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.