Documentation

Start with how to actually use ZINC: confirm the hardware, build the binary, run one model, then go deeper into tuning and internals.

Current Status

Experimental and under active development

The CLI path is the best-supported way to use ZINC today. Linux on AMD RDNA3 or RDNA4 is the intended environment. Server mode and broader model coverage are still evolving.

Benchmarks
bash
# Fastest path: build ZINC, see which supported models fit,
# pull one, and run it end to end.
git clone https://github.com/zolotukhin/zinc.git
cd zinc
zig build -Doptimize=ReleaseFast
export RADV_PERFTEST=coop_matrix

# Verify Vulkan, shaders, and the runtime path first
./zig-out/bin/zinc --check

# Show supported models for this machine
./zig-out/bin/zinc model list

# Pull one managed model from the built-in catalog
./zig-out/bin/zinc model pull qwen35-9b-q4k-m

# Check the managed model before the first run
./zig-out/bin/zinc --check --model-id qwen35-9b-q4k-m

# Run a prompt with that managed model
./zig-out/bin/zinc \
  --model-id qwen35-9b-q4k-m \
  --prompt "The capital of France is"

# If you already have a local GGUF file, use it directly instead
./zig-out/bin/zinc --check -m /path/to/model.gguf
./zig-out/bin/zinc \
  -m /path/to/model.gguf \
  --prompt "The capital of France is"

Start Here

The practical docs for getting ZINC onto a real machine and actually running it.

Deep Docs

The architecture, tuning, and reference material once the runtime path is already clear.

Zig API Sections