Skip to content

Llama Guard 4 12B vs gpt-oss-20b

gpt-oss-20b is cheaper on output tokens, while Llama Guard 4 12B offers a larger context window. Choose Llama Guard 4 12B or gpt-oss-20b based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecLlama Guard 4 12Bgpt-oss-20b
ProviderOpenRouterOpenRouter
Input / 1M tokens$0.18$0.03
Output / 1M tokens$0.18$0.14
Context window164K131K
Parameters21B
Open weightsYesYes
ReleasedApr 2025Aug 2025

FAQ

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