Gemma 4 31B IT vs GPT-5 Nano

Price and specs side by side · USD per 1M tokens · verified 2026-11-29

// side by side

metricGemma 4 31B ITGPT-5 Nano
input / 1M$0.09$0.05
output / 1M$0.34$0.40
blended (3:1)$0.1525$0.1375
cache read / 1M$0.05$0.005
context262.1K400K
max output16.4K128K
input typestext · image · videotext · image
reasoningyesyes
tool callingyesyes
structured outputyesyes
open weightsyesno
released2026-04-022025-08-07
knowledge cutoff2025-012024-05-30
labGoogleOpenAI

// monthly cost scenarios

workloadtokens in / outGemma 4 31B ITGPT-5 Nano
Chatbot10M / 2M$1.58$1.30
RAG app50M / 5M$6.20$4.50
Coding agent20M / 10M$5.20$5.00

// verdict

// Gemma 4 31B IT or GPT-5 Nano: which one to choose

// related comparisons

Gemma 4 31B IT vs Voxtral SmallClaude Haiku 5.5 vs Gemma 4 31B ITGemma 4 31B IT vs GPT-6 LunaGemma 4 31B IT vs Ministral 3 14BGemma 4 31B IT vs Muse EmberGemma 4 31B IT vs Mistral Small 3.2 24B Instruct (2506)Gemma 4 31B IT vs GPT OSS Safeguard 20BClaude Haiku 5.5 vs GPT-5 Nano