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

Supported on AMD, Intel Arc, and Apple Silicon

The CLI path is the best-supported way to use ZINC today. Linux Vulkan covers AMD RDNA3/RDNA4 and Intel Arc Xe2/Battlemage; macOS uses the native Metal path on Apple Silicon. 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

# RDNA4 Linux only; skip on Intel Arc and macOS.
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