Downloads · 30 days
231
30% of all-time downloads
mlx-community/BTL-4-OptiQ-4bit
BTL-4-OptiQ-4bit is a text generation model from mlx-community. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as apache-2.0.
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 · Qwen3.5 family
Downloads · 30 days
231
30% of all-time downloads
All-time downloads
776
Public
Parameters
34.7B
22.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors22.2 GB · 100%
How the weights are stored.
U3234.7B · 100%
From the Hugging Face model README
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 · Qwen3.5 family
An OptiQ mixed-precision quant of badtheorylabs/BTL-4, a 35B agentic reasoning model built for tool use, software engineering and long-horizon agent work. 22.2 GB on disk, down from 70.2 GB at bf16.
| Property | Value |
|---|---|
| Base | badtheorylabs/BTL-4 |
| Architecture | qwen3_5_moe — sparse mixture-of-experts |
| Method | OptiQ mixed-precision, per-layer bit allocation reused from the base family |
| On disk | 22.2 GB (bf16: 70.2 GB) |
BTL-4 keeps the architecture of the family it is derived from, so which layers tolerate fewer bits is unchanged and a fresh sensitivity sweep would only rediscover the same answer. The per-layer allocation comes from Qwen3.5-35B-A3B-OptiQ-4bit: 512 of 512 layers matched, with the routed experts mostly at 4-bit and attention, router and layer edges kept at 8-bit.
No Capability Score is published for this quant. The base model's own benchmarks are on its card.
pip install mlx-optiq
optiq serve --model mlx-community/BTL-4-OptiQ-4bit
That gives you an OpenAI and Anthropic compatible endpoint with mixed-precision KV cache, tool-call healing and prompt caching — useful for an agentic model, where a malformed tool call costs a whole turn.
Or from Python:
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/BTL-4-OptiQ-4bit")
prompt = tokenizer.apply_chat_template(
[{"role": "user", "content": "List the files in the current directory."}],
add_generation_prompt=True, tokenize=False,
)
print(generate(model, tokenizer, prompt=prompt, max_tokens=512))