Response speed and acceleration
Last updated
Qwen-Image 2.1 speed on RTX 5090 and Mac
Measure Qwen-Image 2.1 through image saving under matched conditions
Compare Qwen-Image 2.1 generation time alongside resolution, step count, and runtime1. Separating model loading, image generation, and saving makes configuration changes on the same hardware easier to assess. This guide examines the published 5.930-second RTX 5090 result and Mac test conditions, then explains how to time completion through saving the PNG on your hardware.
The 5.930-second result is a median for generating an image and saving a PNG after model setup. Initial memory loading was excluded; prompt2 encoding, denoising, VAE decoding3, and PNG saving were included. Conditions were 1024×1024, 40 steps, seed 42, and CFG4 disabled, across three generations.
Public results differ in settings and stop points
The 5.930-second result used LightX2V on an RTX 5090 with FP85 weights, FP166 accumulation, SM120 operators, SageAttention2, and CPU7 offloading8 of the text encoder. The same GPU9 can produce different results with a standard Diffusers setup. Public reports also stop at different points, so check whether saving is included as well as runtime and precision.
Scroll sideways to compare all columns.
| Hardware | Setup | Size | Reported time |
|---|---|---|---|
| RTX 5090 | LightX2V FP8 / FP16 accumulation | 1024×1024 | 5.930 s |
| RTX 5090 | Mesmer FP4 rank 128 | 1024×1024 | 7.40 s |
| RTX 5090 | Diffusers NF4 | 1024×1024 | 19.2 s |
| RTX 4070 Ti SUPER 16GB | Mesmer INT4 rank 128 | 1024×1024 | 22.82 s |
| M5 Max 36GB | ComfyUI GGUF Q8 + INT8 encoder | 1024×1024 | 156 s |
| M5 Max 36GB | ComfyUI GGUF Q4 + W4A8 encoder | 1024×1024 | 218 s |

On Mac, Q4's smaller file took longer in one report
ComfyUI Metal10 results on an M5 Max 36 GB reported 156 seconds for Q8 and 218 seconds for Q4 at 1K. Both model quantization11 and encoder precision differed (INT8 versus W4A8), so Q4 alone cannot explain the gap. At 1536 the reports were both around eight minutes; at 2048 they were around eighteen minutes. The Q4 2048 result was one cold run, not a precise ranking.
Inspect the workflow alongside its output
These are Qwen-Image 2.1 examples published by Comfy Org, not outputs or timing measurements produced by this site.



Before

After
The 5090 path also requires matching conversion and configuration
LightX2V provides a CUDA12 image and FP8 conversion example for RTX 5090. Point separately to the original model folder and converted DiT13 checkpoint14, and set dit_quantized_ckpt in the configuration plus lightx2v_path and model_path in the script to real paths. Replace /path/to; the commands do not download the entire model automatically.
This path requires a supported environment and lightx2v-kernel with SM120 operators. Copying the script to an RTX 3090 or DGX Spark does not provide the same acceleration; check support and measurement conditions for each device.
python tools/convert/converter.py \
--source /path/to/Qwen-Image-2.1/transformer \
--output /path/to/Qwen-Image-2.1-fp8-f16-accum \
--output_name qwen_image_21_fp8_f16_accum \
--model_type qwen_image_21_dit \
--quantization_profile qwen-image-21-fp8-f16-accum \
--quantized --linear_type fp8 --device cuda:0 --single_file
# Set the checkpoint path in the JSON config and model paths in the script first.
bash scripts/qwen_image_21/qwen_image_21_t2i_fp8_f16_accum_5090.shResolution and GPU count affect the total task differently
Doubling width and height makes four times as many pixels, but public runtimes can grow by more. Diffusers NF4 rose from 19.2 seconds at 1K to 118.8 at 2K; Mac Q8 rose from 156 to 1094 seconds. The site's high-resolution RTX 5090 figures are estimates using a 1K result and scaling from another run, not 2K measurements for that setup. Compose at 1K first and render only final candidates at larger sizes.
Two GPUs may help process multiple images in parallel, but do not automatically halve one image's time. The model and runtime must support distributed inference15, and device transfers add cost. This comparison uses single-GPU paths, so it does not assume summed memory or half the time per image.

Measure the same task through PNG saving
Record initial model loading separately. After a warm-up, run the same prompt, seed, resolution, and step count three times and calculate the median. Note offloading and encoder precision and verify them in logs. Keep the stop point consistent: computation-log completion or a saved PNG that opens.
The site's RTX 5090 reference uses the public LightX2V result; other NVIDIA devices use relative estimates from standard NF4, while Mac uses separate GGUF16 reports and chip-specific estimate ranges. No figure was invented for GB10 or swap-dominated conditions without evidence. Before buying, look for raw results or reproducible demonstrations with the same configuration and settings.

Compare Qwen image variants by steps and quantization
Qwen-Image 2.1 base, Turbo, GGUF, and Pruna are different execution paths with different file formats and step counts. Do not compare figures unless resolution, steps, runtime, and GPU are all stated. First verify that the variant and application support the output you need, such as rendered text, reference editing, or transparency. Do not transfer timings or optimization ratios from 2512 to 2.1.
Read official timings only within their stated setup
For every repository timing, record the GPU, resolution, steps, precision, and whether warm-up is excluded. When Pruna’s 5 or 8 steps, Turbo’s 8, and Base’s 40 differ, compare output quality and task alongside runtime. Leave any metric the source does not publish blank or marked ‘not reported’; do not infer it.
Terminology notes
Runtime — The software environment that provides facilities needed while a program runs. In local AI, it can also refer to a model execution engine.
Back to the textPrompt — The input text sent to a model. For generative models it describes the desired result and strongly shapes the output.
Back to the textImage and audio decoding — The stage that reconstructs image pixels or playable audio from a compressed internal representation.
Back to the textCFG — A technique that combines conditioned and unconditioned predictions to adjust how generation follows its input. Distilled models may require it to be disabled; recommended values vary by model.
Back to the textFP8 — A floating-point format that represents each value with 8 bits.
Back to the textFP16 — A 16-bit floating-point format. It uses the same bit width as BF16 but allocates bits differently between exponent and significand.
Back to the textCPU — The central processor that runs the operating system and general-purpose instructions; in AI workloads it also handles tasks such as preprocessing and data movement.
Back to the textOffloading — Moving some model data from GPU memory to system RAM or storage when capacity is limited. This adds data transfer.
Back to the textGPU — A processor designed to handle many calculations in parallel. It performs model computations during AI inference.
Back to the textMetal — Apple’s low-level technology for graphics and parallel GPU computation.
Back to the textQuantization — A way to represent model weights or values with fewer bits, reducing storage and memory use. The coarser representation can also affect accuracy.
Back to the textCUDA — A software platform for general-purpose computing on NVIDIA GPUs.
Back to the textDiT — Short for Diffusion Transformer: a model architecture that uses a transformer to refine noisy representations across diffusion steps.
Back to the textCheckpoint — A file containing saved model weights and related state. Versions or tasks in one model family may use different checkpoints.
Back to the textInference — The process of using a trained model to compute an output for an input. Here, local inference means running the model on the user’s device.
Back to the textGGUF — A file format for model data, widely used by llama.cpp-based tools.
Back to the text
Frequently asked questions
- What should you check first in this article?
- Compare Qwen-Image 2.1 generation time alongside resolution, step count, and runtime. Separating model loading, image generation, and saving makes configuration changes on the same hardware easier to assess. This guide examines the published 5.930-second RTX 5090 result and Mac test conditions, then explains how to time completion through saving the PNG on your hardware.
Read next
Model setup recipes
Qwen-Image 2.1 GGUF download: choosing Q4_K_M, Q8_0 and the VAE
Image and video generation
Qwen-Image 2.1: local image generation and editing
Image and video generation
ComfyUI requirements: choosing 8, 12, 16 or 24GB VRAM
Response speed and acceleration
Nemotron Bolt vs Qwen3.8-27B: which is faster for agent work?
