Intermediate 12 minImage

Running Z-Image Turbo locally: installation and VRAM

BestLLMfor — Z-Image Turbo — Setup and VRAM
Direct response

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.

By Mohamed Meguedmi·Update 2026-11-28·Tested on Windows, macOS, and Linux

#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?

The complete kit for building your own AI assistant.

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.

Z-Image Turbo files and their sizes on Hugging Face, as of November 18, 2026
FileRoleSizeWhich card (estimate)
z_image_turbo_bf16.safetensorsFull model (Comfy-Org)12.3 GB16 GB of VRAM or more
z_image_turbo_int8_convrot.safetensorsint8 model (Comfy-Org)6.2 GB8 to 12 GB
z_image_turbo_nvfp4.safetensorsNVFP4 model (Comfy-Org)4.51 GBNVIDIA Blackwell, 8 GB or more
z_image_turbo-Q8_0.ggufGGUF model (leejet)6.58 GB8 to 12 GB
z_image_turbo-Q4_0.ggufGGUF model (leejet)3.68 GB4 to 6 GB
qwen_3_4b.safetensorsFull text encoder8.04 GB16 GB and up
qwen_3_4b_fp8_mixed.safetensorsFP8 text encoder5.63 GB8 to 12 GB
qwen_3_4b_fp4_mixed.safetensorsFP4 text encoder3.48 GBsmall cards
ae.safetensorsVAE (Flux 1)335 MBall

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.

i
NVFP4: recent cards only
According to NVIDIA, NVFP4 is a 4-bit format introduced with the Blackwell architecture, used in the GeForce RTX 50 series. On an older card, go with the int8 version or a GGUF file instead.

#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.

Which Z-Image Turbo method fits your setup, as of November 18, 2026
Your use caseRecommended methodModel fileDifficulty
Windows or Linux PC, NVIDIA 12 to 24 GBComfyUI, official workflow templatebf16 or int8Beginner, if ComfyUI is already installed
PC with NVIDIA RTX 50ComfyUINVFP4 or bf16Beginner
4 to 6 GB cardstable-diffusion.cppGGUF Q3_K or Q4_0Intermediate (command line)
Mac Apple SiliconOllama (experimental) or ComfyUI13 GB fp8 on OllamaBeginner with Ollama
Python developerdiffusersTongyi-MAI/Z-Image-Turbo repositoryAdvanced
AMD GPUComfyUI with ROCmint8 or bf16Intermediate

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.

  1. 01
    Update ComfyUI
    Update 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.
  2. 02
    Download the diffusion model
    Download 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.
  3. 03
    Download the text encoder
    Download 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.
  4. 04
    Download the VAE
    Download 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.
  5. 05
    Organize the files
    Put 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.
  6. 06
    Open the workflow and generate
    Open 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.
Windows, macOS, or Linux (Hugging Face hf tool)
hf download hf://Comfy-Org/Z-Image-Turbo/split_files/diffusion_models/z_image_turbo_bf16.safetensors

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.

→
Rendering text in the image
According to Tongyi-MAI, Z-Image Turbo is particularly good at rendering English and Chinese text. For text inside an image, Ollama’s model page recommends putting the exact text in quotation marks and describing its style and position.

#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.

macOS (Ollama)
ollama run x/z-image-turbo "a cat holding a sign that says hello world"

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.

Windows (PowerShell, compiled stable-diffusion.cpp)
.\bin\Release\sd-cli.exe --diffusion-model z_image_turbo-Q3_K.gguf --vae ae.safetensors --llm Qwen3-4B-Instruct-2507-Q4_K_M.gguf -p "A cinematic photograph of a lighthouse at dusk" --cfg-scale 1.0 -v --offload-to-cpu --diffusion-fa -H 1024 -W 512

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.

The Z-Image family according to Tongyi-MAI’s official repository as of 18 November 2026
ModelStepsGuidance (CFG)UsageAvailability
Z-Image Turbo8NoFast generation, photorealismReleased on November 26, 2025
Z-Image28 à 50Yes, 3 to 5Varied creative work, trainingPublished January 27, 2026
Z-Image-Edit50YesInstruction-based image editingAnnounced, not released
Z-Image-Omni-Base50YesGeneration and editing, raw baseAnnounced, 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.

Frequently asked questions
Is Z-Image Turbo free?+
Yes. Tongyi-MAI released Z-Image Turbo under the Apache 2.0 license. It is free to download from Hugging Face and ModelScope, and commercial use of the images is permitted. ComfyUI, Ollama and stable-diffusion.cpp are also free. The only costs are your computer hardware and electricity.
Does Z-Image Turbo work with 8 GB of VRAM?+
Yes, with a lighter version. With 8 GB of VRAM, Z-Image Turbo runs in ComfyUI with the 6.2 GB int8 file and the 5.63 GB FP8 encoder, with ComfyUI offloading whatever doesn't fit to RAM, or with a 3.68 GB GGUF Q4_0 file in stable-diffusion.cpp. Plan on at least 16 GB of system RAM, by our estimate.
What does “z image” mean in searches?+
“Z-Image” is the name of Tongyi-MAI (Alibaba)’s family of image models. Its Chinese name is 造相. The family includes the fast, distilled Z-Image Turbo and the slower, more varied base model, Z-Image. Sites offering “Z-Image online” are third-party services, separate from the publisher.
Does Z-Image Turbo work on a Mac?+
Yes, on Apple Silicon Macs. The simplest option is Ollama, which has run Z-Image Turbo with a single command since January 20, 2026, in experimental mode, with a 13 GB FP8 variant. ComfyUI also works on Apple Silicon Macs, according to its README. Plan on 24 GB of unified memory to be comfortable, by our estimate.
Does Z-Image Turbo understand prompts in French?+
Tongyi-MAI officially claims support for English and Chinese text rendering only. Its text encoder, Qwen3 4B, belongs to a family Qwen announced for more than 100 languages, but Tongyi-MAI does not document what a prompt in French does to the image. Describe the scene in English for a predictable result. Put any text you want in the image in quotation marks.
Do you need a NVIDIA card for Z-Image Turbo?+
No. ComfyUI supports NVIDIA, AMD, and Intel cards as well as Apple Silicon chips, according to its README, and stable-diffusion.cpp also works with Vulkan. NVIDIA cards are still the best supported: the 4.51 GB NVFP4 file, for example, targets Blackwell cards, the architecture behind the GeForce RTX 50 series.

#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.

Did this guide help you?

Feedback, an error, or a clarification? Let us know—it improves the guide for everyone.