SAVRN
Search Contact SAVRN

Open-weight model · Text generation

Wrench-4B-Qwen3.6-8E

by Stan Chen stancsz/Wrench-4B-Qwen3.6-8E

Wrench-4B-Qwen3.6-8E is an open-weight model for text generation from Stan Chen, released under Apache License 2.0. It has 3.9B parameters and a 2,000,000-token context. At 16-bit it needs about 9.5 GB of GPU memory, which fits on 1x MI300X from $1.85 an hour, at the lowest prices in the SAVRN Index.

Wrench is a pruned, task-specific developer-tool SLM derived from Qwen3.6-35B-A3B. It contains 3,881,244,016 parameters and stays below the 4.25B parameter ceiling. This is a public experimental artifact.

Parameters3.9B
Context2,000,000
Weights7.9 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads—

Runs On

What it takes to serve Wrench-4B-Qwen3.6-8E (3.9B parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 7.9 GB 9.5 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 3.9 GB 4.7 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 2.0 GB 2.4 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Oct 7, 2026.

Wrench-4B-Qwen3.6-8E on every accelerator the SAVRN Index prices, at every precision

Model Card

By Stan Chen, published under apache-2.0, revision da3c40932c0f.

Wrench is a pruned, task-specific developer-tool SLM derived from Qwen3.6-35B-A3B. It contains 3,881,244,016 parameters and stays below the 4.25B parameter ceiling. This is a public experimental artifact. It is downloadable and reproducible, but it is not a claim that the final 4M retrieval-quality or MiniMax-parity gates have passed. The canonical distribution format is Hugging Face Safetensors. The package embeds the tokenizer hook, deterministic mechanical lookup runtime, long-context overlay, hash-bound package metadata, and the FreeToken launcher. It is intended to feel like one model directory, not a separately installed harness. The bundled launcher requires a compatible FreeToken…

Read Stan Chen's full model card

Wrench is a pruned, task-specific developer-tool SLM derived from Qwen3.6-35B-A3B. It contains 3,881,244,016 parameters and stays below the 4.25B parameter ceiling.

This is a public experimental artifact. It is downloadable and reproducible, but it is not a claim that the final 4M retrieval-quality or MiniMax-parity gates have passed.

Copy the package

hf download stancsz/Wrench-4B-Qwen3.6-8E --local-dir Wrench-4B-Qwen3.6-8E

The canonical distribution format is Hugging Face Safetensors. The package embeds the tokenizer hook, deterministic mechanical lookup runtime, long-context overlay, hash-bound package metadata, and the FreeToken launcher. It is intended to feel like one model directory, not a separately installed harness.

Run the experimental native endpoint

The bundled launcher requires a compatible FreeToken build and a CUDA GPU:

.\serve_freetoken.ps1

The package declares a 4M input endpoint and uses an 8K recent SWA window in the experimental native profile. The default fast path mechanically reduces noisy payloads to a 64K effective working context. Native direct input and fast staged input are recorded separately in receipts.

The embedded reducer has also passed a 4M mechanical stress diagnostic: 3,999,951 estimated raw tokens reduced to a 92-token model prefill, with 1.0 target-reference recall, 1.0 current-intent preservation, and 1.0 hash-bound reference rate. The measured cold ingest was 98.713 ms and hot selection was 44.441 ms on the local development machine. This is deterministic toolbelt evidence, not an LLM long-context quality or MiniMax-parity claim.

Backend status

  • Hugging Face Safetensors: public experimental package.
  • FreeToken: locally verified experimental backend.
  • vLLM: requires a registered Wrench architecture adapter.
  • Ollama, llama.cpp, and GGUF: not verified for Wrench hybrid attention and lookup semantics. Do not assume a generic GGUF conversion preserves these features.

Known limits

The base checkpoint config is 2M position-capable. The 4M probe uses a runtime RoPE extension and is not long-context training. Native 4M retrieval quality, throughput under production concurrency, and the full MiniMax matched-workflow acceptance suite remain open measurements.

Wrench has no direct mutation authority. It proposes bounded developer-tool actions or abstains; a surrounding verifier must enforce execution policy.

Configuration

Architecture
Qwen3_5MoeForConditionalGeneration
Context length (tokens)
2,000,000
Layers
40
Hidden size
2,048
Attention heads
16
Key/value heads
2
Head dimension
256
Vocabulary size
248,320
Experts
8
Experts active per token
8
Model type
qwen3_5_moe

Identity and Version

Repository
stancsz/Wrench-4B-Qwen3.6-8E
Publisher
Stan Chen
Task
Text generation
Modality
Text
Library
transformers
Parameters
3.9B parameters
Languages
Not stated by the source
Revision
da3c40932c0ff3dbdb0f143e93fdf4a6c606a6a1
First published
2026-09-19
Last updated
2026-09-20

Files and Weights

34 files, 7.9 GB in total. The weights are 9 files totalling 7.9 GB in safetensors.

Weights9 files · 7.9 GB
Configuration16 files · 184.8 KB
Tokenizer3 files · 19.5 MB
Documentation3 files · 18.1 KB
Other2 files · 8.5 KB
Repository1 file · 1.6 KB
Every file
FileTypeSizeSHA-256
model-00001-of-00009.safetensorsWeights1.1 GB ab0aae1ef5fa
model-00002-of-00009.safetensorsWeights1.1 GB 3a124c8b97b3
model-00003-of-00009.safetensorsWeights1.1 GB aef830184d39
model-00004-of-00009.safetensorsWeights1.1 GB 2f1c0cae7e5f
model-00005-of-00009.safetensorsWeights1.1 GB 4fda838c7156
model-00006-of-00009.safetensorsWeights1.1 GB c9c000df3d52
model-00007-of-00009.safetensorsWeights315.0 MB 772349de19a5
model-00008-of-00009.safetensorsWeights1.1 GB ccc66ec81746
model-00009-of-00009.safetensorsWeights130.1 MB ade84ac5655a
config.jsonConfiguration3.3 KB —
configuration.jsonConfiguration58 B —
generation_config.jsonConfiguration202 B —
model.safetensors.index.jsonConfiguration99.4 KB —
preprocessor_config.jsonConfiguration390 B —
tokenization_wrench.pyConfiguration3.3 KB —
video_preprocessor_config.jsonConfiguration385 B —
wrench-native-context-artifact.jsonConfiguration3.4 KB —
wrench-package-receipt.jsonConfiguration979 B —
wrench-package.jsonConfiguration1.2 KB —
wrench-runtime.jsonConfiguration621 B —
wrench_mechanical.pyConfiguration13.0 KB —
wrench_prefill.pyConfiguration21.1 KB —
wrench_runtime/__init__.pyConfiguration45 B —
wrench_runtime/prefill.pyConfiguration21.1 KB —
wrench_runtime/sitecustomize.pyConfiguration16.3 KB —
LICENSEDocumentation11.3 KB —
README.mdDocumentation2.6 KB —
WRENCH_PORTABLE_DISTRIBUTION.mdDocumentation4.1 KB —
chat_template.jinjaOther7.8 KB —
serve_freetoken.ps1Other772 B —
.gitattributesRepository1.6 KB —
tokenizer.jsonTokenizer12.8 MB 5f9e4d4901a9
tokenizer_config.jsonTokenizer15.6 KB —
vocab.jsonTokenizer6.7 MB —

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
7.9 GB
Download from Stan Chen

Released by Stan Chen through its official repository on Hugging Face. Read the license.

Memory Requirements

PrecisionWeights in memory
As published7.9 GB
16-bit7.9 GB
8-bit3.9 GB
4-bit2.0 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About Wrench-4B-Qwen3.6-8E

How much GPU memory does Wrench-4B-Qwen3.6-8E need?

About 9.5 GB at 16-bit and 2.4 GB at 4-bit: the weights (3.9B parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run Wrench-4B-Qwen3.6-8E on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use Wrench-4B-Qwen3.6-8E commercially?

Yes. Wrench-4B-Qwen3.6-8E is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

What is Wrench-4B-Qwen3.6-8E's context length?

2,000,000 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Text generation

NULLXES-SHINRA-4B-SMOKE

Maga

NULLXES SHINRA-4B-INSTRUCT is the Language Intelligence Layer of the NULLXES system. SHINRA is responsible for multilingual understanding, coding intelligence, instruction following, structured outputs, and agent preparation. This checkpoint is the instruction-tuned (and optionally DPO-aligned) 4B-class dense decoder. Proprietary ShinraForCausalLM (not a Llama / Mistral / Qwen / GPT-NeoX wrapper). RMSNorm → GQA+RoPE → residual → RMSNorm → SwiGLU → residual then final RMSNorm and tied LM head. Special tokens:. Generation stop is. Document stop is. Three stages. Pretrain → NULLXES SHINRA-4B-BASE SHINRAPRETRAINV1: 40% FineWeb-Edu, 20% code (python-edu + licensed Stack), 15% math/science…

Open weights other 3.9B parameters 32,768 tokens transformers

Model · Text generation

NULLXES-SHINRA-4B-INSTRUCT

Maga

Language Intelligence layer of the NULLXES Intelligence Stack. SHINRA Our llm. Release line 1. NULLXES SHINRA-4B-BASE — pretrain 2. NULLXES SHINRA-4B-INSTRUCT — instruction tuning ← this model 3. NULLXES SHINRA-4B-INSTRUCT (aligned) — DPO / preference optimization Parameter budget Architecture source: configs/shinra4b.yaml at 903a639e03bc. The total also matches the published safetensors metadata. Custom SentencePiece Unigram, trained in-house on a web + wiki + code mix. Special tokens trustremotecode=True is required: SHINRA ships a custom ShinraConfig and modeling code, not a reused architecture class. The HF inference widget cannot load custom code, hence inference: false. Data pipeline…

Open weights other 3.9B parameters 32,768 tokens transformers

Model · Text generation

NVIDIA-Nemotron-3-Nano-4B-BF16

NVIDIA

Dec 2025 \- Jan 2026 September 2024 The pretraining data has a cutoff date of September 2024\. NVIDIA-Nemotron-3-Nano-4B-BF16 is a small language model (SLM) trained from scratch by NVIDIA, and designed as a unified model for both reasoning and non-reasoning tasks. It responds to user queries and tasks by first generating a reasoning trace and then concluding with a final response. The model's reasoning capabilities can be controlled via a system prompt. If the user prefers the model to provide its final answer without intermediate reasoning traces, it can be configured to do so, albeit with a slight decrease in accuracy for harder prompts that require reasoning. Conversely, allowing the…

Open weights other 4B parameters 262,144 tokens transformers

An OpenRLHF GRPO reinforcement-learning checkpoint for Qwen3-4B. - Saved at global step 6 of RL run seededrlbaseramp25stoppengen4kep2ncp5n3ncgroot16. - This is the best checkpoint by pass@8 so far in this run. Trained and validated on the cobalt-train ≤2/64 frontier (canonical cleaneval prompts): 1833 train / 112 held-out val problems the base model solved on at most 2 of 64 samples under the iidcanonical@64 hardness scan. Val evals sample at temperature 1.0 (matching the cleaneval frontier eval). Reward signal: binary code-correctness (1.0 if the generated program passes the problem's tests, otherwise 0.0). This checkpoint is the main revision (git branch) of the repo, with the model at…

Open weights 4B parameters 262,144 tokens transformers

An OpenRLHF GRPO reinforcement-learning checkpoint for Qwen3-4B. - Saved at global step 8 of RL run seededrlbaseramp25stoppengen4kep2ncp5n3nbgroot16. - This is the best checkpoint by pass@8 so far in this run. Trained and validated on the cobalt-train ≤2/64 frontier (canonical cleaneval prompts): 1833 train / 112 held-out val problems the base model solved on at most 2 of 64 samples under the iidcanonical@64 hardness scan. Val evals sample at temperature 1.0 (matching the cleaneval frontier eval). Reward signal: binary code-correctness (1.0 if the generated program passes the problem's tests, otherwise 0.0). This checkpoint is the main revision (git branch) of the repo, with the model at…

Open weights 4B parameters 262,144 tokens transformers

Model · Text generation

Qwen3-4B

Qwen

Qwen3 is the latest generation of large language models in Qwen series, offering a comprehensive suite of dense and mixture-of-experts (MoE) models. Built upon extensive training, Qwen3 delivers groundbreaking advancements in reasoning, instruction-following, agent capabilities, and multilingual support, with the following key features: - Uniquely support of seamless switching between thinking mode (for complex logical reasoning, math, and coding) and non-thinking mode (for efficient, general-purpose dialogue) within single model, ensuring optimal performance across various scenarios. - Significantly enhancement in its reasoning capabilities, surpassing previous QwQ (in thinking mode) and…

Open weights apache-2.0 4B parameters 40,960 tokens transformers