Datagram whitepaper

Image Generation on Apple Silicon: FLUX.2 Klein, Z-Image Turbo and Qwen-Image

November 23, 2026

Executive summary

We ran three open image models, all licensed for commercial use, on a Mac Studio M5 Max with 128 GB of memory: FLUX.2 Klein 4B, Z-Image Turbo and Qwen-Image 2512. Each made the same four images (a photo, a logo, an illustration and a product shot) with the same seed.

Our advice: use FLUX.2 Klein as the default for volume, offer Qwen-Image with Lightning as a premium option, and tell users up front that lettering needs checking.

Models and licences

Image models carry very different licences, and several popular ones can't be sold as a service. We chose only models whose licence allows commercial use.

Model Size Licence Notes
FLUX.2 Klein 4B (Black Forest Labs) 4B Apache 2.0 The 9B version is non-commercial
Z-Image Turbo (Tongyi-MAI, Alibaba) 6B Apache 2.0 Distilled for few steps
Qwen-Image 2512 (Qwen, Alibaba) 20B Apache 2.0 Newer Qwen-Image 2.1 is research-only
Qwen-Image 2512 Lightning LoRA (lightx2v) add-on Apache 2.0 Cuts Qwen from 30 steps to 8

Test setup

Part What we used
Mac Mac Studio M5 Max, 128 GB
Software mflux 0.24.0 (image models on Apple's MLX framework)
Weights 8-bit quantized copies, made once with mflux-save and loaded from the Mac's SSD
Images 1024×1024, seed 42, each model's recommended number of steps
Timing Generation only, model already loaded; median of the four prompts

The four prompts:

  1. Photo: "A photograph of a modern data center aisle at night, rows of server racks with blue status lights, a technician in a grey hoodie checking a laptop, shallow depth of field, 35mm"
  2. Logo: "A clean flat vector logo for a company called "Datagram", the word Datagram in bold sans-serif letters next to a simple geometric network icon, navy and teal on white"
  3. Illustration: "A cheerful watercolor illustration of a fox reading a book under a tree in autumn, warm colors, children's book style"
  4. Product: "Studio product shot of a silver Mac Studio computer on a white seamless background, soft shadows, high detail, commercial photography"

Speed and memory

FLUX.2 Klein makes an image in 4 seconds; full Qwen-Image takes over 2½ minutesSeconds per 1024×1024 image, median of 4 prompts, model already loadedFLUX.2 Klein 4B4 stepsFLUX.2 Klein 4B: 4.0 s4.0 sZ-Image Turbo9 stepsZ-Image Turbo: 11.7 s11.7 sQwen + Lightning8 stepsQwen + Lightning: 44 s44 sQwen-Image30 stepsQwen-Image: 162 s162 s
Datagram benchmark, Mac Studio M5 Max 128 GB, mflux 0.24.0, 8-bit weights, 1024×1024, 2026-11-23.

The first image after loading was slower for every model (FLUX.2 Klein 5.7 s, Z-Image 15.0 s, Qwen with Lightning 47.4 s); later images settled at the medians above. Loading the 8-bit weights from SSD took 0.3 s for FLUX.2 Klein, 1.2 s for Z-Image and 8.4 s for Qwen.

Qwen-Image needs five times the memory of FLUX.2 KleinPeak memory while generating, GBFLUX.2 Klein 4BFLUX.2 Klein 4B: 9.1 GB9.1 GBZ-Image TurboZ-Image Turbo: 11.8 GB11.8 GBQwen + LightningQwen + Lightning: 51.6 GB51.6 GBQwen-ImageQwen-Image: 51.5 GB51.5 GB
Datagram benchmark, Mac Studio M5 Max 128 GB, mflux 0.24.0, 8-bit weights, 1024×1024, 2026-11-23.
Model Disk (8-bit) Images per hour on one Mac
FLUX.2 Klein 4B 8 GB about 900
Z-Image Turbo 10 GB about 300
Qwen-Image + Lightning 35 GB about 80
Qwen-Image (30 steps) 34 GB about 22

Memory decides what can share the Mac. FLUX.2 Klein and Z-Image fit beside large language models on a 128 GB Mac with room to spare. Qwen-Image's 52 GB does not always fit when the Mac is also serving big chat models, so our image service checks free memory before loading it and asks the user to try again (or use FLUX) instead of letting the Mac swap.

Quality

Each row is one prompt; the images are shown at half size.

FLUX.2 Klein 4B Z-Image Turbo Qwen + Lightning Qwen-Image
FLUX.2 Klein: technician with a tablet in a rack aisle Z-Image Turbo: technician with a laptop beside racks Qwen with Lightning: technician with a laptop in a long aisle Qwen-Image: technician with a laptop, city view at the end of the aisle
FLUX.2 Klein: the word Dataran with a network icon Z-Image Turbo: the word Datogram twice Qwen with Lightning: a network icon and the word Datogram Qwen-Image: a polished network icon and the word Datogram
FLUX.2 Klein: watercolor fox with a picture book Z-Image Turbo: watercolor fox with a blue book Qwen with Lightning: painted fox with a leather book Qwen-Image: detailed watercolor fox with a leather book
FLUX.2 Klein: a generic silver box computer Z-Image Turbo: a silver monitor Qwen with Lightning: a silver tower computer Qwen-Image: a silver Mac Pro tower with an Apple logo

Lightning against standard Qwen: the 8-step images are slightly softer in fine detail but very close in composition and quality, at about a quarter of the time. One caveat: when mflux bakes the LoRA into 8-bit weights, it reports that only 32% of the LoRA's change survives the rounding. The results were still good; applying the LoRA without baking may improve them further.

Cost

Compute time is the main cost of serving images, so speed sets the price floor. As a share of one Mac's hour, a Qwen image costs about 11 times as much as a FLUX.2 Klein image.

Model Our price (November 2026) Hosted APIs, approximately
FLUX.2 Klein 4B $0.01 $0.005–0.014
Z-Image Turbo $0.01
Qwen-Image + Lightning $0.018 about $0.02 for Qwen-Image

Hosted prices vary by provider and by megapixel; check current rates. The point that matters more for many buyers: on our service, prompts and images are never stored.

Practical guidance

You want… Use
Many images, quickly and cheaply FLUX.2 Klein 4B
The prompt followed literally Z-Image Turbo
The best-looking result, logos and posters Qwen-Image with Lightning
Exact text or a real product None of these on their own: add the text afterwards, or start from a real photo

For running these on your own Mac, mflux on MLX is the simplest route: one Python package, 8-bit copies made once, and the models load in seconds. Leave memory for the largest image model you plan to load.

Limitations

Try it on our private AI API

The same models on our own Apple Silicon, by the token or by the image. Prompts and results are never stored.