alt.freeweights.qwen / Qwen_Qwen3-4B-Thinking-2507-GGUF
From: bartowski <huggingface.co/bartowski>Newsgroups: alt.freeweights.qwenSubject:

Qwen_Qwen3-4B-Thinking-2507-GGUF

Date: 2026-11-15Commit: ba7f9bcSigned: 2DC28CC7B26A283B ✓

Text generation model. Gguf weights, 63.8 GB in all. Published by bartowski under Apache-2.0.

qwen63.8GBQwen_Qwen3-4B-Thinking-2507-GGUFggufpermissive
FactsParamsnot statedSize63.8 GBFormatsggufTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get bartowski/Qwen_Qwen3-4B-Thinking-2507-GGUF
# manifest sha256 8ff73ad28791… · 63.8 GB · 27 files
$ fw verify ./Qwen_Qwen3-4B-Thinking-2507-GGUF bartowski/Qwen_Qwen3-4B-Thinking-2507-GGUF
From sourceHosted (signed)bartowski/Qwen_Qwen3-4B-Thinking-2507-GGUFLast check: 2026-11-15 04:50 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Quantized of Qwen3-4B-Thinking-2507.

Works with

Convert with

Overview

Size
63.8 GB
Weights
3.87 MB (smallest of 25 GGUF variants)
Parameters
not stated
Formats
gguf
Task
text generation
License
Apache-2.0 (permissive)
Files
27, each with a sha256
Publisher
bartowski
Added
2026-11-15
Section
alt.freeweights.qwen
Lineage

Original release from the publisher.

Base model: Qwen/Qwen3-4B-Thinking-2507

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 04:50 UTCpassed

Model card

From the publisher at commit ba7f9bc. Shown as plain text with links; images open at the publisher.

Llamacpp imatrix Quantizations of Qwen3-4B-Thinking-2507 by Qwen#

Using llama.cpp release b6096 for quantization.

Original model: https://huggingface.co/Qwen/Qwen3-4B-Thinking-2507

All quants made using imatrix option with dataset from here

Run them in LM Studio

Run them directly with llama.cpp, or any other llama.cpp based project

Prompt format#

<|im_start|>system
{system_prompt}<|im_end|>
<|im_start|>user
{prompt}<|im_end|>
<|im_start|>assistant
<think>

Download a file (not the whole branch) from below:#

FilenameQuant typeFile SizeSplitDescription
Qwen3-4B-Thinking-2507-bf16.ggufbf168.05GBfalseFull BF16 weights.
Qwen3-4B-Thinking-2507-Q8_0.ggufQ8_04.28GBfalseExtremely high quality, generally unneeded but max available quant.
Qwen3-4B-Thinking-2507-Q6_K_L.ggufQ6_K_L3.40GBfalseUses Q8_0 for embed and output weights. Very high quality, near perfect, recommended.
Qwen3-4B-Thinking-2507-Q6_K.ggufQ6_K3.31GBfalseVery high quality, near perfect, recommended.
Qwen3-4B-Thinking-2507-Q5_K_L.ggufQ5_K_L2.98GBfalseUses Q8_0 for embed and output weights. High quality, recommended.
Qwen3-4B-Thinking-2507-Q5_K_M.ggufQ5_K_M2.89GBfalseHigh quality, recommended.
Qwen3-4B-Thinking-2507-Q5_K_S.ggufQ5_K_S2.82GBfalseHigh quality, recommended.
Qwen3-4B-Thinking-2507-Q4_1.ggufQ4_12.60GBfalseLegacy format, similar performance to Q4_K_S but with improved tokens/watt on Apple silicon.
Qwen3-4B-Thinking-2507-Q4_K_L.ggufQ4_K_L2.59GBfalseUses Q8_0 for embed and output weights. Good quality, recommended.
Qwen3-4B-Thinking-2507-Q4_K_M.ggufQ4_K_M2.50GBfalseGood quality, default size for most use cases, recommended.
Qwen3-4B-Thinking-2507-Q4_K_S.ggufQ4_K_S2.38GBfalseSlightly lower quality with more space savings, recommended.
Qwen3-4B-Thinking-2507-Q4_0.ggufQ4_02.38GBfalseLegacy format, offers online repacking for ARM and AVX CPU inference.
Qwen3-4B-Thinking-2507-IQ4_NL.ggufIQ4_NL2.38GBfalseSimilar to IQ4_XS, but slightly larger. Offers online repacking for ARM CPU inference.
Qwen3-4B-Thinking-2507-Q3_K_XL.ggufQ3_K_XL2.33GBfalseUses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability.
Qwen3-4B-Thinking-2507-IQ4_XS.ggufIQ4_XS2.27GBfalseDecent quality, smaller than Q4_K_S with similar performance, recommended.
Qwen3-4B-Thinking-2507-Q3_K_L.ggufQ3_K_L2.24GBfalseLower quality but usable, good for low RAM availability.
Qwen3-4B-Thinking-2507-Q3_K_M.ggufQ3_K_M2.08GBfalseLow quality.
Qwen3-4B-Thinking-2507-IQ3_M.ggufIQ3_M1.96GBfalseMedium-low quality, new method with decent performance comparable to Q3_K_M.
Qwen3-4B-Thinking-2507-Q3_K_S.ggufQ3_K_S1.89GBfalseLow quality, not recommended.
Qwen3-4B-Thinking-2507-IQ3_XS.ggufIQ3_XS1.81GBfalseLower quality, new method with decent performance, slightly better than Q3_K_S.
Qwen3-4B-Thinking-2507-Q2_K_L.ggufQ2_K_L1.76GBfalseUses Q8_0 for embed and output weights. Very low quality but surprisingly usable.
Qwen3-4B-Thinking-2507-IQ3_XXS.ggufIQ3_XXS1.67GBfalseLower quality, new method with decent performance, comparable to Q3 quants.
Qwen3-4B-Thinking-2507-Q2_K.ggufQ2_K1.67GBfalseVery low quality but surprisingly usable.
Qwen3-4B-Thinking-2507-IQ2_M.ggufIQ2_M1.51GBfalseRelatively low quality, uses SOTA techniques to be surprisingly usable.

Embed/output weights#

Some of these quants (Q3_K_XL, Q4_K_L etc) are the standard quantization method with the embeddings and output weights quantized to Q8_0 instead of what they would normally default to.

Downloading using huggingface-cli#

Click to view download instructions

First, make sure you have hugginface-cli installed:

pip install -U "huggingface_hub[cli]"

Then, you can target the specific file you want:

huggingface-cli download bartowski/Qwen_Qwen3-4B-Thinking-2507-GGUF --include "Qwen_Qwen3-4B-Thinking-2507-Q4_K_M.gguf" --local-dir ./

If the model is bigger than 50GB, it will have been split into multiple files. In order to download them all to a local folder, run:

huggingface-cli download bartowski/Qwen_Qwen3-4B-Thinking-2507-GGUF --include "Qwen_Qwen3-4B-Thinking-2507-Q8_0/*" --local-dir ./

You can either specify a new local-dir (Qwen_Qwen3-4B-Thinking-2507-Q8_0) or download them all in place (./)

ARM/AVX information#

Previously, you would download Q4_0_4_4/4_8/8_8, and these would have their weights interleaved in memory in order to improve performance on ARM and AVX machines by loading up more data in one pass.

Now, however, there is something called "online repacking" for weights. details in this PR. If you use Q4_0 and your hardware would benefit from repacking weights, it will do it automatically on the fly.

As of llama.cpp build b4282 you will not be able to run the Q4_0_X_X files and will instead need to use Q4_0.

Additionally, if you want to get slightly better quality for , you can use IQ4_NL thanks to this PR which will also repack the weights for ARM, though only the 4_4 for now. The loading time may be slower but it will result in an overall speed incrase.

Click to view Q4_0_X_X information (deprecated

I'm keeping this section to show the potential theoretical uplift in performance from using the Q4_0 with online repacking.

Click to view benchmarks on an AVX2 system (EPYC7702)

modelsizeparamsbackendthreadstestt/s% (vs Q4_0)
qwen2 3B Q4_01.70 GiB3.09 BCPU64pp512204.03 ± 1.03100%
qwen2 3B Q4_01.70 GiB3.09 BCPU64pp1024282.92 ± 0.19100%
qwen2 3B Q4_01.70 GiB3.09 BCPU64pp2048259.49 ± 0.44100%
qwen2 3B Q4_01.70 GiB3.09 BCPU64tg12839.12 ± 0.27100%
qwen2 3B Q4_01.70 GiB3.09 BCPU64tg25639.31 ± 0.69100%
qwen2 3B Q4_01.70 GiB3.09 BCPU64tg51240.52 ± 0.03100%
qwen2 3B Q4_K_M1.79 GiB3.09 BCPU64pp512301.02 ± 1.74147%
qwen2 3B Q4_K_M1.79 GiB3.09 BCPU64pp1024287.23 ± 0.20101%
qwen2 3B Q4_K_M1.79 GiB3.09 BCPU64pp2048262.77 ± 1.81101%
qwen2 3B Q4_K_M1.79 GiB3.09 BCPU64tg12818.80 ± 0.9948%
qwen2 3B Q4_K_M1.79 GiB3.09 BCPU64tg25624.46 ± 3.0483%
qwen2 3B Q4_K_M1.79 GiB3.09 BCPU64tg51236.32 ± 3.5990%
qwen2 3B Q4_0_8_81.69 GiB3.09 BCPU64pp512271.71 ± 3.53133%
qwen2 3B Q4_0_8_81.69 GiB3.09 BCPU64pp1024279.86 ± 45.63100%
qwen2 3B Q4_0_8_81.69 GiB3.09 BCPU64pp2048320.77 ± 5.00124%
qwen2 3B Q4_0_8_81.69 GiB3.09 BCPU64tg12843.51 ± 0.05111%
qwen2 3B Q4_0_8_81.69 GiB3.09 BCPU64tg25643.35 ± 0.09110%
qwen2 3B Q4_0_8_81.69 GiB3.09 BCPU64tg51242.60 ± 0.31105%

Q4_0_8_8 offers a nice bump to prompt processing and a small bump to text generation

Which file should I choose?#

Click here for details

A great write up with charts showing various performances is provided by Artefact2 here

The first thing to figure out is how big a model you can run. To do this, you'll need to figure out how much RAM and/or VRAM you have.

If you want your model running as FAST as possible, you'll want to fit the whole thing on your GPU's VRAM. Aim for a quant with a file size 1-2GB smaller than your GPU's total VRAM.

If you want the absolute maximum quality, add both your system RAM and your GPU's VRAM together, then similarly grab a quant with a file size 1-2GB Smaller than that total.

Next, you'll need to decide if you want to use an 'I-quant' or a 'K-quant'.

If you don't want to think too much, grab one of the K-quants. These are in format 'QX_K_X', like Q5_K_M.

If you want to get more into the weeds, you can check out this extremely useful feature chart:

llama.cpp feature matrix

But basically, if you're aiming for below Q4, and you're running cuBLAS (Nvidia) or rocBLAS (AMD), you should look towards the I-quants. These are in format IQX_X, like IQ3_M. These are newer and offer better performance for their size.

These I-quants can also be used on CPU, but will be slower than their K-quant equivalent, so speed vs performance is a tradeoff you'll have to decide.

Credits#

Thank you kalomaze and Dampf for assistance in creating the imatrix calibration dataset.

Thank you ZeroWw for the inspiration to experiment with embed/output.

Thank you to LM Studio for sponsoring my work.

Want to support my work? Visit my ko-fi page here: https://ko-fi.com/bartowski

Files

27 files · 63.8 GBWeights 3.87 MB (smallest of 25 GGUF variants). Sizes and sha256 from the signed manifest.
Show all 27 files with their sha256
FileSizesha256
.gitattributes3.41 KB13c453707d29a8afac734817be6a50ea08bf83f4500fab827db2821d2118040d
Qwen_Qwen3-4B-Thinking-2507-IQ2_M.gguf1.51 GBe0ac7e5d9c2afc8cf9536574b0a8099927a7391cbbed26ae91969623d3bb3e1c
Qwen_Qwen3-4B-Thinking-2507-IQ3_M.gguf1.96 GB7fc2876d7bb5781b2959170f7f9f0dc2562ddc20cc83074ae7a790004f495734
Qwen_Qwen3-4B-Thinking-2507-IQ3_XS.gguf1.81 GB0a9218f9a7d3c79507b8cf5739c73765651140bff3dc96ccbc6314044199c2a9
Qwen_Qwen3-4B-Thinking-2507-IQ3_XXS.gguf1.67 GB1fd1d19e024ad730bb07123ee392a0798de0fecae40ea5339d2b1206b325d3ba
Qwen_Qwen3-4B-Thinking-2507-IQ4_NL.gguf2.38 GBcd67c01235ccc7229a9598f8886727c0cb5e98156193e0d33ac4fa06a911cc7a
Qwen_Qwen3-4B-Thinking-2507-IQ4_XS.gguf2.27 GB0bfef7797a9a8ed02cd62a0953f3151d995c5968fde13a6ee703c874e1af2a10
Qwen_Qwen3-4B-Thinking-2507-Q2_K.gguf1.67 GB0e1d2abd41836cffab54d7effb12cb6e4db7e38172c07a27595fcee2b25b7e05
Qwen_Qwen3-4B-Thinking-2507-Q2_K_L.gguf1.76 GB8471e10484570ac077c502ad8a4f9f2dcd595ce01c2c40da2da560cd982ca6c6
Qwen_Qwen3-4B-Thinking-2507-Q3_K_L.gguf2.24 GB303dc33bd29abd181cba4aaa2237dc7d65241c11e536473abdae0d6959c62060
Qwen_Qwen3-4B-Thinking-2507-Q3_K_M.gguf2.08 GB1721b213111c7c12411c32e27fdb7da8692f39dcabaf2263bf80a34d6767995a
Qwen_Qwen3-4B-Thinking-2507-Q3_K_S.gguf1.89 GB8278d9f6f04e260d6844cec2fb2c1a9d2a3effaf21ddf7b9ce24d444ff02b9d0
Qwen_Qwen3-4B-Thinking-2507-Q3_K_XL.gguf2.33 GB3e1ef2e2394b8e1b1c1bf38477884aab59d12d0278a9b7492b09b2825760ee02
Qwen_Qwen3-4B-Thinking-2507-Q4_0.gguf2.38 GB82d03153a3a58235f23e9c9e3b53a0b2f4abdebbaf31b1aefd90827cfa6194af
Qwen_Qwen3-4B-Thinking-2507-Q4_1.gguf2.60 GB8e064f0207d44cf8eac44e8be8fcfcad42879ecabd153fb4b1c5ec7769ea8c18
Qwen_Qwen3-4B-Thinking-2507-Q4_K_L.gguf2.59 GBab08bff07d15fd95b9e718eae14e31c7ca003b5b6301d7cdfaddb544855d4559
Qwen_Qwen3-4B-Thinking-2507-Q4_K_M.gguf2.50 GB64ce5838a76b4d63071289c17ed04525265a47abf51546cd747a30e41b7687fa
Qwen_Qwen3-4B-Thinking-2507-Q4_K_S.gguf2.38 GB0856c1f57b21187c647941b6f64838d1858e478ca9281ab2d8237d16d14c9b26
Qwen_Qwen3-4B-Thinking-2507-Q5_K_L.gguf2.98 GBf31a185f665b5ded5eb09405b4093f91466d9c486a5508f6eb2dda0fa0d394f7
Qwen_Qwen3-4B-Thinking-2507-Q5_K_M.gguf2.89 GB5e2e831affbbae2c383e5a4de90549144980315026def43e4b101ade46e463bc
Qwen_Qwen3-4B-Thinking-2507-Q5_K_S.gguf2.82 GB76c994d07e401260f69918c57f67ba40da4ec18db29556a1ecdbde107d10957a
Qwen_Qwen3-4B-Thinking-2507-Q6_K.gguf3.31 GBf3f0b80140e7e41d965339fdefd9c98fb1453095cf4077fa587ab9266b627488
Qwen_Qwen3-4B-Thinking-2507-Q6_K_L.gguf3.40 GBc124636068658c87864fe5e02eed24f1cd0f2e11e67315865bfb2ac01fc218dd
Qwen_Qwen3-4B-Thinking-2507-Q8_0.gguf4.28 GB2c08db093bc57c2c77222d27ffe8d41cb0b5648e66ba84e5fb9ceab429f6735c
Qwen_Qwen3-4B-Thinking-2507-bf16.gguf8.05 GBe8cb8e45c766c2f341c1a345767e48c5b83802e35faa9302922378d345a986c8
Qwen_Qwen3-4B-Thinking-2507-imatrix.gguf3.87 MBd2b99e1370d392119850d9061c27c659fe4fa4077609de06c98cb7bfa64631e5
README.md14.0 KBc3686720679cf69fd57fa7f8f5827669a5cf04c26e3cd0db4a158bf588dfec2f
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
ba7f9bc071 pinned now2026-11-15 04:50 UTC27 files · 63.8 GB

Use it

$ fw get bartowski/Qwen_Qwen3-4B-Thinking-2507-GGUF
# manifest sha256 8ff73ad28791… · 63.8 GB · 27 files
$ fw verify ./Qwen_Qwen3-4B-Thinking-2507-GGUF bartowski/Qwen_Qwen3-4B-Thinking-2507-GGUF
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/bartowski/Qwen_Qwen3-4B-Thinking-2507-GGUF.json --dir ./Qwen_Qwen3-4B-Thinking-2507-GGUF $ python3 fw.py verify ./Qwen_Qwen3-4B-Thinking-2507-GGUF ./bartowski__Qwen_Qwen3-4B-Thinking-2507-GGUF.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download bartowski/Qwen_Qwen3-4B-Thinking-2507-GGUF --revision ba7f9bc071caf4788e3d7a5963543cff0149e483 --local-dir ./Qwen_Qwen3-4B-Thinking-2507-GGUF
llama.cppDownload one GGUF variant (Qwen_Qwen3-4B-Thinking-2507-imatrix, 3.87 MB), then serve it.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download bartowski/Qwen_Qwen3-4B-Thinking-2507-GGUF --include "Qwen_Qwen3-4B-Thinking-2507-imatrix*" --local-dir ./Qwen_Qwen3-4B-Thinking-2507-GGUF $ llama-server -m ./Qwen_Qwen3-4B-Thinking-2507-GGUF/Qwen_Qwen3-4B-Thinking-2507-imatrix.gguf
OllamaMake an Ollama model from the downloaded file.
$ printf 'FROM ./Qwen_Qwen3-4B-Thinking-2507-GGUF/Qwen_Qwen3-4B-Thinking-2507-imatrix.gguf\n' > Modelfile $ ollama create qwen-qwen3-4b-thinking-2507-gguf -f Modelfile

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
Inherited from the base model Qwen/Qwen3-4B-Thinking-2507: the strictest license along the lineage applies. 2026-11-15
Text in
README.md
Text sha256
c3686720679cf69fd57fa7f8f5827669a5cf04c26e3cd0db4a158bf588dfec2f
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: bartowski <huggingface.co/bartowski>Newsgroups: alt.freeweights.qwenSubject: Qwen_Qwen3-4B-Thinking-2507-GGUFDate: 2026-11-15Commit: ba7f9bcSigned: 2DC28CC7B26A283B ✓
Upstream
bartowski/Qwen_Qwen3-4B-Thinking-2507-GGUF
Pinned commit
ba7f9bc071caf4788e3d7a5963543cff0149e483
Manifest
Qwen_Qwen3-4B-Thinking-2507-GGUF.json · .minisig
Manifest sha256
8ff73ad28791198fadf5af9f2fb52f433288486611b843595f1c41a37366bc8d
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 04:50 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/bartowski/Qwen_Qwen3-4B-Thinking-2507-GGUF.json $ curl -O https://freeweights.allternit.com/manifests/bartowski/Qwen_Qwen3-4B-Thinking-2507-GGUF.json.minisig $ minisign -Vm Qwen_Qwen3-4B-Thinking-2507-GGUF.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

Parent

Qwen/Qwen3-4B-Thinking-2507 · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download bartowski/Qwen_Qwen3-4B-Thinking-2507-GGUF
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. Qwen_Qwen3-4B-Thinking-2507-GGUF.json. Provenance. Takedown history: none.
From: BAAI <huggingface.co/BAAI>Subject: Aquila-VL-2B-llava-qwen
From: Perciqa <huggingface.co/Perciqa>Subject: Aurora-Code-1
From: BAAI <huggingface.co/BAAI>Subject: bge-reasoner-embed-qwen3-8b-0923
From: amazon <huggingface.co/amazon>Subject: BMOJOF-primed-HQwen3-8B-Instruct
From: nbeerbower <huggingface.co/nbeerbower>Subject: Bubba-Qwen3.6-27B-LoRA
From: bartowski <huggingface.co/bartowski>Subject: bytkim_Qwen3.8-27B-pi-GGUF