Is Claude Sonnet 4.5 or Gemini 3.1 Pro Preview cheaper?
Gemini 3.1 Pro Preview is cheaper ($2 / 1M tokens input / $12 / 1M tokens output) vs Claude Sonnet 4.5 ($3 / 1M tokens input / $15 / 1M tokens output). Actual cost depends on your input/output token mix — estimate it with the pricing calculator.