☘ ITC AI TOOLKIT · FEATURE #003

Decode GGUF.
Know your model.

Ever stared at a filename like dolphin-2.9.3-mistral-7B-32k-Q4_K_M.gguf and wondered what on earth it means? This guide breaks the code into plain English, so you can compare model files, understand the trade-offs and make a more informed download choice.

☘️ Irish Tech Connect⏱ 9-minute read🧠 GGUF · LLM basics
gguf filename guide local AI — ITC hero artwork☘️ ITC
Read the filename · know the model
Read the labelsFine-tune, base model, parameter size, context and quant.
Choose wiselyBalance file size, memory, quality and compatibility.
Skip guessworkCheck the model card and exact file before downloading.
01 / The anatomy

One filename. Lots of clues.

The supplied GGUF Filename Bible uses this example to show a common pattern. Filenames are not perfectly standardised, and not every model includes every segment, but the labels can still tell you a lot.

dolphin-2.9.3-mistral-7B-32k-Q4_K_M.gguf
dolphin2.9.3mistral7B32kQ4_K_M.gguf
01 · Fine-tune

dolphin — a model variant intended to change the base model’s behaviour.

02 · Version

2.9.3 — a release or training-version label.

03 · Base model

mistral — the foundation the variant was built on.

04 · Parameter size

7B — approximately seven billion parameters.

05 · Context label

32k — a claimed context capability, not a recommended phone setting.

06 · Quantisation

Q4_K_M — a compressed-weight format and variant.

07 · File format

.gguf — the extension used by compatible GGUF runtimes.

🧭

Filenames are clues, not guarantees

Publishers use different naming conventions, and filenames can omit details or include custom labels. Confirm architecture, context, quantisation and licence on the exact model card.

02 / Fine-tune and foundation

Who is it, and what is it built on?

🎭

Fine-tune name

Labels such as Dolphin, OpenHermes or Nous-Hermes identify a model variant or training project. A fine-tune can change instruction-following, style or task specialisation. The name alone does not prove how it behaves.

🧱

Base model

Names such as Mistral, Llama, Qwen, Gemma and Phi identify model families. The base influences architecture and capabilities; the model card tells you which foundation was used.

🔢

Version label

A number such as 2.9.3 can identify a release or training version. A higher number is not automatically better across different publishers; check release notes and evaluations.

Think of the base model as the engine and the fine-tune as a change to how it has been trained to respond. Different fine-tunes suit different tasks, so test them rather than choosing by name alone.

03 / Model size

What does 3B, 7B or 30B mean?

The “B” means billions of parameters — learned values inside the model. More parameters can help capability, but they do not guarantee better answers. Bigger models generally require more storage and memory, and may run more slowly on a phone.

Parameter rangeClass in the source guidePractical takeaway
0.5B–1BFeatherweightA sensible place to test whether a local AI setup works.
1.7B–3BFeatherweight+Often a useful starting range for mobile experiments.
7B–8BSweet spotNeeds more memory headroom; check device and runtime.
12B–14BHeavyweightUsually more comfortable on a capable laptop or desktop.
22B–24BCruiserweightPlan for substantial RAM and storage.
70B+Server classGenerally impractical for ordinary phones.

Interactive Q4_K_M file-size estimator

The source guide uses a rough rule of about 0.6 GB per billion parameters for a Q4_K_M file. This is an estimate, not a promise: actual file sizes vary.

0.5B35B70B
Estimated file size
~4.2 GB

File size only. Running the model also needs RAM for weights, runtime overhead and context/KV cache. Leave extra headroom.

🧩

MoE: total size versus active parameters

A label such as Qwen3-30B-A3B indicates a Mixture-of-Experts model with about 30B total parameters and around 3B active per token. Active parameters influence compute per token, but the full model weights still need to be stored and made available in memory. Don’t size storage as if it were only a 3B model.

04 / Read the tags

Instruct, Base, Coder, Vision and more

💬

Instruct / Chat / IT

Usually indicates instruction- or conversation-tuned behaviour. Check the model card for the exact template and intended use.

🧱

Base

A base pretrained model may not behave like a polished chat assistant without further tuning or a suitable prompt format.

👁️

Vision / VL

Suggests image capability, but you need a compatible multimodal model, runtime and any required extra files.

💻

Coder / Code

Indicates programming specialisation. Test with the languages and coding tasks you actually need.

🧮

Math / Reasoning / R1

Signals a focus on maths or reasoning-style tasks. These labels do not guarantee correctness.

🧪

Custom or niche tags

Labels such as Synth, Mag, ERP or RP vary by publisher and purpose. Read the model card rather than guessing.

⚠️

About “uncensored” and “abliterated”

These are informal labels for variants intended to alter refusal behaviour; they are not standard quality ratings. They do not guarantee accuracy, safety or suitability. Check provenance, licence and intended use.

05 / Context window

32k does not mean “set your phone to 32k”

A context window is the amount of tokenised text a model can use in one interaction, including prompt and conversation history. The advertised ceiling does not determine what is practical on your device.

4k tokens

A modest context for short conversations and simple tasks.

8k–32k tokens

More room for longer prompts and history, with higher memory demands.

128k+ tokens

A large advertised context. Support and practical performance vary; it is not automatically a good mobile setting.

📱

Mobile rule of thumb

Start with a modest context such as 2048 tokens, then increase only if the app and device remain stable. Context/KV-cache memory can grow significantly with longer context.

06 / Quantisation

The letters that make a big difference: Q4_K_M

Quantisation reduces the precision used to store model weights, often shrinking files and reducing memory requirements. Smaller files can make local inference possible on more devices, but quality and speed depend on the model, quant method and runtime.

Label familyGeneral interpretationWhen to consider it
Q2 / IQ2Very aggressive compressionOnly if memory is extremely constrained and trade-offs are acceptable.
Q3 / IQ3Smaller compressed weightsA possible fallback when a higher quant does not fit.
Q4_K_MCommon balance of file size and qualityA practical first option to compare for many GGUF models.
Q5 / Q6Typically larger, often preserving more qualityWhen hardware has extra memory and storage headroom.
Q8 / F16 / F32Higher storage and memory requirementsMore capable hardware or specialised use.
IQ variantsImportance-aware quantisation familiesCheck runtime compatibility and benchmark the exact file.
📦

Q4

Describes a 4-bit quantisation family. It does not mean every weight is stored at exactly four bits or every file has the same size.

🧠

K

Identifies a family of K-quants. Methods allocate precision differently; compatibility and quality vary by exact type.

🧰

M

In Q4_K_M, the suffix distinguishes a variant within that quant family. S/M/L labels are format-specific, not a universal quality scale.

⭐

The beginner’s starting point

If unsure, try Q4_K_M when available and supported by your runner. Compare exact file size, performance and output quality. If it does not fit, try a smaller quant or a smaller model rather than assuming one setting suits every device.

Other labels include _S, _M, _L, _XL, TQ, imatrix, bf16, f16 and f32. Meanings depend on the quantisation method and repository. An importance matrix used for quantisation is not itself a runnable chat model.

07 / The file extension

What does .gguf mean?

.gguf is a model file format used by llama.cpp and compatible tools. A GGUF file can include model weights and metadata for supported runtimes. The extension alone does not guarantee every app supports every architecture, multimodal feature or quantisation.

✅

Check the runtime

Make sure your app supports the model family, quant type and any extra files required.

📄

Read the model card

Confirm the exact repository, file name, licence and intended use before downloading.

🔐

Use trusted sources

Prefer official or reputable repositories. Verify file size or published hashes when available.

Official references: llama.cpp project ↗ · Hugging Face model browser ↗

08 / Worked examples

Practise decoding model filenames

Qwen2.5-Coder-3B-Instruct-Q4_K_M.gguf
Qwen2.5Coder3BInstructQ4_K_M.gguf

Plain English: a Qwen 2.5-family model labelled for coding, about 3B parameters, instruction-tuned, with Q4_K_M quantisation in GGUF format. Confirm exact details on its repository.

Llama-3.2-3B-Instruct-Q4_K_M.gguf
Llama-3.23BInstructQ4_K_M.gguf

Plain English: a Llama 3.2-family model with 3B parameters, instruction tuning and a Q4_K_M GGUF file.

Qwen3-30B-A3B-Instruct-2507-Q4_K_M.gguf
Qwen330B-A3BInstruct2507Q4_K_M.gguf

Plain English: a Qwen3-family MoE label with about 30B total and 3B active parameters per token, instruction tuning, a date-style tag and Q4_K_M quantisation. Full weight storage can still be large.

These examples follow the supplied Bible’s terminology. A filename is not a substitute for the exact model card; interpret date-style labels using the publisher’s release notes.

09 / The 5-second decoder

Use this checklist before you click Download

Who trained it?

Identify the fine-tune or publisher and check the model card.

Which foundation?

Look for Llama, Qwen, Mistral, Gemma, Phi or another base family.

How large?

Read the parameter count and estimate file size and memory needs.

What can it do?

Look for Instruct, Coder, Vision or other tags, then verify them.

How much context?

Treat advertised context as a capability, not a device setting.

Which quant?

Consider Q4_K_M if compatible; compare exact files.

Is it GGUF?

Confirm your runner supports the file and architecture.

Trusted source?

Check publisher, licence, size and integrity information.

10 / Frequently asked questions

GGUF filenames: quick answers

What does Q4_K_M mean?

It is a quantisation label used by certain GGUF model files. It indicates a Q4 K-quant variant with the M suffix. It is a common starting point, but exact size and quality vary.

Does a 7B model need only 4.2 GB RAM?

No. The 0.6 GB-per-billion rule estimates file size, not total runtime memory. RAM also covers loaded weights, context/KV cache, runtime overhead and the operating system.

Can I use 32k context on every phone?

No. The model may support that ceiling, but the app, memory and settings determine what is practical. Start with a smaller context and increase carefully.

Is Q4_K_M always the best quant?

No. It is a practical baseline to test when supported. A smaller quant or model may suit constrained memory; compare higher-quality variants when you have headroom.

Can every .gguf run in every local AI app?

No. App support varies by architecture, quantisation, multimodal requirements and runtime version. Confirm compatibility before downloading a large file.

What does “uncensored” mean in a filename?

It is an informal label for a variant intended to alter refusal behaviour, not a standard benchmark or quality guarantee. Check provenance, behaviour, licence and suitability.

Your model. Your choice.

Read the filename. Check the facts. Download smarter.

Once you understand the labels, you can make a better first choice — and spend less time downloading files your device or app cannot comfortably run.

Explore models on Hugging Face ↗

Irish Tech Connect · Practical technology. Smarter digital choices. ☘️

Continue your local AI journey

More from Irish Tech Connect

📱

Install Local AI on Android

Follow our guide to runner apps, GGUF downloads and device-aware settings.

Explore more from ITC →

Source note

Built from the GGUF Filename Bible

This article is based on the supplied “The GGUF Filename Bible” document. Its terminology and examples have been adapted into a visitor-friendly guide. Broad rules of thumb are presented as estimates; verify exact details against the current model card and runtime documentation.

Disclaimer: This is an educational guide, not a hardware compatibility guarantee. Model formats, quantisation methods, licences and app support vary. Inspect the exact repository and use trusted downloads.

Share This: