Skip to content

Claude 4 Sonnet Thinking (64K) vs Gemma 4 31B Garnet

Gemma 4 31B Garnet is cheaper on output tokens, while Claude 4 Sonnet Thinking (64K) offers a larger context window. Choose Claude 4 Sonnet Thinking (64K) or Gemma 4 31B Garnet based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecClaude 4 Sonnet Thinking (64K)Gemma 4 31B Garnet
ProviderNanoGPTNanoGPT
Input / 1M tokens$2.99$0.31
Output / 1M tokens$14.99$0.31
Context window1M262K
Parameters
Open weightsNoNo
ReleasedMay 2025May 2026

FAQ

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