alt.freeweights.deepseek / DeepSeek-V4-Flash-0731-OptiQ-2bit
From: mlx-community <huggingface.co/mlx-community>Newsgroups: alt.freeweights.deepseekSubject:

DeepSeek-V4-Flash-0731-OptiQ-2bit

Date: 2026-11-15Commit: 314a050Signed: 2DC28CC7B26A283B ✓

Text generation model with 304.2B parameters. Safetensors weights, 92.5 GB in all. Published by mlx-community under MIT.

304.2B params92.5GBDeepSeek-V4-Flash-0731-OptiQ-2bitsafetensorspermissive
FactsParams304.2BSize92.5 GBFormatssafetensorsTasktext generationLicenseMITFrom sourcepermissive
$ fw get mlx-community/DeepSeek-V4-Flash-0731-OptiQ-2bit
# manifest sha256 a1f05f7cf3b5… · 92.5 GB · 55 files
$ fw verify ./DeepSeek-V4-Flash-0731-OptiQ-2bit mlx-community/DeepSeek-V4-Flash-0731-OptiQ-2bit
From sourceHosted (signed)mlx-community/DeepSeek-V4-Flash-0731-OptiQ-2bitLast check: 2026-11-15 05:10 UTC

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

Quantized of DeepSeek-V4-Flash-0731.

Works with

Overview

Size
92.5 GB
Weights
92.5 GB (safetensors)
Parameters
304.2B
Formats
safetensors
Task
text generation
License
MIT (permissive)
Files
55, each with a sha256
Publisher
mlx-community
Added
2026-11-15
Section
alt.freeweights.deepseek
Lineage

Original release from the publisher.

Base model: deepseek-ai/DeepSeek-V4-Flash-0731

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

Model card

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

mlx-community/DeepSeek-V4-Flash-0731-OptiQ-2bit#

Built with mlx-optiq, the MLX-native toolkit to quantize, fine-tune, and serve LLMs locally on Apple Silicon, no PyTorch and no cloud. All OptiQ quants · Docs · DeepSeek family

A 304-billion-parameter model that runs in 6.5 GB of RAM on a Mac. This is a 2-bit mixed-precision MLX quant of DeepSeek-V4-Flash-0731, produced by mlx-optiq. At bf16 the weights are 608 GB. Here they are 92.5 GB on disk, and while the model generates only about 6.5 GB sits in RAM: attention, the router, the shared expert and the embeddings stay resident, and the 256 routed experts are read off the SSD as the router picks them.

DeepSeek-V4-Flash is a sparse mixture-of-experts model with a million-token context: 43 layers, 256 routed experts with 6 active per token, and three attention regimes across the stack. Given a 928-token specification of a job queue and asked what happens to a job whose worker stops sending heartbeats, the 2-bit model answered by chaining two separate rules of the spec, correctly.

Asked to write Flappy Bird as a single HTML file, the 2-bit model produced the physics, the pipe generation, the collision checks, the scoring and the canvas rendering. Here it is playing the game it wrote:

Image: DeepSeek-V4-Flash 2-bit playing the Flappy Bird it wrote

The game is in this repo as flappy_bird.html. Open it in any browser.

What it is#

PropertyValue
Basedeepseek-ai/DeepSeek-V4-Flash-0731 (sparse MoE, 256 experts, 6 active per token, 43 layers)
Parameters304 B
Context1,048,576 tokens
Bit-widths2-bit routed experts; 6-bit attention; 8-bit shared expert, embeddings and LM head; 3-bit MTP head
Achieved bits-per-weight2.43
On disk92.5 GB (608 GB at bf16)
Resident while running~6.5 GB (routed experts streamed)
Decode speed~2.5 tok/s on an M3 Max, SSD-bound

No Capability Score is published for this quant. Running the six-benchmark suite against a model that decodes off SSD would take days, and at 2 bits on the routed experts the point of the artifact is different: that a 304 B MoE runs at all on consumer Apple Silicon, and stays coherent enough to follow a long specification and write working code.

Run it#

DeepSeek-V4 is not an architecture stock mlx-lm knows, so import optiq once to register it:

pip install "mlx-optiq>=0.4.12"

The routed experts are far too large to sit resident, so serve it with SSD expert streaming. optiq serve turns this on by itself for a MoE quant that would not fit in RAM (--stream-experts forces it):

optiq serve --model mlx-community/DeepSeek-V4-Flash-0731-OptiQ-2bit

That gives you an OpenAI and Anthropic compatible endpoint with mixed-precision KV cache, tool-call healing and prompt caching. Only the routed experts stream per token, so the footprint stays near 6.5 GB regardless of how large the model on disk is.

A fast SSD matters more than RAM here. Every token reads 6 experts per layer from disk, so decode speed tracks read throughput.

Notes#

This is an extreme quant. Two bits on the routed experts is lossy, and anything where accuracy matters should use the bf16 weights or a higher-bit quant. What this one demonstrates is a model of this size running on a Mac, at a resident footprint that fits a 16 GB machine.

Files

55 files · 92.5 GBWeights 92.5 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 55 files with their sha256
FileSizesha256
.gitattributes1.57 KBce5fc4324b94e63c21eb12f826ce2579b2d8521bd53eb0418bcac6166484ab71
LICENSE1.08 KBf2c6c602815669d292889e5be8c802f2ed950653b77999b1584e8e6aed25d040
README.md4.17 KB4e05e777be2f305b842dcd0b65bb0001807195017465d5766c2644df62079ef6
chat_template.jinja7.15 KB559e8e8b1155e48a7182d8f77029aefd152b066ff779b48a8782f8485f73bd24
config.json195 KB3a17448527a4dc62ca837527718802d660d847e0b7e9664aa80738a21d23e71e
flappy.gif937 KB362753eb70c87546dce3ca901fb2284db4db420703c339fdf2c901601f569fb3
flappy_bird.html7.87 KBc39275e455fa9df309f4e68deb5da5559a0c42968e1a15d71d28cd53e1c47277
generation_config.json170 B5fccff80f55a4d455bbe516bdd552edf3e9623df95e99fbf2a3c3389fdf91af0
kv_config.json132 B0cd5b0d0cd19d74f76431ded9aaabbe712fd8f34288243ec7374bae29d7d6664
model-00001-of-00042.safetensors2.38 GBba48514d89e2d55abb6d30f62e4b8f77a72a42a40fd5b095b0fe374873b21b15
model-00002-of-00042.safetensors2.53 GB32fc1c6ffc2482ea0eba45154ec042246c5f7eb78bdde6ead12dfd73b76d89c9
model-00003-of-00042.safetensors2.01 GBa2afec466f66aaa3435e43c9e9c99c6c2e8f68c29c67cacc8fdaee5af2770700
model-00004-of-00042.safetensors2.00 GB99cb2515bafb2c6888739e3682f0115aceef7557d3fbf58befee05239e654b6e
model-00005-of-00042.safetensors2.53 GB69f7e65a4f934e612e06a4c462e7e8e2a31aa4dfc8c4ef1f411ca1cfd1c145d8
model-00006-of-00042.safetensors2.01 GB345f58294bb7f7206a126bfa140b275d5bf5b4e2e15b212ee7cfd78f1221aefd
model-00007-of-00042.safetensors2.47 GB73c100743186b93ba46d7dfe8764582738810d8045aa90db2e55072fadb34885
model-00008-of-00042.safetensors2.01 GB16d4ccb7e01c3b5c688add8580961666e8b1c139866d72bcc16a97c7f769204a
model-00009-of-00042.safetensors2.47 GB3ceb21a54c6f73a74f126bf6f1d8115d66996848f04b61042cde43a07ac342bf
model-00010-of-00042.safetensors2.01 GB7f52a789f4580b9ac4ecdbbdd2072a87fd9d0d6ace078a2ad6afbb1b2a39f1cd
model-00011-of-00042.safetensors2.00 GBb1c0390e91dca848170f09fd9dfc3822cec573bd4803b2a387e633263829f868
model-00012-of-00042.safetensors2.01 GBba78b760ca3871e33f18af0e6a49ea540204e92b7b6898d3313f769680214dc2
model-00013-of-00042.safetensors2.47 GB017811fe069ff61a08f32db3d03bfe372c56eeadfd0eea6f570a0a9fcaf16c06
model-00014-of-00042.safetensors2.01 GB26ea76e3c2297850a480c0fd57051652d043ff061c753672fae3239911110889
model-00015-of-00042.safetensors2.47 GB4da720023e5c732a66c89dbcb8fd74c912fe0d7769ac35b02b05ecc997957244
model-00016-of-00042.safetensors2.01 GB377e8ecd6019d741d9ea69bdf1bb1e8b285cb0f342abcad4c90a3162a599605a
model-00017-of-00042.safetensors2.47 GB1917dacdfb80660b97b674b53498fb9fcfbcbc36646ea6df9b123c8f21266c1e
model-00018-of-00042.safetensors2.01 GB94e8d3f9599824fe594abf6f30fe1f34ff6c7220a679cf56cea9c4f7f49d3d34
model-00019-of-00042.safetensors2.00 GB3883df3cdacff26a94c706a5cf3921c0d3610f9270947b791604e11a1b130e2d
model-00020-of-00042.safetensors2.53 GBd694f42bbe77cc652190fbfa56a9c7054ff07c2442dd13f0c7ff302ad85b3c2c
model-00021-of-00042.safetensors2.54 GB0ce4e3ea89ee406b105474cfb7f8ebbc5216e4f13e1d75934b38a20509d447d0
model-00022-of-00042.safetensors2.01 GB5d2ecc4f797263ae4e5ae0b22a3d5ce6e4921f53543deebeb87cf7d967d37cf1
model-00023-of-00042.safetensors2.47 GB512295d880686a9e322b157245c86d90e080e01a104c29addfac5aac78bc31f5
model-00024-of-00042.safetensors2.01 GB43adcd3f0f54dc6a1a9f3bbab9b2009bd4564be2040e4613f6b8a91b36643c66
model-00025-of-00042.safetensors2.00 GB58a06d21b6262e282c5838895949486ed316f8be758d0c9374591c0162357a6c
model-00026-of-00042.safetensors2.53 GBdf3283ffe7b4bfdcbe8f57fff314da7ff28492356ca4698a6d69a34f0ffd6530
model-00027-of-00042.safetensors2.01 GBf92c7cb32d94cd38b5a2f213c54ebd4a20d36b9f57479accd70684966c570f75
model-00028-of-00042.safetensors2.47 GB1082b588136a38e767439988d039d6cd0798140a6ea76e9176630ab6500520ff
model-00029-of-00042.safetensors2.01 GBfb72f0f1b7b9caa4221ff18b16168dd3eead1d5d1816df542a80bbd998333375
model-00030-of-00042.safetensors2.47 GB1de80294229518b6ab351f45aa8935df0d3808ac4e2c0e5c447440830fc83833
model-00031-of-00042.safetensors2.01 GBbd5ac7bd255e48f2929b74fbe38f2e73e11bdda9d15e1361f56d08cc90b49bfc
model-00032-of-00042.safetensors2.00 GBeef4385c669ba31dc28595d131f335deb8101fa6cdbb162cda85b8467056c514
model-00033-of-00042.safetensors2.00 GB9e8785b913ad39da3651563e3c61e0e255b220f2e4e9084cd3b4b64965c8812b
model-00034-of-00042.safetensors2.47 GB841783250e4d4162eed2afa7a53d3ff8b6b9fffbaa4f71db14a5ec658ce12f3c
model-00035-of-00042.safetensors2.01 GB61a1c73fa2aebe6d75b4d6da4787f8a00f04b3d9f1ddb27dabced691d298b2c2
model-00036-of-00042.safetensors2.47 GB1639a631ae4609b897d5534e403c1e21f2a9eef874fc3665b63c42cf024985cd
model-00037-of-00042.safetensors2.01 GBccd6d7890ceb0b6dfe756ef8059fcdc6618628e07ee76a717eca703d109e5b06
model-00038-of-00042.safetensors2.47 GB9337523807be24718cc6dd608453f6f6cabae1a81e0a0bdfbae87930562f1488
model-00039-of-00042.safetensors2.68 GB0f246019ea43e9d413ccb59acaf42b6c1dc4875ecec8630670adc9529ed3ccdf
model-00040-of-00042.safetensors2.70 GB1efc04e4094610523b8e9f08e343c817648319e249e49889d14f3e81d1332d2d
model-00041-of-00042.safetensors2.68 GBcb3ec32450a3f16f714ef51182b997bae897c2618276cb7e3d4aac174782fdb2
model-00042-of-00042.safetensors95.9 MB0671812c682ae2f5a3a3517868f01f1ee8803dade07e190530503d19e13dec2e
model.safetensors.index.json229 KB02bb76b0f49370b0b4b469462f5069335f0b5c06a759e2088f87e03ce5a61331
optiq/metadata.json79.4 KB76776addf1682106f2926fe4940e420bc332a5f19f3968055eed3e3fef36fe46
tokenizer.json6.37 MB8f9f37ca37fdc4f5fd36d5cf4d3b0e8392edb4e894fd10cc0d70b4957c8633cf
tokenizer_config.json801 B6ac8c8dc065ed118161d02dd532749ae3f52c243deac27872134fae2f50d8547
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
314a05067d pinned now2026-11-15 05:10 UTC55 files · 92.5 GB

Use it

$ fw get mlx-community/DeepSeek-V4-Flash-0731-OptiQ-2bit
# manifest sha256 a1f05f7cf3b5… · 92.5 GB · 55 files
$ fw verify ./DeepSeek-V4-Flash-0731-OptiQ-2bit mlx-community/DeepSeek-V4-Flash-0731-OptiQ-2bit
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/mlx-community/DeepSeek-V4-Flash-0731-OptiQ-2bit.json --dir ./DeepSeek-V4-Flash-0731-OptiQ-2bit $ python3 fw.py verify ./DeepSeek-V4-Flash-0731-OptiQ-2bit ./mlx-community__DeepSeek-V4-Flash-0731-OptiQ-2bit.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mlx-community/DeepSeek-V4-Flash-0731-OptiQ-2bit --revision 314a05067de46de1504807c40c85654b0ac03771 --local-dir ./DeepSeek-V4-Flash-0731-OptiQ-2bit
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("mlx-community/DeepSeek-V4-Flash-0731-OptiQ-2bit", revision="314a05067de46de1504807c40c85654b0ac03771") model = AutoModelForCausalLM.from_pretrained("mlx-community/DeepSeek-V4-Flash-0731-OptiQ-2bit", revision="314a05067de46de1504807c40c85654b0ac03771", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve mlx-community/DeepSeek-V4-Flash-0731-OptiQ-2bit --revision 314a05067de46de1504807c40c85654b0ac03771

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
LICENSE
Text sha256
f2c6c602815669d292889e5be8c802f2ed950653b77999b1584e8e6aed25d040
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.deepseekSubject: DeepSeek-V4-Flash-0731-OptiQ-2bitDate: 2026-11-15Commit: 314a050Signed: 2DC28CC7B26A283B ✓
Upstream
mlx-community/DeepSeek-V4-Flash-0731-OptiQ-2bit
Pinned commit
314a05067de46de1504807c40c85654b0ac03771
Manifest
DeepSeek-V4-Flash-0731-OptiQ-2bit.json · .minisig
Manifest sha256
a1f05f7cf3b58fd6c9eab3a715a655ebeda4f9aa2c0ddde6897f0948aa055a0b
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:10 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/mlx-community/DeepSeek-V4-Flash-0731-OptiQ-2bit.json $ curl -O https://freeweights.allternit.com/manifests/mlx-community/DeepSeek-V4-Flash-0731-OptiQ-2bit.json.minisig $ minisign -Vm DeepSeek-V4-Flash-0731-OptiQ-2bit.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

deepseek-ai/DeepSeek-V4-Flash-0731 · 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/DeepSeek-V4-Flash-0731-OptiQ-2bit
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. DeepSeek-V4-Flash-0731-OptiQ-2bit.json. Provenance. Takedown history: none.
From: timm <huggingface.co/timm>Subject: deepseek_vit_412m.deepseek_v4_1_flash
From: bartowski <huggingface.co/bartowski>Subject: deepseek-ai_DeepSeek-R1-0528-GGUF
From: bartowski <huggingface.co/bartowski>Subject: deepseek-ai_DeepSeek-R1-0528-Qwen3-8B-GGUF
From: bartowski <huggingface.co/bartowski>Subject: deepseek-ai_DeepSeek-V3-0324-GGUF
From: bartowski <huggingface.co/bartowski>Subject: deepseek-ai_DeepSeek-V3.1-GGUF
From: mlx-community <huggingface.co/mlx-community>Subject: deepseek-ai-DeepSeek-V4-Flash-8bit