GraySoft
Projects Models Compare Cloud benchmarks FAQ Download guIDE →
Model Intelligence Sheet

giladgd/gemma-4-31B-it-GGUF overview

gemma 4 31B it GGUF NOTE Read our blog post https://node llama cpp.withcat.ai/blog/v3.19 gemma 4 to learn more about using Gemma 4 with node llama cpp Static q…

node-llama-cppggufllama.cppconversationalimage-text-to-textbase_model:google/gemma-4-31B-itbase_model:quantized:google/gemma-4-31B-itlicense:apache-2.0endpoints_compatibleregion:us

Runs locally from ~490.8 MB disk (4 GB VRAM class GPUs with llama.cpp / guIDE).

Downloads
19
Likes
0
Pipeline
image-text-to-text
Author

Repository Files & Downloads

17 GGUF files detected
Direct downloads for local inference
FileTypeQuantizationSizeLink
gemma-4-31B-it.BF16.ggufGGUFGGUF57.20 GBDownload
gemma-4-31B-it.Q2_K.ggufGGUFGGUF11.10 GBDownload
gemma-4-31B-it.Q3_K_L.ggufGGUFGGUF15.49 GBDownload
gemma-4-31B-it.Q3_K_M.ggufGGUFGGUF14.24 GBDownload
gemma-4-31B-it.Q3_K_S.ggufGGUFGGUF12.82 GBDownload
gemma-4-31B-it.Q4_0.ggufGGUFGGUF16.44 GBDownload
gemma-4-31B-it.Q4_K_M.ggufGGUFGGUF17.40 GBDownload
gemma-4-31B-it.Q4_K_S.ggufGGUFGGUF16.54 GBDownload
gemma-4-31B-it.Q5_0.ggufGGUFGGUF19.85 GBDownload
gemma-4-31B-it.Q5_K_M.ggufGGUFGGUF20.35 GBDownload
gemma-4-31B-it.Q5_K_S.ggufGGUFGGUF19.85 GBDownload
gemma-4-31B-it.Q6_K.ggufGGUFGGUF23.47 GBDownload
gemma-4-31B-it.Q8_0.ggufGGUFGGUF30.39 GBDownload
mmproj/gemma-4-31B-it.mmproj.BF16.ggufGGUFGGUF1.12 GBDownload
mmproj/gemma-4-31B-it.mmproj.Q8_0.ggufGGUFGGUF772.0 MBDownload
mtp/gemma-4-31B-it.mtp.BF16.ggufGGUFGGUF910.6 MBDownload
mtp/gemma-4-31B-it.mtp.Q8_0.ggufGGUFGGUF490.8 MBDownload

Model Details

Model IDgiladgd/gemma-4-31B-it-GGUF
Authorgiladgd
Pipelineimage-text-to-text
Licenseapache-2.0
Base modelgoogle/gemma-4-31B-it
Last modified2026-06-28T22:22:40.000Z

Model README

---

library_name: node-llama-cpp

license: apache-2.0

license_link: https://ai.google.dev/gemma/docs/gemma_4_license

pipeline_tag: image-text-to-text

base_model: google/gemma-4-31B-it

quantized_by: giladgd

tags:

  • node-llama-cpp
  • llama.cpp
  • conversational

---

gemma-4-31B-it-GGUF

> [!NOTE]

> Read our blog post to learn more about using Gemma 4 with node-llama-cpp

Static quants of google/gemma-4-31B-it.

Quants

| Link | URI | Quant | Size |

|:-----|:--------------------------------------------------|:------|-----:|

| GGUF | hf:giladgd/gemma-4-31B-it-GGUF:Q2_K | Q2_K | 11.9GB |

| GGUF | hf:giladgd/gemma-4-31B-it-GGUF:Q3_K_S | Q3_K_S | 13.8GB |

| GGUF | hf:giladgd/gemma-4-31B-it-GGUF:Q3_K_M | Q3_K_M | 15.3GB |

| GGUF | hf:giladgd/gemma-4-31B-it-GGUF:Q3_K_L | Q3_K_L | 16.6GB |

| GGUF | hf:giladgd/gemma-4-31B-it-GGUF:Q4_0 | Q4_0 | 17.7GB |

| GGUF | hf:giladgd/gemma-4-31B-it-GGUF:Q4_K_S | Q4_K_S | 17.8GB |

| GGUF | hf:giladgd/gemma-4-31B-it-GGUF:Q4_K_M | Q4_K_M | 18.7GB |

| GGUF | hf:giladgd/gemma-4-31B-it-GGUF:Q5_0 | Q5_0 | 21.3GB |

| GGUF | hf:giladgd/gemma-4-31B-it-GGUF:Q5_K_S | Q5_K_S | 21.3GB |

| GGUF | hf:giladgd/gemma-4-31B-it-GGUF:Q5_K_M | Q5_K_M | 21.8GB |

| GGUF | hf:giladgd/gemma-4-31B-it-GGUF:Q6_K | Q6_K | 25.2GB |

| GGUF | hf:giladgd/gemma-4-31B-it-GGUF:Q8_0 | Q8_0 | 32.6GB |

| GGUF | hf:giladgd/gemma-4-31B-it-GGUF:BF16 | BF16 | 61.4GB |

> [!TIP]

> Download a quant using node-llama-cpp (more info):

> ```bash

> npx -y node-llama-cpp pull <URI>

> ```

Usage

Use with node-llama-cpp (recommended)

Ensure you have node.js installed:

brew install nodejs

CLI

Chat with the model:

npx -y node-llama-cpp chat hf:giladgd/gemma-4-31B-it-GGUF:Q4_K_M

Code

Use it in your project:

npm install node-llama-cpp
import {getLlama, resolveModelFile, LlamaChatSession} from "node-llama-cpp";

const modelUri = "hf:giladgd/gemma-4-31B-it-GGUF:Q4_K_M";


const llama = await getLlama();
const model = await llama.loadModel({
    modelPath: await resolveModelFile(modelUri)
});
const context = await model.createContext();
const session = new LlamaChatSession({
    contextSequence: context.getSequence()
});


const q1 = "Hi there, how are you?";
console.log("User: " + q1);

const a1 = await session.prompt(q1);
console.log("AI: " + a1);

> [!TIP]

> Read the getting started guide to quickly scaffold a new node-llama-cpp project

Use with llama.cpp

Install llama.cpp through brew (works on Mac and Linux)

brew install llama.cpp

CLI

llama-cli -hf giladgd/gemma-4-31B-it-GGUF:Q4_K_M -p "The meaning to life and the universe is"

Server

llama-server -hf giladgd/gemma-4-31B-it-GGUF:Q4_K_M -c 2048

Run giladgd/gemma-4-31B-it-GGUF with guIDE

Download guIDE — the AI-native code editor with local LLM inference and 69 built-in tools.

Download guIDE → · Browse 524k+ models · Compare models

Source: Hugging Face · Compare models