Gemma-4-31B-IT-NVFP4 vs phi-4

Specs, VRAM requirements and download trends — updated 23 August 2026.

nvidia · A · Open weights
Params
20.9 B
Context
—
30d
1.1 M
microsoft · B · Open weights
Params
14.7 B
Context
16,384
30d
276 K
mit · commercial OK

Specification comparison

Differences are highlighted; identical values are muted.

Specification Gemma-4-31B-IT-NVFP4 phi-4
Deployment Open weights Open weights · also via API
Parameters 20.9 B 14.7 B
Architecture Gemma4ForConditionalGeneration Phi3ForCausalLM
Context length — 16,384
Licence other mit
Commercial use Unknown Allowed
Languages — 1
Downloads 30d 1,136,331 275,580
Downloads all time 14.3 M 14.9 M
Quantizations on the Hub SAFETENSORS SAFETENSORS
Gated No No
First seen on the Hub 2026-04-02 2024-12-11
API input price / 1M tokens not on OpenRouter $0.07
API output price / 1M tokens not on OpenRouter $0.14
Est. cost per 1M input + 1M output tokens not on OpenRouter $0.21
Cached input / 1M tokens not on OpenRouter —
AA Intelligence Index not on OpenRouter —
AA Coding Index not on OpenRouter —
AA Agentic Index not on OpenRouter —
Max output tokens not on OpenRouter 14,745
API providers not on OpenRouter 1
Tool calling not on OpenRouter No
Reasoning mode not on OpenRouter No

API cost

Estimated cost of 1M input + 1M output tokens via OpenRouter

phi-4 $0.21

Download trend

Daily snapshots, last 90 days (13 Aug – 10 Nov)

2.4 M276 K
Gemma-4-31B-IT-NVFP4 phi-4

VRAM side by side

On RTX 4090 · 24 GB · 8K context unless noted

phi-4 · fp16 34.9 GB / 24 GB
❌ Won’t fit
Gemma-4-31B-IT-NVFP4 · fp16 39.5 GB / 24 GB
❌ Won’t fit

Adjacent comparisons