Skip to page content
SAVRN
Search Plan a project

Open-weight model · Image and text to text

gemma-4-31B-it-NVFP4A16

by WINSTECHNET_AX axteam/gemma-4-31B-it-NVFP4A16

gemma-4-31B-it-NVFP4A16 is an open-weight model for image and text to text from WINSTECHNET_AX, released under Apache License 2.0. It has 18.5B parameters and a 262,144-token context. At 16-bit it needs about 44.3 GB of GPU memory, which fits on 1x MI300X from $1.85 an hour, at the lowest prices in the SAVRN Index.

4-bit quantization of google/gemma-4-31B-it (commit 842da37), produced for efficient vLLM serving. Quantized by axteam.

Parameters18.5B
Context262,144
Weights20.4 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads—

Runs On

What it takes to serve gemma-4-31B-it-NVFP4A16 (18.5B parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 36.9 GB 44.3 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 18.5 GB 22.2 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 9.2 GB 11.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Oct 16, 2026.

gemma-4-31B-it-NVFP4A16 on every accelerator the SAVRN Index prices, at every precision

Model Card

By WINSTECHNET_AX, published under apache-2.0, revision 59b41f14f319.

4-bit quantization of google/gemma-4-31B-it (commit 842da37), produced for efficient vLLM serving. Quantized by axteam. - Scheme — W4A16 — FP4 (E2M1) weights group 16 (FP8 E4M3 scale + per-tensor FP32 global scale), BF16 activations, stored as compressed-tensors nvfp4-pack-quantized. - Kept in BF16 — vision tower, vision projection, token embeddings (tied with lmhead), MoE router, and all norms. These are left unquantized to preserve quality (a small fraction of total parameters). - Tokenizer / chattemplate / processorconfig / generationconfig are byte-identical to the original, including Google's July-2026 corrected chattemplate. config.json is the original plus a quantizationconfig block.…

Read WINSTECHNET_AX's full model card

gemma-4-31B-it · NVFP4A16 (W4A16, FP4 weights)

4-bit quantization of google/gemma-4-31B-it (commit 842da37), produced for efficient vLLM serving. Quantized by axteam.

Base model google/gemma-4-31B-it (commit 842da37)
Method NVFP4A16 (W4A16, FP4 weights)
Format compressed-tensors nvfp4-pack-quantized
Weights / activations W4A16 — FP4 (E2M1) weights group 16 (FP8 E4M3 scale + per-tensor FP32 global scale), BF16 activations
Architecture Gemma 4 · Dense
Size on disk ~19.0 GB
Calibration 256 samples (Korean-heavy; -it includes thinking-mode answers)
License Gemma 4 / Apache-2.0

Quantization details

  • Scheme — W4A16 — FP4 (E2M1) weights group 16 (FP8 E4M3 scale + per-tensor FP32 global scale), BF16 activations, stored as compressed-tensors nvfp4-pack-quantized.
  • Kept in BF16 — vision tower, vision projection, token embeddings (tied with lm_head), MoE router, and all norms. These are left unquantized to preserve quality (a small fraction of total parameters).
  • Tokenizer / chat_template / processor_config / generation_config are byte-identical to the original, including Google's July-2026 corrected chat_template. config.json is the original plus a quantization_config block.

Evaluation

Quantization fidelity was checked against the BF16 original using perplexity and top-1 next-token agreement on an internal mixed English/Korean set. In our runs the 8-bit variants (AWQ INT8 / FP8) stay closest to the original, while the 4-bit variants (AWQ INT4 / NVFP4) trade a little quality for roughly half the footprint.

Usage (vLLM)

vllm serve axteam/gemma-4-31B-it-NVFP4A16
from vllm import LLM, SamplingParams

llm = LLM(model="axteam/gemma-4-31B-it-NVFP4A16")
params = SamplingParams(temperature=1.0, top_p=0.95, top_k=64, max_tokens=1024)
out = llm.chat(
    [{"role": "user", "content": "Write a short joke about saving RAM."}],
    params,
)
print(out[0].outputs[0].text)

Recommended sampling (per Google): temperature=1.0, top_p=0.95, top_k=64. Thinking mode: add the <|think|> token at the start of the system prompt to enable step-by-step reasoning.

Reducing KV-cache memory (optional, serve-time)

The KV cache is unquantized (BF16) here — the standard for quantized checkpoints (RedHatAI, NVIDIA, etc. ship the same way). KV-cache precision is a runtime choice, independent of the weight quantization above. For long context or large batches you can roughly halve KV-cache memory with FP8:

vllm serve axteam/gemma-4-31B-it-NVFP4A16 --kv-cache-dtype fp8

--kv-cache-dtype accepts auto (default, BF16), fp8 / fp8_e4m3, fp8_e5m2. For a GGUF build the llama.cpp equivalent is --cache-type-k q8_0 --cache-type-v q8_0.

License

This is a quantized derivative of Google's Gemma 4. Use is governed by the Gemma 4 license. All original weights, tokenizer, and chat template belong to Google DeepMind.


한국어 요약

google/gemma-4-31B-it 를 NVFP4A16 (W4A16, FP4 weights) 로 양자화한 서빙용(4-bit) 모델입니다. 작성: axteam.

  • 방식 — FP4(E2M1) 가중치 16묶음 + 활성화는 BF16(W4A16). W4A4 NVFP4보다 품질이 크게 좋음(활성화 손실 없음), Blackwell 활성화 속도만 포기. 4비트 중 품질 최상급. 형식은 compressed-tensors nvfp4-pack-quantized.
  • BF16 유지 — 비전 타워·비전 투영·토큰 임베딩(lm_head와 묶임)·MoE 라우터·노름 (전체의 극히 일부).
  • 토크나이저·chat_template·processor·generation_config 는 원본과 바이트까지 동일 (구글이 2026-07에 고친 chat_template 그대로). config.json 은 원본 + quantization_config.
  • 품질 — BF16 원본 대비 perplexity·top-1 일치도로 검증(영/한 혼합셋). 8비트(AWQ INT8·FP8)가 원본에 가장 가깝고, 4비트(AWQ INT4·NVFP4)는 용량을 절반으로 줄이는 대신 품질을 조금 양보.
  • 사용 — vllm serve axteam/gemma-4-31B-it-NVFP4A16. 권장 샘플링 temperature=1.0, top_p=0.95, top_k=64.
  • KV 캐시 절감(선택, 서빙 시) — 기본은 BF16 KV(양자화 체크포인트 표준, RedHat·NVIDIA 동일). 가중치 양자화와 무관한 런타임 선택. 긴 문맥·대배치에선 vllm serve … --kv-cache-dtype fp8 로 KV 메모리 절반. (GGUF라면 llama.cpp --cache-type-k q8_0 --cache-type-v q8_0)
  • 라이선스 — 구글 Gemma 4 파생물. Gemma 4 라이선스 적용. 원본 가중치·토크나이저·chat_template 권리는 Google DeepMind.

Configuration

Architecture
Gemma4ForConditionalGeneration
Context length (tokens)
262,144
Layers
60
Hidden size
5,376
Feed-forward size
21,504
Attention heads
32
Key/value heads
16
Head dimension
256
Vocabulary size
262,144
Sliding window (tokens)
1,024
Model type
gemma4
Quantization
compressed-tensors

Identity and Version

Repository
axteam/gemma-4-31B-it-NVFP4A16
Publisher
WINSTECHNET_AX
Task
Image and text to text
Modality
Image and text
Library
transformers
Parameters
18.5B parameters
Languages
Not stated by the source
Revision
59b41f14f319902c5c9177f5d16b4fa40ab517a7
First published
2026-10-11
Last updated
2026-10-11

Files and Weights

12 files, 20.5 GB in total. The weights are 2 files totalling 20.4 GB in safetensors.

Weights2 files · 20.4 GB
Configuration5 files · 233.0 KB
Tokenizer2 files · 32.2 MB
Documentation1 file · 5.3 KB
Other1 file · 18.7 KB
Repository1 file · 1.6 KB
Every file
FileTypeSizeSHA-256
model-00001-of-00002.safetensorsWeights20.0 GB 6e6d01d04f94
model-00002-of-00002.safetensorsWeights450.1 MB 84ddd8bd6677
config.jsonConfiguration18.6 KB —
generation_config.jsonConfiguration208 B —
model.safetensors.index.jsonConfiguration209.8 KB —
processor_config.jsonConfiguration1.7 KB —
recipe.yamlConfiguration2.7 KB —
README.mdDocumentation5.3 KB —
chat_template.jinjaOther18.7 KB —
.gitattributesRepository1.6 KB —
tokenizer.jsonTokenizer32.2 MB cc8d3a0ce364
tokenizer_config.jsonTokenizer3.1 KB —

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
20.4 GB
Download from WINSTECHNET_AX

Released by WINSTECHNET_AX through its official repository on Hugging Face. Read the license.

Built From

Memory Requirements

PrecisionWeights in memory
As published20.4 GB
16-bit36.9 GB
8-bit18.5 GB
4-bit9.2 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About gemma-4-31B-it-NVFP4A16

How much GPU memory does gemma-4-31B-it-NVFP4A16 need?

About 44.3 GB at 16-bit and 11.1 GB at 4-bit: the weights (18.5B parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run gemma-4-31B-it-NVFP4A16 on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use gemma-4-31B-it-NVFP4A16 commercially?

Yes. gemma-4-31B-it-NVFP4A16 is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

What is gemma-4-31B-it-NVFP4A16's context length?

262,144 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Image and text to text

Qwen3.8-27B-NVFP4

RadixArk

The RadixArk Qwen3.8-27B-NVFP4 model is the quantized version of Qwen/Qwen3.8-27B. The quantization was produced at RadixArk using NVIDIA Model Optimizer, following a mixed NVFP4 W4A4 recipe. Run on SGLang: launch command and per-platform recipes in the Qwen3.8-27B cookbook. This model is not owned or developed by RadixArk. It is a quantized derivative of Qwen's model; see the upstream Qwen3.8-27B model card for the source model's capabilities, training information, limitations, and license. Global Developers looking to deploy an off-the-shelf, pre-quantized model in AI agent systems, chatbots, RAG systems, and other AI-powered applications. Hugging Face 08/14/2026 via…

Open weights apache-2.0 18.2B parameters 262,144 tokens Model Optimizer

Model · Image and text to text

Swift-Qwen3.8-27B-Uncensored-NVFP4

AJ Gazin

NVFP4 checkpoint of an abliterated Swift-Qwen3.8-27B (UkisAI's reasoning-efficient fine-tune of Qwen3.8-27B). For vLLM and SGLang. GGUFs for llama.cpp: The Swift 1.5 version is source). - Swift's own NVFP4 recipe, unmodified, from ukisai/Swift-Qwen3.8-27B-NVFP4, calibrated with NVIDIA ModelOpt. - MTP head and vision tower in BF16, bit-identical to the source. 21.9 GB, NVIDIA ModelOpt mixed-precision format. Needs a vLLM with ModelOpt mixed-precision support (tested on 0.29.0). No --quantization flag. Sampling, as for Swift and Qwen: temperature 1.0, topp 0.95, topk 20, minp 0. The model thinks before answering by default. Tested on an RTX 5090 (32 GB) with vLLM 0.29.0: NVFP4 layers on…

Open weights other 18.2B parameters 262,144 tokens vllm

Model · Image and text to text

Swift-1.5-Qwen3.8-27B-Uncensored-NVFP4

AJ Gazin

NVFP4 checkpoint of an abliterated Swift 1.5 Qwen3.8-27B (UkisAI's reasoning-efficient fine-tune of Qwen3.8-27B). For vLLM and SGLang. GGUFs for llama.cpp: (measured on the BF16 source). - Swift's own NVFP4 recipe, unmodified, from ukisai/Swift-Qwen3.8-27B-NVFP4, calibrated with NVIDIA ModelOpt. The module split matches UkisAI's Swift 1.5 NVFP4 exactly. - MTP head and vision tower in BF16, bit-identical to the source. 21.9 GB, NVIDIA ModelOpt mixed-precision format. Needs a vLLM with ModelOpt mixed-precision support. No --quantization flag. Sampling, as for Swift and Qwen: temperature 1.0, topp 0.95, topk 20, minp 0. The model thinks before answering by default. Same format, recipe, module…

Open weights other 18.2B parameters 262,144 tokens vllm

Model · Image and text to text

Qwen3.8-27B-Uncensored-NVFP4-v100-skinny

Tim Eastwood

Mixed-precision quantization of prepared for dnv2003/v100-skinny. - MLP gateproj, upproj, downproj, and lmhead: NVFP4, group size 16 87c9f8cf83021957d1a1a575c90c9a4eaaf7ef0c See quantization-audit.json and hfquantconfig.json for the complete machine-readable layout. This model has had safety alignment substantially removed. Use it only for lawful, controlled research and add appropriate safeguards before deployment.

Open weights apache-2.0 18.2B parameters 262,144 tokens Model Optimizer

Model · Image and text to text

Qwopus3.8-27B-Flash-NVFP4-1M

Solstice-AI

Solstice-AI/Qwopus3.8-27B-Flash-NVFP4-1M provides the official, production-grade NVIDIA NVFP4 release of Qwopus3.8-27B-Flash with a native-behaving 1,048,576-token (1M) context window. NVIDIA Blackwell-native NVFP4 Tensor Core quantization with baked 1M YaRN scaling, running without runtime flag overhead. Evaluated under the standardized benchmark harness: 1M YaRN Scaling & Quantization Suite: Solstice-AI

Open weights apache-2.0 19.2B parameters 1,048,576 tokens

Model · Image and text to text

Qwen3.8-27B-NVFP4-QAD

Local Inference Lab

WORK IN PROGRESS A mixed NVFP4/MXFP8 quantization-aware distillation of Qwen3.8-27B, trained for one epoch. The student learns from the original BF16 teacher while its MLP weights are quantized in the forward pass. Distillation updates the MLP weights and text normalization weights to account for quantization error. This is a trained distillation checkpoint, not a post-training conversion of the original weights. Attention/GDN projections and the LM head were frozen in their MXFP8 representations during distillation. Packed NVFP4 and MXFP8 weights reconstruct to the same BF16 weight values used by the student during training. The tokenizer, chat template, generation configuration and…

Open weights apache-2.0 19.2B parameters 262,144 tokens transformers