Skip to content

Gemma 4 31B Instruct vs Llama 3 8B Lunaris

Llama 3 8B Lunaris is cheaper on output tokens, while Gemma 4 31B Instruct offers a larger context window. Choose Gemma 4 31B Instruct or Llama 3 8B Lunaris based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecGemma 4 31B InstructLlama 3 8B Lunaris
ProviderAI/ML APIAI/ML API
Input / 1M tokens$1.36$0.07
Output / 1M tokens$2.05$0.07
Context window256K8K
Parameters——
Open weightsYesYes
ReleasedApr 2026Aug 2024

FAQ

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