Head-to-Head Pricing Benchmark

Google: Gemini 2.5 Flash vs. Google: Gemma 4 31B

Interactive cost comparison based on live API token rates and context window limits. Overall lower blended token cost: Google: Gemma 4 31B.

Interactive Side-by-Side Cost Calculator

Slide your daily token volume to compare monthly bills between both models in real time.

Google: Gemini 2.5 Flash Monthly Cost $0.00/mo
Google: Gemma 4 31B Monthly Cost $0.00/mo

Side-by-Side Specs & Token Rates

Metric Google: Gemini 2.5 Flash Google: Gemma 4 31B
Provider Google Google
Model Type Proprietary API Open-Weight
Input Cost / 1M $0.30 $0.20
Output Cost / 1M $2.50 $0.40
Context Window 1,048,576 tokens 262,144 tokens
4-Bit Quantized VRAM API Only (~5.2 GB eq.) 20.2 GB (Open-Weight)
Cloud Infrastructure Deal

Deploy Your AI App or Open-Source LLM for Less

Rent serverless or dedicated GPUs on RunPod and Vast.ai to cut your monthly AI infrastructure bill by up to 70%.

Deploy on RunPod (From $0.20/hr) Rent GPUs on Vast.ai (Save up to 70%)