alt.freeweights.phi / microsoft_Phi-4-reasoning-plus-GGUF
From: bartowski <huggingface.co/bartowski>Newsgroups: alt.freeweights.phiSubject:

microsoft_Phi-4-reasoning-plus-GGUF

Date: 2026-11-15Commit: 96b602dSigned: 2DC28CC7B26A283B ✓

Text generation model. Gguf weights, 232 GB in all. Published by bartowski under MIT.

phi232GBmicrosoft_Phi-4-reasoning-plus-GGUFggufpermissive
FactsParamsnot statedSize232 GBFormatsggufTasktext generationLicenseMITFrom sourcepermissive
$ fw get bartowski/microsoft_Phi-4-reasoning-plus-GGUF
# manifest sha256 b9d0a62b5496… · 232 GB · 28 files
$ fw verify ./microsoft_Phi-4-reasoning-plus-GGUF bartowski/microsoft_Phi-4-reasoning-plus-GGUF
From sourceHosted (signed)bartowski/microsoft_Phi-4-reasoning-plus-GGUFLast check: 2026-11-15 04:54 UTC

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

Quantized of Phi-4-reasoning-plus.

Works with

Convert with

Overview

Size
232 GB
Weights
4.73 GB (smallest of 25 GGUF variants)
Parameters
not stated
Formats
gguf
Task
text generation
License
MIT (permissive)
Files
28, each with a sha256
Publisher
bartowski
Added
2026-11-15
Section
alt.freeweights.phi
Lineage

Original release from the publisher.

Base model: microsoft/Phi-4-reasoning-plus

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:54 UTCpassed

Model card

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

Llamacpp imatrix Quantizations of Phi-4-reasoning-plus by microsoft#

Using llama.cpp release b5228 for quantization.

Original model: https://huggingface.co/microsoft/Phi-4-reasoning-plus

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<|im_sep|>You are Phi, a language model trained by Microsoft to help users. Your role as an assistant involves thoroughly exploring questions through a systematic thinking process before providing the final precise and accurate solutions. This requires engaging in a comprehensive cycle of analysis, summarizing, exploration, reassessment, reflection, backtracing, and iteration to develop well-considered thinking process. Please structure your response into two main sections: Thought and Solution using the specified format:<think>{Thought section}</think>{Solution section}. In the Thought section, detail your reasoning process in steps. Each step should include detailed considerations such as analysing questions, summarizing relevant findings, brainstorming new ideas, verifying the accuracy of the current steps, refining any errors, and revisiting previous steps. In the Solution section, based on various attempts, explorations, and reflections from the Thought section, systematically present the final solution that you deem correct. The Solution section should be logical, accurate, and concise and detail necessary steps needed to reach the conclusion. Now, try to solve the following question through the above guidelines:<|im_end|>{system_prompt}<|end|><|user|>{prompt}<|end|><|assistant|>

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

FilenameQuant typeFile SizeSplitDescription
Phi-4-reasoning-plus-bf16.ggufbf1629.32GBfalseFull BF16 weights.
Phi-4-reasoning-plus-Q8_0.ggufQ8_015.58GBfalseExtremely high quality, generally unneeded but max available quant.
Phi-4-reasoning-plus-Q6_K_L.ggufQ6_K_L12.28GBfalseUses Q8_0 for embed and output weights. Very high quality, near perfect, recommended.
Phi-4-reasoning-plus-Q6_K.ggufQ6_K12.03GBfalseVery high quality, near perfect, recommended.
Phi-4-reasoning-plus-Q5_K_L.ggufQ5_K_L10.92GBfalseUses Q8_0 for embed and output weights. High quality, recommended.
Phi-4-reasoning-plus-Q5_K_M.ggufQ5_K_M10.60GBfalseHigh quality, recommended.
Phi-4-reasoning-plus-Q5_K_S.ggufQ5_K_S10.15GBfalseHigh quality, recommended.
Phi-4-reasoning-plus-Q4_K_L.ggufQ4_K_L9.43GBfalseUses Q8_0 for embed and output weights. Good quality, recommended.
Phi-4-reasoning-plus-Q4_1.ggufQ4_19.27GBfalseLegacy format, similar performance to Q4_K_S but with improved tokens/watt on Apple silicon.
Phi-4-reasoning-plus-Q4_K_M.ggufQ4_K_M9.05GBfalseGood quality, default size for most use cases, recommended.
Phi-4-reasoning-plus-Q4_K_S.ggufQ4_K_S8.44GBfalseSlightly lower quality with more space savings, recommended.
Phi-4-reasoning-plus-Q4_0.ggufQ4_08.41GBfalseLegacy format, offers online repacking for ARM and AVX CPU inference.
Phi-4-reasoning-plus-IQ4_NL.ggufIQ4_NL8.38GBfalseSimilar to IQ4_XS, but slightly larger. Offers online repacking for ARM CPU inference.
Phi-4-reasoning-plus-Q3_K_XL.ggufQ3_K_XL8.38GBfalseUses Q8_0 for embed and output weights. Lower quality but usable, good for low RAM availability.
Phi-4-reasoning-plus-IQ4_XS.ggufIQ4_XS7.94GBfalseDecent quality, smaller than Q4_K_S with similar performance, recommended.
Phi-4-reasoning-plus-Q3_K_L.ggufQ3_K_L7.93GBfalseLower quality but usable, good for low RAM availability.
Phi-4-reasoning-plus-Q3_K_M.ggufQ3_K_M7.36GBfalseLow quality.
Phi-4-reasoning-plus-IQ3_M.ggufIQ3_M6.91GBfalseMedium-low quality, new method with decent performance comparable to Q3_K_M.
Phi-4-reasoning-plus-Q3_K_S.ggufQ3_K_S6.50GBfalseLow quality, not recommended.
Phi-4-reasoning-plus-IQ3_XS.ggufIQ3_XS6.25GBfalseLower quality, new method with decent performance, slightly better than Q3_K_S.
Phi-4-reasoning-plus-Q2_K_L.ggufQ2_K_L6.05GBfalseUses Q8_0 for embed and output weights. Very low quality but surprisingly usable.
Phi-4-reasoning-plus-IQ3_XXS.ggufIQ3_XXS5.85GBfalseLower quality, new method with decent performance, comparable to Q3 quants.
Phi-4-reasoning-plus-Q2_K.ggufQ2_K5.55GBfalseVery low quality but surprisingly usable.
Phi-4-reasoning-plus-IQ2_M.ggufIQ2_M5.11GBfalseRelatively low quality, uses SOTA techniques to be surprisingly usable.
Phi-4-reasoning-plus-IQ2_S.ggufIQ2_S4.73GBfalseLow quality, uses SOTA techniques to be 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/microsoft_Phi-4-reasoning-plus-GGUF --include "microsoft_Phi-4-reasoning-plus-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/microsoft_Phi-4-reasoning-plus-GGUF --include "microsoft_Phi-4-reasoning-plus-Q8_0/*" --local-dir ./

You can either specify a new local-dir (microsoft_Phi-4-reasoning-plus-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

28 files · 232 GBWeights 4.73 GB (smallest of 25 GGUF variants). Sizes and sha256 from the signed manifest.
Show all 28 files with their sha256
FileSizesha256
.gitattributes3.56 KBa5bd3909b52ccd53f7ef147a5e52f8998ec67d1e2e2abdd486623a81b747f81e
README.md15.8 KB8b7898bd4de1cb49dcc390e094a6df4589adb957b76728d29d5b845d3afc37cf
microsoft_Phi-4-reasoning-plus-IQ2_M.gguf5.11 GB9d5e17775e819c79ed388fc35064f69f96a82cd2757c456f94971cef94aa80e6
microsoft_Phi-4-reasoning-plus-IQ2_S.gguf4.73 GBf0f3a21bbf2abbe1915653129138d01487652fdc578d06ed4473b16ca2385fac
microsoft_Phi-4-reasoning-plus-IQ3_M.gguf6.91 GBe002c32e625e0b5afcab960904e904fab88046a542efbea9f39019ce13fe340f
microsoft_Phi-4-reasoning-plus-IQ3_XS.gguf6.25 GBf381ed47df8157d01445e1e867ce5152755b2a62006962e77a6f5deef8fd1e0b
microsoft_Phi-4-reasoning-plus-IQ3_XXS.gguf5.85 GB24e3f84bf8f69ed8ad83f648a0a97d2f4064babb3b91ee25f1e685dc4e4759f9
microsoft_Phi-4-reasoning-plus-IQ4_NL.gguf8.38 GBe3b67c63315e3c7f4d2b94c301d97ca183c5d93c9bd137af483864658ae8ad78
microsoft_Phi-4-reasoning-plus-IQ4_XS.gguf7.94 GB0ad83e8a7dd2e22111bf692e14b7a735fd2c211fe4edc4cf2965c72a13475161
microsoft_Phi-4-reasoning-plus-Q2_K.gguf5.55 GBc6e59da0fbcebb26e28468fec32f77fba2e1545e15db75fbb9380afb7ec39f68
microsoft_Phi-4-reasoning-plus-Q2_K_L.gguf6.05 GBec94f503683c0655694bcd18613453f00aa5abc4ac2254927bcb0ce0df2c39ba
microsoft_Phi-4-reasoning-plus-Q3_K_L.gguf7.93 GB84cee8ce09424d3f223e97b834ed44e9b3aacc0c5e705876fc69cd1ed66c12e0
microsoft_Phi-4-reasoning-plus-Q3_K_M.gguf7.36 GB9206a0676d392f41213296337f7d7a1b9f72bdc77ec54f84de47e16b7ba3322f
microsoft_Phi-4-reasoning-plus-Q3_K_S.gguf6.50 GB92c76b1c3da54aa8d9f4245f55a6a9c3d8d96d0f869c350051f4f6ef555e7b57
microsoft_Phi-4-reasoning-plus-Q3_K_XL.gguf8.38 GB2c443f998198bf2a9d455b452a9fb4dfe7320d713fe3566785cdfae6512b28ac
microsoft_Phi-4-reasoning-plus-Q4_0.gguf8.41 GB2c42a4c37b494704fa2b07efee74acd44c716b1c81780dab120334cf763d2bfd
microsoft_Phi-4-reasoning-plus-Q4_1.gguf9.27 GBe036c910e824ddd5a3ba742f32b2966df363f9beb0cc1835e31749a8af1d900b
microsoft_Phi-4-reasoning-plus-Q4_K_L.gguf9.43 GBcd092350c9be7dd53e6770430c507192d6dd9b6b4f9ab9efbef6cef62b6b5da8
microsoft_Phi-4-reasoning-plus-Q4_K_M.gguf9.05 GBfcb2cdd14881e20613f56d37f49d0c73ec6c00f9bb4d0e4b161a1621d8517f47
microsoft_Phi-4-reasoning-plus-Q4_K_S.gguf8.44 GBcdb71bd12bd3b9db9560d2eba69edd2d2a8fe6b2f3ec6c163a78172a68b8461f
microsoft_Phi-4-reasoning-plus-Q5_K_L.gguf10.9 GBf22cd6073e6282614a62be6391a813b301c5338725561d83219ef9f3f49e6c64
microsoft_Phi-4-reasoning-plus-Q5_K_M.gguf10.6 GB7d4dd651787f16365d6ceed9bcc42fe76e47204dedf9ac3539a749e1c3f3b6f7
microsoft_Phi-4-reasoning-plus-Q5_K_S.gguf10.2 GB110f46f994618b09249a76953559ec2a8401ba44543c2bfb5a699ff2d9dd8118
microsoft_Phi-4-reasoning-plus-Q6_K.gguf12.0 GB933e90b30332ea305b21e5ab0802a9984d65604193ce348a15e3724b39a64ff6
microsoft_Phi-4-reasoning-plus-Q6_K_L.gguf12.3 GB33a7c75dc560aab3e2560e33606e4f4e722702687fc4e131bcc2682024456085
microsoft_Phi-4-reasoning-plus-Q8_0.gguf15.6 GB785eabbff61131ed97f483af9a608953fad8bfc99eb7dbf2df55f07cef2b5baa
microsoft_Phi-4-reasoning-plus-bf16.gguf29.3 GB7477d516c142b68a6513a777ebba5ad196fa487ba79ee460f8e6e2435313b4e7
microsoft_Phi-4-reasoning-plus.imatrix5.33 MBebab2fdf29398609765512302da42c4415c72acc96d345d4701fbddc03c2d7ff
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
96b602db19 pinned now2026-11-15 04:54 UTC28 files · 232 GB

Use it

$ fw get bartowski/microsoft_Phi-4-reasoning-plus-GGUF
# manifest sha256 b9d0a62b5496… · 232 GB · 28 files
$ fw verify ./microsoft_Phi-4-reasoning-plus-GGUF bartowski/microsoft_Phi-4-reasoning-plus-GGUF
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/bartowski/microsoft_Phi-4-reasoning-plus-GGUF.json --dir ./microsoft_Phi-4-reasoning-plus-GGUF $ python3 fw.py verify ./microsoft_Phi-4-reasoning-plus-GGUF ./bartowski__microsoft_Phi-4-reasoning-plus-GGUF.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download bartowski/microsoft_Phi-4-reasoning-plus-GGUF --revision 96b602db19694b8323c8638ad771289fb5be0863 --local-dir ./microsoft_Phi-4-reasoning-plus-GGUF
llama.cppDownload one GGUF variant (microsoft_Phi-4-reasoning-plus-IQ2_S, 4.73 GB), then serve it.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download bartowski/microsoft_Phi-4-reasoning-plus-GGUF --include "microsoft_Phi-4-reasoning-plus-IQ2_S*" --local-dir ./microsoft_Phi-4-reasoning-plus-GGUF $ llama-server -m ./microsoft_Phi-4-reasoning-plus-GGUF/microsoft_Phi-4-reasoning-plus-IQ2_S.gguf
OllamaMake an Ollama model from the downloaded file.
$ printf 'FROM ./microsoft_Phi-4-reasoning-plus-GGUF/microsoft_Phi-4-reasoning-plus-IQ2_S.gguf\n' > Modelfile $ ollama create microsoft-phi-4-reasoning-plus-gguf -f Modelfile

License

Name
MIT License
Id
MIT
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
8b7898bd4de1cb49dcc390e094a6df4589adb957b76728d29d5b845d3afc37cf
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.phiSubject: microsoft_Phi-4-reasoning-plus-GGUFDate: 2026-11-15Commit: 96b602dSigned: 2DC28CC7B26A283B ✓
Upstream
bartowski/microsoft_Phi-4-reasoning-plus-GGUF
Pinned commit
96b602db19694b8323c8638ad771289fb5be0863
Manifest
microsoft_Phi-4-reasoning-plus-GGUF.json · .minisig
Manifest sha256
b9d0a62b54969d14f8e571b636490e34f3298972f838099be8b1bb573263433c
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 04:54 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/bartowski/microsoft_Phi-4-reasoning-plus-GGUF.json $ curl -O https://freeweights.allternit.com/manifests/bartowski/microsoft_Phi-4-reasoning-plus-GGUF.json.minisig $ minisign -Vm microsoft_Phi-4-reasoning-plus-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

microsoft/Phi-4-reasoning-plus · 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/microsoft_Phi-4-reasoning-plus-GGUF
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. microsoft_Phi-4-reasoning-plus-GGUF.json. Provenance. Takedown history: none.
From: BAAI <huggingface.co/BAAI>Subject: bunny-phi-2-siglip-lora
From: microsoft <huggingface.co/microsoft>Subject: MediPhi
From: microsoft <huggingface.co/microsoft>Subject: MediPhi-Clinical
From: microsoft <huggingface.co/microsoft>Subject: MediPhi-Guidelines
From: microsoft <huggingface.co/microsoft>Subject: MediPhi-Instruct
From: microsoft <huggingface.co/microsoft>Subject: MediPhi-MedCode