Skip to content

GPT OSS 20B vs Llama Prompt Guard 2 22M

Llama Prompt Guard 2 22M is cheaper on output tokens, while GPT OSS 20B offers a larger context window. Choose GPT OSS 20B or Llama Prompt Guard 2 22M based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecGPT OSS 20BLlama Prompt Guard 2 22M
ProviderGroqGroq
Input / 1M tokens$0.08$0.03
Output / 1M tokens$0.30$0.03
Context window131K512
Parameters21B
Open weightsYesYes
ReleasedAug 2025May 2025

FAQ

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