Skip to content

Gemini 3.1 Pro (Preview Custom Tools) vs Gemma 4 31B Garnet

Gemma 4 31B Garnet is cheaper on output tokens, while Gemini 3.1 Pro (Preview Custom Tools) offers a larger context window. Choose Gemini 3.1 Pro (Preview Custom Tools) or Gemma 4 31B Garnet based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecGemini 3.1 Pro (Preview Custom Tools)Gemma 4 31B Garnet
ProviderNanoGPTNanoGPT
Input / 1M tokens$2.00$0.31
Output / 1M tokens$12.00$0.31
Context window1M262K
Parameters
Open weightsNoNo
ReleasedFeb 2026May 2026

FAQ

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