Gemma 3 4B is slightly cheaper per million tokens (blended). Qwen3.7 Flash has the larger context window (1,000,000 vs 131,072 tokens, 7.6×). Gemma 3 4B is open-weights; the other is not.

Gemma 3 4B vs Qwen3.7 Flash

Live catalog fields. Best-in-row is highlighted.

Gemma 3 4Bopen

Google · google__gemma-3-4b-it

Qwen3.7 Flash

Qwen · qwen__qwen3.7-flash

Identity

Fieldgoogle__gemma-3-4b-itqwen__qwen3.7-flash
ProviderGoogleQwen
Sluggoogle__gemma-3-4b-itqwen__qwen3.7-flash
Statuslivelive
Open weightsYesNo
License——
HuggingFacegoogle/gemma-3-4b-it—

Quality

Fieldgoogle__gemma-3-4b-itqwen__qwen3.7-flash
Quality index (0–100)——

Cost

Fieldgoogle__gemma-3-4b-itqwen__qwen3.7-flash
Input $ / 1M tokens$0.05$0.03
Cached input $ / 1M—$0.01
Output $ / 1M tokens$0.10$0.13

Context

Fieldgoogle__gemma-3-4b-itqwen__qwen3.7-flash
Max context tokens131,0721,000,000
Max output tokens16,38465,536

Modalities

Fieldgoogle__gemma-3-4b-itqwen__qwen3.7-flash
Inputtext, imagetext, image, video
Outputtexttext