hanzoai/zen6-nano-2b)Zen 6 Nano (2B) is an open-weight Apache-2.0 1.58-bit ternary multimodal & agentic language model (2B ternary tier) developed by Hanzo AI and Zen LM in collaboration with Zoo Labs Foundation.
Post-trained directly in the Sylvester-Walsh-Hadamard ternary weight space via Straight-Through Estimator (STE) Quantization-Aware Training (QAT) with Hybrid Muon + AdamW, zen6-nano combines:
zen6-nano provenance with zero system-prompt wrapper overhead, while strictly respecting custom developer personas (e.g., Godot game NPCs, JSON extractors).<tool_call> execution, <tool_response> synthesis, error recovery, and calibrated tool abstention across fs, exec, code, git, test, hanzo, and game-engine director tools.PQ2_0 / PTQ1_0 / Q2_0 run natively on hanzo-engine (CUDA, Metal, ROCm, Vulkan, CPU) with MTP, DFlash2, SA_SPEC suffix-automaton lookup, and GuardedDraft, as well as llama.cpp (Q2_0 on upstream b11556+). MLX 2-bit packs run with mlx-lm on Apple Silicon.zen6-nano-2b-PTQ1_0.gguf (~429 MB) on CPU runners for end-to-end LLM and tool-calling integration tests with no API keys or per-token cost.| File | Format | Description |
|---|---|---|
zen6-nano-2b-PQ2_0.gguf |
PQ2_0 (2.13 bpw) | 517 MB — Fastest CPU/GPU 2B ternary model |
zen6-nano-2b-PTQ1_0.gguf |
PTQ1_0 (1.75 bpw) | 429 MB — Ultra-compact Cloud CI/CD CPU tier |
zen6-nano-2b-Q2_0.gguf |
Q2_0 (2.25 bpw) | 547 MB — Group-64 ternary compatibility band |
zen6-nano-2b-mmproj-Q8_0.gguf |
Q8_0 | 365 MB — Multimodal vision projector |
zen6-nano-2b-mmproj-BF16.gguf |
BF16 | 671 MB — Full-precision vision projector |
hanzo up)# Pull & serve hanzoai/zen6-nano-2b locally on http://127.0.0.1:36900/v1
hanzo pull hanzoai/zen6-nano-2b
hanzo engine serve hanzoai/zen6-nano-2b
# Or bring up the full local Hanzo stack + open-weight AI
hanzo up
/v1/chat/completions + MCP Toolsfrom openai import OpenAI
client = OpenAI(base_url="http://127.0.0.1:36900/v1", api_key="hanzo-local")
resp = client.chat.completions.create(
model="zen6-nano",
messages=[{"role": "user", "content": "Check Cargo.toml and run the workspace unit tests."}],
tools=[{
"type": "function",
"function": {
"name": "fs",
"description": "Read or list workspace files",
"parameters": {
"type": "object",
"properties": {"action": {"type": "string"}, "path": {"type": "string"}},
"required": ["action", "path"],
},
},
}],
)
print(resp.choices[0].message)
- name: Serve open-weight Zen 6 Nano on CPU
run: |
hf download hanzoai/zen6-nano zen6-nano-2b-PTQ1_0.gguf --local-dir ./models
llama-server -m ./models/zen6-nano-2b-PTQ1_0.gguf -ngl 0 --port 36900 --alias zen6-nano &
mmproj).prism.hadamard.*), eliminating activation outliers so group-128 ternary {-d, 0, +d} weights retain full dense precision.PQ2_0 (GGML type 142, 34 B / 128 weights = 2.125 bpw): Fastest SIMD / CUDA dp4a / ROCm / Metal execution (zen6-nano-9b-PQ2_0.gguf).PTQ1_0 (GGML type 143, 28 B / 128 weights = 1.750 bpw): Smallest disk & RAM footprint (5 trits/byte base-3 packing).Q2_0 (GGML type 42, 18 B / 64 weights = 2.250 bpw): Group-64 compatibility band.Released under the Apache License 2.0 (LICENSE). Preserves full upstream attribution to Qwen (Alibaba Cloud), Bonsai-2 (Prism ML, Inc.), and DFlash / ProCreations (NOTICE).