Skip to content

PaLM 2 vs Google: Gemma 4 31B (free)

Both have similar output pricing, while Google: Gemma 4 31B (free) offers a larger context window. Choose PaLM 2 or Google: Gemma 4 31B (free) based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecPaLM 2Google: Gemma 4 31B (free)
ProviderGoogleGoogle
Input / 1M tokens—$0.00
Output / 1M tokens—$0.00
Context window—262K
Parameters340B—
Open weightsNo—
ReleasedMay 2023—

FAQ

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