Running Z-Image Turbo locally: installation and VRAM

Z-Image Turbo is an image model with 6 billion parameters released by Tongyi-MAI (Alibaba) under the Apache 2.0 license. It generates an image in 8 steps and fits in 16 GB of VRAM in its full version. The int8 and FP8 files bring that down to around 8 GB (an estimate), and GGUF files with stable-diffusion.cpp bring it down to 4 GB according to that project. ComfyUI is the easiest option on PC, and Ollama on Mac.
Z-Image Turbo, released on November 26, 2025, produces an image in just 8 steps, which makes it usable on consumer graphics cards. You'll learn how much VRAM to plan for depending on the file, which method suits your machine, how to install the model in ComfyUI, on a Mac, or on a small card, and how to verify that everything runs offline.
#What exactly is Z-Image Turbo?
Z-Image Turbo is a text-to-image model released with open weights by Tongyi-MAI, the Alibaba team behind the Z-Image family. It has 6 billion parameters and generates an image in 8 network evaluations, compared with 28 to 50 for the base Z-Image model, according to the official repository.
Z-Image Turbo is a distilled version: distillation is a training technique that teaches a fast model to reproduce, in just a few steps, the output of a slower model, in this case the Z-Image base model. The official repository lists a release date of November 26, 2025, under the Apache 2.0 license, an open-source license that permits commercial use of both the images and the model.
Tongyi-MAI claims photorealism, accurate English and Chinese text in images, and adherence to instructions. According to the same repository, Z-Image Turbo ranked 8th on the Artificial Analysis text-to-image leaderboard on 8 December 2025, first among open models. That ranking is nearly a year old and has not been checked again.
- Settings
- 6 billion, S3-DiT architecture (a single-stream diffusion transformer that processes text and image in the same sequence).
- Steps
- 8 evaluations, i.e., 9 steps in the official diffusers code, with no guidance (guidance set to 0).
- Text encoder
- Qwen3 4B, a small language model that turns the prompt into vectors; it's a separate file.
- VAE
- The Flux 1 VAE, the module that converts the latent image into pixels.
- License
- Apache 2.0, commercial use allowed.
#How much VRAM do you need for Z-Image Turbo?
Benefit from our experience and a guided path to build your local assistant and use your AI every day.
- Lifetime online access
- PDF + files
- Refunded within 30 days
According to Tongyi-MAI, the full version of Z-Image Turbo fits in 16 GB of VRAM. The GGUF files for stable-diffusion.cpp bring that down to 4 GB. The int8 and 4-bit versions reduce the model from 12.3 GB to 6.2 GB or 4.51 GB.
You calculate it by adding up three files: the diffusion model, the Qwen3 4B text encoder, and the VAE. ComfyUI doesn't necessarily keep them all in VRAM at the same time: its README describes automatic VRAM and RAM management with model offloading. System RAM then acts as a buffer: it often prevents out-of-memory errors, at the cost of a possible slowdown.
| File | Role | Size | Which card (estimate) |
|---|---|---|---|
| z_image_turbo_bf16.safetensors | Full model (Comfy-Org) | 12.3 GB | 16 GB of VRAM or more |
| z_image_turbo_int8_convrot.safetensors | int8 model (Comfy-Org) | 6.2 GB | 8 to 12 GB |
| z_image_turbo_nvfp4.safetensors | NVFP4 model (Comfy-Org) | 4.51 GB | NVIDIA Blackwell, 8 GB or more |
| z_image_turbo-Q8_0.gguf | GGUF model (leejet) | 6.58 GB | 8 to 12 GB |
| z_image_turbo-Q4_0.gguf | GGUF model (leejet) | 3.68 GB | 4 to 6 GB |
| qwen_3_4b.safetensors | Full text encoder | 8.04 GB | 16 GB and up |
| qwen_3_4b_fp8_mixed.safetensors | FP8 text encoder | 5.63 GB | 8 to 12 GB |
| qwen_3_4b_fp4_mixed.safetensors | FP4 text encoder | 3.48 GB | small cards |
| ae.safetensors | VAE (Flux 1) | 335 MB | all |
The "Which card" column is an estimate by BestLLMfor, not data from the publisher. The diffusion model has to fit in VRAM during computation, with 1 to 3 GB of headroom for the image being generated and the VAE. The 12.3 GB bf16 file therefore exceeds a 12 GB card, which is why int8 or GGUF Q8_0 is the choice at that size.
For RAM, add up the files in the set you chose: 12.3 GB + 8.04 GB + 0.335 GB comes to about 20.7 GB for the full version. A machine with 32 GB of RAM therefore leaves room for the system and for offloading; with 16 GB of RAM, go for the int8 or GGUF versions and the FP8 encoder. This is an estimate based on addition, so confirm it on your machine.
#Which method should you choose to install Z-Image Turbo locally?
There are four ways to install Z-Image Turbo, depending on your machine: ComfyUI on a PC with an NVIDIA or AMD card, Ollama on an Apple Silicon Mac, stable-diffusion.cpp for 4 to 6 GB cards, and diffusers in Python for developers. ComfyUI remains the best-documented option.
| Your use case | Recommended method | Model file | Difficulty |
|---|---|---|---|
| Windows or Linux PC, NVIDIA 12 to 24 GB | ComfyUI, official workflow template | bf16 or int8 | Beginner, if ComfyUI is already installed |
| PC with NVIDIA RTX 50 | ComfyUI | NVFP4 or bf16 | Beginner |
| 4 to 6 GB card | stable-diffusion.cpp | GGUF Q3_K or Q4_0 | Intermediate (command line) |
| Mac Apple Silicon | Ollama (experimental) or ComfyUI | 13 GB fp8 on Ollama | Beginner with Ollama |
| Python developer | diffusers | Tongyi-MAI/Z-Image-Turbo repository | Advanced |
| AMD GPU | ComfyUI with ROCm | int8 or bf16 | Intermediate |
Ollama is the quickest route on a Mac, but as of November 18, 2026, its image generation is still experimental and limited to macOS: on a PC, use ComfyUI.
#How do you install Z-Image Turbo in ComfyUI?
To install Z-Image Turbo in ComfyUI, update ComfyUI, download three files from the Comfy-Org repository, place them in the designated models folders, then open the Z-Image-Turbo workflow template included with ComfyUI. With a recent version, you don't need any extra nodes.
The ComfyUI documentation states that Z-Image workflows are included in the built-in workflow templates, and that if they're missing, your version is too old. The latest version released on GitHub as of November 18, 2026 is ComfyUI 0.45.0, released on November 10, 2026.
- 01Update ComfyUIUpdate ComfyUI to the latest version (0.45.0 as of November 18, 2026), using the built-in manager or the ComfyUI Desktop updater. Older versions don't include the Z-Image-Turbo workflow template.
- 02Download the diffusion modelDownload z_image_turbo_bf16.safetensors (12.3 GB) from the Comfy-Org/z_image_turbo Hugging Face repository, in the split_files/diffusion_models folder. With less than 16 GB of VRAM, get z_image_turbo_int8_convrot.safetensors (6.2 GB) instead.
- 03Download the text encoderDownload qwen_3_4b.safetensors (8.04 GB) from split_files/text_encoders in the same repository, or its qwen_3_4b_fp8_mixed.safetensors version (5.63 GB) if memory is tight.
- 04Download the VAEDownload ae.safetensors (335 MB) from split_files/vae. It's the Flux 1 VAE: if you already have it for Flux, there's no need to download it a second time.
- 05Organize the filesPut the model in ComfyUI/models/diffusion_models, the encoder in ComfyUI/models/text_encoders, and the VAE in ComfyUI/models/vae, then restart ComfyUI so it detects the new files.
- 06Open the workflow and generateOpen ComfyUI's workflow templates, choose Z-Image-Turbo: Text to Image (the name used in the ComfyUI documentation), check that each loader node points to your files, write a prompt, and queue it. Keep the template's steps and guidance settings: Z-Image Turbo is designed for 8 evaluations without guidance.
This command, shown on the file's page on Hugging Face, downloads the full model. Change the path to get the encoder or the VAE, or use the download button on the same page.
#How do you use Z-Image Turbo on a Mac with Ollama?
On an Apple Silicon Mac, you can launch Z-Image Turbo with a single command using Ollama, which handles downloading and computation. Ollama opened up image generation on macOS on January 20, 2026, in experimental mode, and has announced Windows and Linux support for later, with no date given.
According to the model page on ollama.com, the default variant is FP8 and weighs 13 GB; the full-precision bf16 variant weighs 33 GB. Images are saved to the terminal's current directory, and the /set width and /set height commands change the size. The page recommends a resolution of 1,024 x 1,024 pixels.
On a Mac, unified memory is shared between the system and the model. With the 13 GB FP8 variant, a 16 GB Mac will be very tight and a Mac with 24 GB or more leaves headroom; the 33 GB bf16 variant requires 48 GB or more. These thresholds are an estimate based on adding up sizes, not a recommendation published by Ollama.
#Running Z-Image Turbo with 4 to 8 GB of VRAM
Z-Image Turbo runs on 4 GB of VRAM thanks to stable-diffusion.cpp, a diffusion engine written in C++ that reads compressed GGUF files. The project wiki recommends the model in Q4_0 or Q3_K and the Qwen3 4B encoder in Q4_K_M, with on-demand weight loading.
GGUF is a file format that stores a quantized model, meaning one that uses lower-precision numbers to reduce its size. The Z-Image Turbo GGUF files published by leejet, the author of stable-diffusion.cpp, range from 2.59 GB for Q2_K to 6.58 GB for Q8_0, with Q4_0 at 3.68 GB. The wiki warns that Q2_K produces lower quality.
This command is taken from the stable-diffusion.cpp wiki, with a shorter prompt. The --offload-to-cpu option loads weights into VRAM only during computation, with no loss of speed according to the wiki, and --diffusion-fa enables Flash Attention, which uses less memory. For high resolutions, the wiki also mentions --vae-tiling, which splits image decoding into tiles.
With 8 GB of VRAM in ComfyUI, the 6.2 GB int8 version plus the FP8 encoder is the simplest combination, and you never have to leave the graphical interface. ComfyUI's README claims it can run large models with 4 GB of VRAM and 8 GB of RAM "relatively fast" thanks to asynchronous weight loading; no speed benchmarks have been published for Z-Image Turbo on an 8 GB card.
#How do you verify that Z-Image Turbo is really running locally?
Z-Image Turbo is running locally if it produces an image with the network disconnected once the files are downloaded. At that point, neither ComfyUI nor Ollama needs internet access to generate: the prompt and the image stay on your machine. The following checks confirm the installation or help you troubleshoot.
- Offline test
- Disconnect Wi-Fi or the cable and run another generation: if the image comes out, the computation really is local.
- GPU load
- On Windows, open Task Manager (Performance tab) during generation: dedicated GPU memory should rise by several gigabytes. On a Mac, the Memory tab in Activity Monitor shows the same increase, since memory is unified.
- Consistent image
- Ask for simple text in the image, such as a sign with an English word: legible output shows that the Qwen3 4B encoder is loaded correctly.
- Out-of-memory error
- An out of memory message means the file is too big for your card: switch to int8, NVFP4 or GGUF, or lower the resolution.
- Missing nodes
- According to its documentation, red nodes when you open the workflow mean your ComfyUI is too old: update it.
Conversely, sites that offer to "generate with Z-Image online" send your prompt to a third-party server: that's no longer local.
#Z-Image Turbo, Z-Image, or Z-Image-Edit: which version should you choose?
To generate photorealistic images quickly, choose Z-Image Turbo; for more diversity, an effective negative prompt, or LoRA training, choose Z-Image, the base model released on January 27, 2026. Z-Image-Edit and Z-Image-Omni-Base have been announced but not yet released as of November 18, 2026.
| Model | Steps | Guidance (CFG) | Usage | Availability |
|---|---|---|---|---|
| Z-Image Turbo | 8 | No | Fast generation, photorealism | Released on November 26, 2025 |
| Z-Image | 28 à 50 | Yes, 3 to 5 | Varied creative work, training | Published January 27, 2026 |
| Z-Image-Edit | 50 | Yes | Instruction-based image editing | Announced, not released |
| Z-Image-Omni-Base | 50 | Yes | Generation and editing, raw base | Announced, not released |
Both released models have 6 billion parameters, so their VRAM requirements are similar, but Z-Image needs 28 to 50 steps instead of 8: an image takes several times longer. If you want to edit images today, Qwen-Image-Edit is a local alternative that's already available.
Is Z-Image Turbo free?+
Does Z-Image Turbo work with 8 GB of VRAM?+
What does “z image” mean in searches?+
Does Z-Image Turbo work on a Mac?+
Does Z-Image Turbo understand prompts in French?+
Do you need a NVIDIA card for Z-Image Turbo?+
#Sources and verification as of November 18, 2026
Release dates, settings, file sizes and commands were checked on 18 November 2026 in the official Tongyi-MAI repository, the Comfy-Org and leejet pages on Hugging Face, the ComfyUI documentation and the Ollama website. Smaller files and Ollama support for Windows and Linux may change.
- Source: official Z-Image repository (Tongyi-MAI, GitHub)
- Source: Z-Image-Turbo model card (Tongyi-MAI, Hugging Face)
- Source: Z-Image-Turbo tutorial (ComfyUI documentation)
- Source: files repackaged for ComfyUI (Comfy-Org, Hugging Face)
- Source: Z-Image with 4 GB of VRAM (stable-diffusion.cpp wiki)
- Source: Z-Image Turbo model card (Ollama)
- Source: image generation announcement (Ollama blog, January 20, 2026)
Feedback, an error, or a clarification? Let us know—it improves the guide for everyone.