alt.freeweights.qwen / Qwen3.5-27B-Claude-4.6-Opus-Distilled-MLX-6bit
From: mlx-community <huggingface.co/mlx-community>Newsgroups: alt.freeweights.qwenSubject:

Qwen3.5-27B-Claude-4.6-Opus-Distilled-MLX-6bit

Date: 2026-11-15Commit: 3161c6eSigned: 2DC28CC7B26A283B ✓

Model with 26.9B parameters. Safetensors weights, 21.9 GB in all. Published by mlx-community under Apache-2.0.

26.9B params21.9GBQwen3.5-27B-Claude-4.6-Opus-Distilled-MLX-6bitsafetensorspermissive
FactsParams26.9BSize21.9 GBFormatssafetensorsTasknot taggedLicenseApache-2.0From sourcepermissive
$ fw get mlx-community/Qwen3.5-27B-Claude-4.6-Opus-Distilled-MLX-6bit
# manifest sha256 02159a586351… · 21.9 GB · 12 files
$ fw verify ./Qwen3.5-27B-Claude-4.6-Opus-Distilled-MLX-6bit mlx-community/Qwen3.5-27B-Claude-4.6-Opus-Distilled-MLX-6bit
From sourceHosted (signed)mlx-community/Qwen3.5-27B-Claude-4.6-Opus-Distilled-MLX-6bitLast check: 2026-11-15 05:16 UTC

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

Quantized of Qwen3.5-27B-Claude-4.6-Opus-Reasoning-Distilled.

Works with

Runs with

Ranked by fit to this model (safetensors), then by GitHub stars.

Overview

Size
21.9 GB
Weights
21.9 GB (safetensors)
Parameters
26.9B
Formats
safetensors
Task
not tagged
License
Apache-2.0 (permissive)
Files
12, each with a sha256
Publisher
mlx-community
Added
2026-11-15
Section
alt.freeweights.qwen
Lineage

Original release from the publisher.

Base model: Jackrong/Qwen3.5-27B-Claude-4.6-Opus-Reasoning-Distilled

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 05:16 UTCpassed

Model card

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

Qwen3.5-27B-Claude-4.6-Opus-Reasoning-Distilled-6bit-MLX#

Quantized by BeastCode

A 6-bit MLX quantization of Jackrong/Qwen3.5-27B-Claude-4.6-Opus-Reasoning-Distilled. Optimized for Apple Silicon. Highest-accuracy local quantization of this model tested to date.

The original BF16 weights are 55.6 GB. This quantization reduces that to 20 GB โ€” runnable on any Mac with 32 GB+ unified memory, with full reasoning capability intact.

For smaller Macs, see the 4-bit version (14 GB, 24 GB+ RAM).


๐Ÿง  Why This Model?#

Most local LLMs are reactive โ€” they start generating a response before they've fully mapped out the logic. This model is deliberative.

Distilled from Claude 4.6 Opus reasoning trajectories, it enters a <think> state before answering where it deconstructs the problem, traces logic flows, and self-corrects before you see a single word of the final answer.

The practical difference in code review: a standard model looks at self.value -= 1 in a threading context and says "add a lock." This model looks at it and tells you why โ€” that self.value -= 1 compiles to LOAD_FAST โ†’ BINARY_SUBTRACT โ†’ STORE_FAST, three bytecode ops, and the GIL can release between LOAD and STORE. The explanation matters as much as the fix.


๐Ÿ“Š Performance Benchmarks#

Tested on Apple M4 Pro, 64 GB ยท mlx-lm 0.30.7 ยท macOS 15 All numbers from MLX's internal timing (verbose=True), not wall-clock

MetricResult
Model load time~3.5s
Prompt ingestion (prefill)94 tokens/sec
Generation speed10โ€“11 tokens/sec
Peak RAM usage~22 GB
Bits per weight6.501
Final size20 GB (5 shards)
Code Review Reasoning Challenges#

Three hand-crafted challenges requiring multi-step logical deduction โ€” not pattern matching. Each is designed so a shallow read gives a wrong or incomplete answer.

ChallengeResultDetail
LRU Cache โ€” is it correct?โœ…Correctly concluded the implementation IS correct โ€” traced every operation
Thread-safe counter race conditionโœ…Named exact bytecode ops, traced T1โ€“T6 thread interleave, minimal fix
Pricing engine โ€” find 3 bugsโœ… 3/3Found > vs >= boundary, loyalty threshold, and discount stacking order

Score: 3/3 challenges fully correct.

For comparison: Qwen2.5-Coder-32B-Instruct-6bit (26 GB, trained on 5.5T code tokens) scored 1.5/3 on the same challenges โ€” it found the obvious >= 10 bug but missed the boundary condition and the stacking order, and gave a factually wrong explanation of why the race condition occurs.


๐Ÿ’ป System Requirements#

HardwareApple Silicon Mac (M1, M2, M3, M4 or later)
Minimum RAM32 GB Unified Memory
Recommended RAM36 GB+ (64 GB for large PR diffs and long context)
OSmacOS 13.5 or later
Python3.10+ (Homebrew Python 3.12 recommended)

๐Ÿš€ Quick Start#

1. Install mlx-lm#
# macOS ships with Python 3.9 which is too old โ€” install 3.12 via Homebrew
brew install python@3.12
/opt/homebrew/bin/python3.12 -m venv ~/mlx-venv
~/mlx-venv/bin/pip install mlx-lm
2. Run in your terminal#
~/mlx-venv/bin/mlx_lm.chat \
  --model BeastCode/Qwen3.5-27B-Claude-4.6-Opus-Distilled-MLX-6bit

Use apply_chat_template with enable_thinking=True. This is the idiomatic way to trigger reasoning mode โ€” no manual prompt construction needed.

from mlx_lm import load, generate
from mlx_lm.sample_utils import make_sampler, make_logits_processors

model, tokenizer = load("BeastCode/Qwen3.5-27B-Claude-4.6-Opus-Distilled-MLX-6bit")

messages = [
    {
        "role": "system",
        "content": (
            "You are an expert code reviewer. Analyze the code carefully, "
            "thinking through potential edge cases, security vulnerabilities, "
            "and logic flows step-by-step before providing your final review."
        ),
    },
    {
        "role": "user",
        "content": "Review this function:\n\n```python\ndef divide(a, b):\n    return a / b\n```",
    },
]

prompt = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True,
    enable_thinking=True,
)

response = generate(
    model,
    tokenizer,
    prompt=prompt,
    max_tokens=8192,  # reasoning models need room โ€” don't go below 4096
    sampler=make_sampler(temp=0.7, min_p=0.05),
    logits_processors=make_logits_processors(
        repetition_penalty=1.15,
        repetition_context_size=64,
    ),
    verbose=True,
)
print(response)

Important: Do not set max_tokens below 4096. The <think> block alone consumes 300โ€“800 tokens on a moderately complex question. If the limit is hit before </think> is emitted, the model never transitions to its answer phase and loops indefinitely. Use 4096 for single functions, 8192 for full PR diffs.

Sampling params: repetition_penalty=1.15 is essential for quantized reasoning models. Without it, the model can enter a local probability minimum and repeat the same sentence until the token limit. temp=0.7 + min_p=0.05 prevents greedy decoding.

4. Stripping the <think> block#
import re

def strip_thinking(text: str) -> str:
    """Remove the internal reasoning block, returning only the final answer."""
    return re.sub(r'<think>.*?</think>\s*', '', text, flags=re.DOTALL).strip()

clean_response = strip_thinking(response)

โš™๏ธ Quantization Details#

PropertyValue
Method6-bit group-wise quantization
Toolmlx-lm 0.30.7 (mlx_lm.convert)
Bits per weight6.501 (embeddings and lm_head kept at higher precision)
Group size64 (default)
Source formatBF16 safetensors (11 shards, 55.6 GB)
Output formatMLX safetensors (5 shards, 20 GB)
Reproduce this quantization#
~/mlx-venv/bin/mlx_lm.convert \
  --hf-path Jackrong/Qwen3.5-27B-Claude-4.6-Opus-Reasoning-Distilled \
  --mlx-path ~/mlx-models/Qwen3.5-27B-Jackrong-6bit \
  --quantize \
  --q-bits 6

๐Ÿ† Model Comparison#

ModelSizeSpeed (M4 Pro)Challenge scoreRAM required
This model (6-bit)20 GB10โ€“11 tok/s3/3 โœ…32 GB+
4-bit version14 GB15 tok/s2.5/324 GB+
Qwen2.5-Coder-32B-6bit26 GB9 tok/s1.5/3 โš ๏ธ32 GB+

The 4-bit version is faster and suitable for quick checks. The 6-bit version is the right choice when correctness matters: it found all 3 bugs in every reasoning challenge, including subtle boundary conditions and multi-step logic errors the 4-bit and the larger code-specialist model missed.


๐Ÿ™ Acknowledgements#

Files

12 files ยท 21.9 GBWeights 21.9 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 12 files with their sha256
FileSizesha256
.gitattributes1.57 KB34448b82c17d60fec9b65b1f093c115ddbaadc04beb1b0140b6bfed2e012a930
README.md7.88 KBd4fd3a38b38556b5c8c745e416a8603462e675514015b25994746ad4883aabc1
chat_template.jinja4.05 KB0800c03b537cb0d60244f37ac6d717b06c42c4828a40853b1f9853791f9afdae
config.json4.12 KB46e271cfdeac4870836e525bf39790e55118c1a448760b540ea0238bc7e1b3b3
model-00001-of-00005.safetensors5.37 GB7a2d6c19526d673cb952203d507b44f4a7bd1acbeb2bd9218078a0efa6e6bd1a
model-00002-of-00005.safetensors5.34 GB7bbc1f81dc4d84073d8ce2b59d2da02a07c0afefb1e799039c713fb89764769b
model-00003-of-00005.safetensors5.33 GB2c28ff8bdf1c2d4f35530af80043aee82460850182422fbe07a755ef6940dddc
model-00004-of-00005.safetensors4.78 GB79cb3721abb484dbc15e97c9e6502a6285dce0f08a0d40094f2e885c7b390028
model-00005-of-00005.safetensors1.03 GB3559017fa7e28800dde31d77f1ec5ddbaf40e59ff8bb39ab44f907d84b361d6d
model.safetensors.index.json190 KBd64de023515d8a10bc41da791c6a43d96d2671fb4661d7c4b99f2268c1deb572
tokenizer.json20.0 MB87a7830d63fcf43bf241c3c5242e96e62dd3fdc29224ca26fed8ea333db72de4
tokenizer_config.json1.16 KB1cd1a786d5a76bb4245c7683e2b844a0951efa6900813034e23578ebd40fa388
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
3161c6ecd8 pinned now2026-11-15 05:16 UTC12 files ยท 21.9 GB

Use it

$ fw get mlx-community/Qwen3.5-27B-Claude-4.6-Opus-Distilled-MLX-6bit
# manifest sha256 02159a586351… · 21.9 GB · 12 files
$ fw verify ./Qwen3.5-27B-Claude-4.6-Opus-Distilled-MLX-6bit mlx-community/Qwen3.5-27B-Claude-4.6-Opus-Distilled-MLX-6bit
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/mlx-community/Qwen3.5-27B-Claude-4.6-Opus-Distilled-MLX-6bit.json --dir ./Qwen3.5-27B-Claude-4.6-Opus-Distilled-MLX-6bit $ python3 fw.py verify ./Qwen3.5-27B-Claude-4.6-Opus-Distilled-MLX-6bit ./mlx-community__Qwen3.5-27B-Claude-4.6-Opus-Distilled-MLX-6bit.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mlx-community/Qwen3.5-27B-Claude-4.6-Opus-Distilled-MLX-6bit --revision 3161c6ecd8eacec50f538e0e59320145426c1737 --local-dir ./Qwen3.5-27B-Claude-4.6-Opus-Distilled-MLX-6bit

License

Name
Apache License 2.0
Id
Apache-2.0
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
d4fd3a38b38556b5c8c745e416a8603462e675514015b25994746ad4883aabc1
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: mlx-community <huggingface.co/mlx-community>Newsgroups: alt.freeweights.qwenSubject: Qwen3.5-27B-Claude-4.6-Opus-Distilled-MLX-6bitDate: 2026-11-15Commit: 3161c6eSigned: 2DC28CC7B26A283B ✓
Upstream
mlx-community/Qwen3.5-27B-Claude-4.6-Opus-Distilled-MLX-6bit
Pinned commit
3161c6ecd8eacec50f538e0e59320145426c1737
Manifest
Qwen3.5-27B-Claude-4.6-Opus-Distilled-MLX-6bit.json ยท .minisig
Manifest sha256
02159a5863516f8a46f848cf3750f353730c05c38fc9ceeff4c20828c49e055c
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:16 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/mlx-community/Qwen3.5-27B-Claude-4.6-Opus-Distilled-MLX-6bit.json $ curl -O https://freeweights.allternit.com/manifests/mlx-community/Qwen3.5-27B-Claude-4.6-Opus-Distilled-MLX-6bit.json.minisig $ minisign -Vm Qwen3.5-27B-Claude-4.6-Opus-Distilled-MLX-6bit.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

Jackrong/Qwen3.5-27B-Claude-4.6-Opus-Reasoning-Distilled ยท 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 mlx-community/Qwen3.5-27B-Claude-4.6-Opus-Distilled-MLX-6bit
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. Qwen3.5-27B-Claude-4.6-Opus-Distilled-MLX-6bit.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