ModelsReviewed · unsloth

Unsloth Gemma 4 31B-it GGUF

Unsloth's GGUF-format packaging of Google DeepMind's Gemma 4 31B instruction-tuned open model, for people who want to run a large text-and-image model on their own hardware; the main catch is that the card gives no file list, quantisation sizes or hardware requirements for the GGUF files. The 31B model is a dense model with about 30.7B parameters, a 256K-token context window, a configurable thinking mode, native function calling and text-plus-image input (no audio). The card reuses Google's Gemma 4 model card, so its benchmarks and code snippets describe the original model, not the quantised GGUF files.

Researched 14 Nov 2026

In short.

This is Unsloth's GGUF packaging of Google DeepMind's Gemma 4 31B instruction-tuned model, aimed at developers and enthusiasts who want a large open multimodal model on their own machines; the main catch is that the card says nothing about which GGUF files exist, how big they are or what hardware they need. Technically, the 31B model is dense (about 30.7B parameters, 60 layers) with a 256K-token context window, text and image input, text output, a configurable thinking mode and native function calling. The benchmark figures and code snippets on the card are Google's and use the original google/gemma-4-31B-it repository, so how well the quantised GGUF files match those numbers is not shown. The card provides upstream examples and benchmark claims, but no GGUF-specific execution results, performance measurements or compatibility results.

Researched and written by an AI model and checked by a second AI model. How it works

Scope is the complete model card for unsloth/gemma-4-31B-it-GGUF at the pinned revision c1ac76e99d5513b141e8adde7288b85c3f9c32ec, captured on 14 November 2026, including its metadata block with the licence declaration. Pages the card links to are not included, and neither are the GGUF files, the repository file list, the Unsloth guides, the MTP guide, the Dynamic 2.0 benchmark page and the Gemma 4 licence page. The benchmark figures, safety statements and code snippets are Google's, reproduced on the card, and are not independently verified. The card provides upstream examples and benchmark claims, but no GGUF-specific execution results, performance measurements or compatibility results, so speed, memory use, quantisation quality and runtime compatibility are unknown.

The overview

What this resource is

This is the model card (README) for the Hugging Face repository unsloth/gemma-4-31B-it-GGUF at the pinned revision c1ac76e99d5513b141e8adde7288b85c3f9c32ec. The repository is Unsloth's GGUF packaging of Google DeepMind's Gemma 4 31B instruction-tuned model. The card's metadata names google/gemma-4-31B-it as the base model, lists the pipeline as image-text-to-text, and tags it gemma4, unsloth, gemma and google.

The top of the card is Unsloth's own material: links to a How to Run Gemma 4 guide, to Unsloth Dynamic 2.0 GGUF quantisation benchmarks, to Unsloth Studio and to a collection of other Gemma 4 versions (GGUF, 16-bit and others). Two dated update notes appear: Jun 9, which says MTP support was added with a link to an MTP guide, and Apr 11, which says to re-download for Google's latest chat template and llama.cpp fixes. Neither note gives a year, and the card does not say what MTP stands for. Below that, the card reproduces Google's Gemma 4 model card.

The repository name and the card identify this as a GGUF release, and the card refers to Unsloth Dynamic 2.0 GGUFs for its quantisation benchmarks. The card does not define GGUF, and it does not list the individual GGUF files or quantisation levels in the repository.

Overall assessment

On the evidence, this is a substantive, well-documented entry point to a capable open-weight model. The card gives concrete architecture figures, a benchmark table against the previous generation, recommended sampling settings, thinking-mode mechanics and image-budget guidance.

The main catch is the gap between the card and the GGUF files. Almost everything below the Unsloth header is Google's text for the original model. The card does not list quantisation variants, file sizes, memory needs or speed, and it does not report quality results for the quantised files. It points to an Unsloth benchmark page for that, which is linked but not reproduced on the card. Treat the capability claims as claims about Gemma 4 31B-it, and check the GGUF repository's file list and the linked Unsloth guide before choosing a file.

The card provides upstream examples and benchmark claims, but no GGUF-specific execution results, performance measurements or compatibility results.

Who it suits

The card's intended uses are content creation and communication (text generation, chatbots, summarisation, extracting data from images) and research and education (NLP and vision-language research, language learning, exploring large bodies of text). It also describes the models as suited to coding, reasoning and agentic workflows with function calling.

Practically, it suits developers, hobbyists and researchers who want to run a large open model locally or on their own servers. The card says Gemma 4 can be run and fine-tuned in Unsloth Studio, but that is a statement about the Gemma 4 family. The card does not say that these GGUF files themselves can be fine-tuned, and it does not establish a fine-tuning procedure for this GGUF release.

It is a poor fit for anyone who needs audio input, because the card says audio is only on the E2B and E4B models and the 31B has no audio encoder. Hardware suitability is unknown because the card supplies no GGUF memory requirements. The card describes the smaller E2B and E4B models as the on-device options.

What it can do

For the 31B model the card states: text and image input with text output; a context window of 256K tokens; a built-in thinking mode; native function calling for structured tool use; native support for the system role; code generation, completion and correction; and multilingual support (35+ languages out of the box, pre-trained on 140+).

Image understanding is listed as object detection, document and PDF parsing, screen and UI understanding, chart comprehension, OCR (including multilingual), handwriting recognition and pointing, at variable aspect ratios and resolutions. Video is handled as a sequence of frames, with text and images freely interleaved in one prompt.

Google's reported results for 31B, which are vendor-reported and not independently verified, include MMLU Pro 85.2%, AIME 2026 without tools 89.2%, LiveCodeBench v6 80.0%, Codeforces ELO 2150, GPQA Diamond 84.3%, Tau2 76.9%, MMMLU 88.4%, MMMU Pro 76.9%, MATH-Vision 85.6%, OmniDocBench 1.5 edit distance 0.131 (lower is better) and MRCR v2 8-needle at 128k 66.4%. The Gemma 3 27B column (no thinking) shows 67.6% on MMLU Pro, 20.8% on AIME 2026, 29.1% on LiveCodeBench and 110 on Codeforces ELO. The card does not describe the evaluation setups, so the figures cannot be compared with other vendors' numbers on this evidence.

Audio (speech recognition and translation) is supported only on E2B and E4B, so it does not apply to this 31B repository.

Using it

What you need

Hardware requirements for the GGUF files are not stated, including RAM, VRAM, disk space and supported operating systems. As rough arithmetic, not a card figure, 30.7B parameters at 16-bit precision is about 61 GB of weights alone. It is an inference, not a card statement, that the quantised GGUF files would be smaller than that; their actual file sizes and quantisation levels are unknown from the card. A long context also needs extra memory, and the card gives no figure for that either.

For the Transformers route shown in the card, you need Python with pip install -U transformers torch accelerate. Image use adds torchvision. Video use adds torchvision, torchcodec and librosa. The card says all Gemma 4 models work with the latest version of Transformers but gives no minimum version.

For GGUF use you need a runtime that can load the files. The card names llama.cpp and Unsloth Studio, and says the chat template and llama.cpp fixes were updated on Apr 11, so older downloads may need replacing. Whether a given runtime supports image input with these GGUF files, for example whether an image projector file is included, is not stated on the card.

How it works

The 31B model is a dense decoder with 60 layers, a vocabulary of about 262K, a 1024-token sliding window, a 256K context and a vision encoder of about 550M parameters. The card describes a hybrid attention design that interleaves local sliding-window layers with full global attention, always ending on a global layer. To save memory on long contexts, the global layers use unified Keys and Values and Proportional RoPE (p-RoPE).

Thinking is controlled with tokens in the prompt. Putting the token <|think|> at the start of the system prompt turns thinking on, and removing it turns it off. With thinking on, the output has the form <|channel>thought, then the reasoning, then <channel|>, then the answer. For the 31B and the 26B A4B, with thinking off the model still emits the channel tags with an empty thought block. Code that reads the output has to allow for that. The card notes that Transformers and llama.cpp handle the chat template for you.

In multi-turn chats, only the final answer should go back into the history; thoughts from earlier turns must not be added. For multimodal prompts, the card says to put image content before the text. Image detail is set by a visual token budget of 70, 140, 280, 560 or 1120: lower budgets for classification, captioning or video, higher budgets for OCR, document parsing or small text.

The card links to Unsloth Dynamic 2.0 GGUFs for its quantisation benchmarks, but it does not explain the quantisation method or report quantisation results on this page.

Getting started

The card gives two routes. The first is the Unsloth route: read the How to Run Gemma 4 guide at [https://docs.unsloth.ai/models/gemma-4]. That guide's contents are not reproduced on the card, so the commands, file choices and settings for running the GGUF files are unknown from this evidence. The card also says Gemma 4 can be run and fine-tuned in Unsloth Studio; that statement is about the Gemma 4 family, and the card does not establish a fine-tuning procedure for this GGUF release.

The second is the Transformers route in the card's Getting Started section. Install with pip install -U transformers torch accelerate. Then load AutoProcessor and AutoModelForCausalLM from the MODEL_ID google/gemma-4-31B-it with dtype auto and device_map auto. For images and video, use AutoModelForMultimodalLM instead and install the extra packages listed above. This loads Google's original repository, not the GGUF files in this repository.

Recommended generation settings for all uses are temperature 1.0, top_p 0.95 and top_k 64. Set enable_thinking=True in the chat template call to turn reasoning on, and use the processor's parse_response to separate the thinking from the answer. The card provides upstream examples and benchmark claims, but no GGUF-specific execution results, performance measurements or compatibility results.

Worked example from the card

The card's basic text example sends two messages: a system message saying You are a helpful assistant, and a user message asking for a short joke about saving RAM. It builds the prompt with apply_chat_template (tokenize=False, add_generation_prompt=True, enable_thinking=False), generates up to 1024 new tokens, decodes the reply and runs parse_response on it.

The image example sends one user message with an image URL (a Golden Gate picture from Google's cookbook repository) placed before the text What is shown in this image?, and generates up to 512 tokens. The video example does the same with a video URL and the text Describe this video.

These snippets are upstream examples quoted from the card, and the card shows no output for them. The card provides upstream examples and benchmark claims, but no GGUF-specific execution results, performance measurements or compatibility results. The audio snippet in the card uses the E2B model, not this 31B model.

Assessment & evidence

Limitations and risks

Limits stated by the card: the model can produce incorrect or outdated facts because it is not a knowledge base; it may struggle with sarcasm, figurative language and subtle nuance; it may lack common sense in some situations; open-ended or highly complex tasks can be hard; and gaps or biases in the training data limit what it handles well. Google's own table shows HLE at 19.5% without tools and 26.5% with search for the 31B, so very hard questions remain unreliable.

Safety: the card says Gemma 4 was evaluated for child-safety, dangerous content, sexually explicit content, hate speech and harassment, and reports major improvements over Gemma 3 and 3n while keeping unjustified refusals low. No numbers are given. The card also says testing was done without safety filters. It tells developers to add their own content safeguards, watch for bias and follow privacy rules.

Specific to this resource: the benchmark figures describe Google's instruction-tuned model, not the quantised GGUF files; quantisation quality loss is not quantified on this page; image support in GGUF runtimes is not documented on the card; audio is not available on 31B; video is limited to 60 seconds at one frame per second; and the thinking-off output still contains empty channel tags that code must handle. The card also names MTP support without explaining it.

Why these conclusions

The conclusions follow from the card's own content. The architecture table, capability list, recommended settings and thinking-mode mechanics are specific and consistent with each other. The Unsloth header shows this is a repackaging of the Google model and not a separate model. The metadata names google/gemma-4-31B-it as the base, and the code snippets load that repository.

The benchmark table is vendor-reported, and the card offers no independent verification of it. It compares Gemma 4 sizes with Gemma 3 27B only. Because the evaluation setups are not given, the card does not support ranking the model against other vendors' models. The card provides upstream examples and benchmark claims, but no GGUF-specific execution results, performance measurements or compatibility results, so the speed, memory use, output quality and runtime compatibility of the GGUF files are unknown.

Alternatives

Within the same family, the card describes three other sizes. The 26B A4B mixture-of-experts model has 25.2B total and 3.8B active parameters and a 256K context, and the card says it runs much faster than the dense 31B. Google's table shows lower scores on most tasks, for example MMLU Pro 82.6% against 85.2% and LiveCodeBench v6 77.1% against 80.0%, with a bigger drop on Codeforces ELO (1718 against 2150). The E4B and E2B models (128K context, text, image and audio) are meant for laptops and phones and score noticeably lower, for example 69.4% and 60.0% on MMLU Pro. Gemma 3 27B (no thinking) has worse reported results than Gemma 4 31B on the comparable metrics. For OmniDocBench 1.5 and FLEURS, lower numbers are better: Gemma 3 27B's OmniDocBench score is 0.365 against 0.131 for Gemma 4 31B, and the table gives no FLEURS figure for either of those two models.

Unsloth also lists other Gemma 4 versions, including 16-bit, in a collection linked from the card. If you want to use Hugging Face Transformers directly, the original google/gemma-4-31B-it repository is the one the card's code uses.

Open models from other vendors are not covered by the evidence, so no comparison with them is made.

Evidence and its limits

The only evidence is the complete model card text at the pinned revision c1ac76e99d5513b141e8adde7288b85c3f9c32ec of the Hugging Face repository unsloth/gemma-4-31B-it-GGUF, captured on 14 November 2026. It includes the metadata block with the licence declaration, Unsloth's update notes and Google's model card text.

Linked pages and other repository content are not part of this evidence, including the Unsloth guides, the MTP guide, the Dynamic 2.0 benchmark page, the Gemma 4 licence page, the Google documentation and launch blog, the repository's file list and the GGUF files. The card does not reproduce what those contain. The card provides upstream examples and benchmark claims, but no GGUF-specific execution results, performance measurements or compatibility results.

Access & freshness

Costs

The card states no price, subscription or usage fee for the model files. Cost therefore depends on where you run it, and the card gives no figures for that. Running it locally needs hardware that can hold a roughly 31B-parameter model, and the price of that hardware, or of hosted GPU time, is unknown. Electricity, storage and bandwidth for the download are also unknown.

The card mentions Unsloth Studio and an Unsloth Discord community but does not say whether Unsloth Studio, or any hosted service, has fees. That is unknown.

Licence and rights

The card's metadata declares license: apache-2.0 and gives a license_link of [https://ai.google.dev/gemma/docs/gemma_4_license]. The card header repeats License: Apache 2.0 with the same link and credits the authors as Google DeepMind. The licence page itself is not reproduced on the card, so its exact text and any extra terms or use policies are not confirmed by this evidence. Read it before commercial use or redistribution.

The card does not say whether Unsloth's quantised files carry any terms beyond those declared, and it does not discuss the training data's own rights. It describes the training data only in general terms (web documents, code, mathematics, images, with a cutoff of January 2025). It says CSAM filtering and filtering of certain personal and sensitive information were applied.

Freshness

The card was captured on 14 November 2026 at the pinned revision c1ac76e99d5513b141e8adde7288b85c3f9c32ec, so any later edits to the repository are not reflected. The card carries two update notes, Jun 9 (MTP support added) and Apr 11 (re-download for the latest chat template and llama.cpp fixes), but neither gives a year, so their exact dates cannot be placed from this evidence. The Apr 11 note implies earlier downloads may be out of date. The card reports a January 2025 pre-training data cutoff; knowledge of later events is not established.

Version numbers for Transformers, llama.cpp or Unsloth Studio are not given, and the card provides no GGUF-specific compatibility results, so which runtime versions work with these files is unknown.

What to do next

Before downloading, open the repository's file list and pick a quantisation level that fits your memory, then read the Unsloth How to Run Gemma 4 guide. If you downloaded before the Apr 11 update, the card says to re-download. Check the Gemma 4 licence page linked from the card before commercial use or redistribution.

Test the files on your own prompts and hardware. In particular, check image input in your chosen runtime, because the card does not say it works with these GGUF files. Use the card's sampling settings (temperature 1.0, top_p 0.95, top_k 64) as a starting point. Handle the thinking tags in your output parsing, and add your own content safeguards if the model faces end users.

If memory or speed is a problem, the card points to the 26B A4B model for faster inference or the E4B and E2B models for devices with less memory.

Evidence for this report

selected-page.txtselected · checked 2026-11-14