Generating 10,000 images at 1024×1024 on a rented GPU costs about $8.83–$17.67 with FLUX.1 [schnell] on an RTX 4090, $17.67–$26.50 with SDXL, and $53.00–$202.00 with FLUX.1 [dev], depending on the card (estimates at our list prices). The model and step count matter more than the GPU.
- Cost per image formula
- hourly price × seconds per image ÷ 3,600
- SDXL default resolution
- 1024×1024
- FLUX.1 [dev] parameters
- 12 billion
- FLUX.1 [schnell] steps
- 1–4
- 10,000 SDXL images on one RTX 4090
- about 11–17 GPU-hours (estimate)
- Prices checked
- 25 Nov 2026
Bulk image generation is one of the clearest cases for renting a GPU: the work is predictable, it runs flat out, and you can stop the machine the moment the batch is done. That makes the cost easy to calculate. This article works out what 10,000 images cost on rented GPUs for the three model families people use most, shows the formula so you can plug in your own timings, and covers the settings that change the answer.
How do you calculate the cost per AI image?
Cost per image is the GPU's hourly price multiplied by the seconds each image takes, divided by 3,600. Everything else follows from that.
cost per image = hourly price × seconds per image ÷ 3,600
images per hour = 3,600 ÷ seconds per image
cost per 1,000 = cost per image × 1,000
GPU-hours for N = N × seconds per image ÷ 3,600Example: SDXL on an RTX 4090 at about 5 seconds per image produces about 720 images an hour. At our RTX 4090 price of $1.59/hr, 1,000 images cost about $2.21.
Seconds per image depends on the model, the number of sampling steps, resolution, batch size, precision and the software (diffusers, ComfyUI, or an optimised pipeline). The estimates below use common defaults at 1024×1024, one image at a time.
What do 10,000 images cost with each model?
At 1024×1024, 10,000 images cost roughly $8.83–$27.72 with FLUX.1 [schnell], $17.67–$55.44 with SDXL and $53.00–$202.00 with FLUX.1 [dev] on our GPUs. The model choice moves cost far more than the card.
| Model and settings | GPU | Seconds per image (estimate) | Images per hour | Cost per 1,000 | Cost per 10,000 | GPU-hours for 10,000 |
|---|---|---|---|---|---|---|
| FLUX.1 [schnell], 4 steps | RTX 4090 | 2–4 | 900–1,800 | $0.88–$1.77 | $8.83–$17.67 | 5.6–11.1 |
| FLUX.1 [schnell], 4 steps | RTX PRO 6000 | 1–2 | 1,800–3,600 | $1.36–$2.72 | $13.58–$27.17 | 2.8–5.6 |
| FLUX.1 [schnell], 4 steps | H100 | 1–2 | 1,800–3,600 | $1.39–$2.77 | $13.86–$27.72 | 2.8–5.6 |
| SDXL, 30 steps | RTX 4090 | 4–6 | 600–900 | $1.77–$2.65 | $17.67–$26.50 | 11.1–16.7 |
| SDXL, 30 steps | L40S | 5–7 | 510–720 | $2.63–$3.67 | $26.25–$36.75 | 13.9–19.4 |
| SDXL, 30 steps | RTX PRO 6000 | 2.5–4 | 900–1,440 | $3.40–$5.43 | $33.96–$54.33 | 6.9–11.1 |
| SDXL, 30 steps | H100 | 2.5–4 | 900–1,440 | $3.47–$5.54 | $34.65–$55.44 | 6.9–11.1 |
| FLUX.1 [dev], 28 steps | RTX 4090 (FP8) | 12–20 | 180–300 | $5.30–$8.83 | $53.00–$88.33 | 33.3–55.6 |
| FLUX.1 [dev], 28 steps | RTX PRO 6000 | 6–10 | 360–600 | $8.15–$13.58 | $81.50–$135.83 | 16.7–27.8 |
| FLUX.1 [dev], 28 steps | H100 | 6–10 | 360–600 | $8.32–$13.86 | $83.17–$138.61 | 16.7–27.8 |
| FLUX.1 [dev], 28 steps | L40S | 15–22 | 160–240 | $7.88–$11.55 | $78.75–$115.50 | 41.7–61.1 |
| FLUX.1 [dev], 28 steps | H200 | 5–8 | 450–720 | $12.63–$20.20 | $126.25–$202.00 | 13.9–22.2 |
Seconds per image are planning estimates at 1024×1024, batch size 1, common sampler settings; they are not measurements and vary with software version and settings. Costs = our live list prices × seconds ÷ 3,600. The RTX 4090 row for FLUX.1 [dev] assumes FP8 weights so the 12B model fits in 24 GB.
Three patterns hold across the table:
- The cheapest card per hour is usually the cheapest per image. The H100 renders SDXL faster than the RTX 4090, but costs about three times as much per hour for well under three times the speed.
- Step count is a cost dial. FLUX.1 [schnell] at 4 steps costs a fraction of FLUX.1 [dev] at 28 steps. If [schnell] quality is enough for your use, it is the biggest single saving.
- Big cards earn their price on big jobs. The 96 GB RTX PRO 6000 or an H100 makes sense when the model or workflow doesn't fit in 24 GB: FLUX.1 [dev] at full BF16 precision, several models loaded at once in ComfyUI, high resolutions, or video models.
For help choosing the card, see what GPU you need for AI image generation.
How does the provider change the cost?
The GPU-hours are the same on any provider with the same card, so the bill scales with the hourly rate. Here is 10,000 SDXL images on an RTX 4090 (11.1–16.7 GPU-hours) across providers.
| Provider (RTX 4090) | $/hr | 10,000 SDXL images |
|---|---|---|
| TensorDock (from) | 0.35 | $4–6 |
| Vast.ai (marketplace median) | 0.47 | $5–8 |
| RunPod Secure Cloud | 0.89 | $10–15 |
| Wandering Giants | $1.59/hr | $17.67–$26.50 |
Inputs: list prices checked 25 Nov 2026, US$ before tax ("from" = cheapest current offer); GPU-hours from the table above.
Marketplaces are cheaper per hour for the RTX 4090 and you should use them if the lowest per-image cost is the goal and you're comfortable picking hosts. The difference on 10,000 images is roughly $4 to $16. What changes the real bill more is the time around the batch: installing ComfyUI, downloading 20–30 GB of model weights, testing a workflow, and leaving the machine running after the job finishes.
How long does a 10,000-image job take?
On one GPU, 10,000 SDXL images take about 11–17 hours on an RTX 4090 and 7–11 hours on an H100; FLUX.1 [dev] takes 33–56 hours on an RTX 4090. Split across several GPUs, the wall-clock time falls in proportion while the GPU-hours, and so the cost, stay about the same.
| Job | 1 GPU | 2 GPUs | 4 GPUs | 8 GPUs | Cost (same in each case) |
|---|---|---|---|---|---|
| 10,000 SDXL on RTX 4090 | 11–17 h | 5.6–8.3 h | 2.8–4.2 h | 1.4–2.1 h | $17.67–$26.50 |
| 10,000 FLUX.1 [dev] on RTX 4090 | 33–56 h | 17–28 h | 8.3–13.9 h | 4.2–6.9 h | $53.00–$88.33 |
| 10,000 FLUX.1 [dev] on H100 | 17–28 h | 8.3–13.9 h | 4.2–6.9 h | 2.1–3.5 h | $83.17–$138.61 |
Assumes the job splits evenly (each GPU runs its own copy of the pipeline on a share of the prompts) and ignores a few minutes of per-GPU start-up. Our live list prices.
This is the useful property of per-minute GPU rental for batch work: an overnight job and a lunchtime job cost the same. Running one pipeline per GPU, each with its own slice of the prompt list, is the simplest way to do it; how to generate AI images faster using multiple GPUs covers the set-up.
What settings change the cost the most?
After the model, these settings move cost per image most, roughly in order:
- Steps. Time scales almost linearly with sampling steps. Going from 50 to 25 steps roughly halves cost; check quality at each.
- Resolution. Time grows at least in proportion to pixel count. 2048×2048 is four times the pixels of 1024×1024. Generating at 1024 and upscaling is usually cheaper than native 2048.
- Batch size. Generating 4–8 images per batch uses the GPU more fully than one at a time and lowers seconds per image, if VRAM allows. This is where 48–96 GB cards gain ground.
- Precision and optimisations. FP8 weights,
torch.compileand attention optimisations can cut time noticeably; gains depend on card and software version. - Extras in the workflow. ControlNet, IP-Adapter, high-resolution fix passes, face detailers and upscalers each add time per image. A ComfyUI workflow with three passes can cost three times a plain render.
- Failed and rejected images. If you keep one in four, your cost per kept image is four times the table figure. Budget for the images you discard.
How do you time your own pipeline?
Don't budget on estimates. Render 50 images with your real prompts and settings, take the median seconds per image after the first (which includes warm-up), and use the formula above. With diffusers it looks like this (diffusers 0.30 or later, PyTorch 2.x):
import time, torch
from diffusers import StableDiffusionXLPipeline
pipe = StableDiffusionXLPipeline.from_pretrained(
"stabilityai/stable-diffusion-xl-base-1.0", torch_dtype=torch.float16
).to("cuda")
prompts = [l.strip() for l in open("prompts.txt") if l.strip()][:50]
pipe(prompts[0], num_inference_steps=30) # warm-up
times = []
for i, p in enumerate(prompts):
t = time.time()
pipe(p, num_inference_steps=30, height=1024, width=1024).images[0].save(f"out_{i}.png")
times.append(time.time() - t)
times.sort()
sec = times[len(times) // 2]
price_per_hour = 1.29 # our RTX 4090 list price on 25 Nov 2026; replace with your GPU's hourly price
print(f"median {sec:.2f}s/image, ~${price_per_hour * sec / 3.6:.2f} per 1,000 images")The models are on Hugging Face: SDXL base 1.0, [FLUX.1 [dev]](https://huggingface.co/black-forest-labs/FLUX.1-dev) and [FLUX.1 [schnell]](https://huggingface.co/black-forest-labs/FLUX.1-schnell). Check each model card's licence before commercial use: FLUX.1 [dev] has a non-commercial licence, while [schnell] is Apache 2.0. Step-by-step set-ups are in how to run FLUX on a cloud GPU and how to run Stable Diffusion on a cloud GPU.
Is an image API cheaper than renting a GPU?
For small or occasional volumes, a per-image API is often the simpler and comparable choice: no set-up, no idle time, and you pay only per image. For thousands of images a month, renting usually wins on cost per image, and it lets you use custom LoRAs, ComfyUI workflows, ControlNet and any open model.
To compare, take the API's published per-image price for an equivalent model and resolution, and compare it with your own cost per kept image, including set-up time. A worked example: a team generating 40,000 SDXL product images a month at about 5 seconds each needs about 56 GPU-hours on an RTX 4090. Add 10 hours a month for set-up and testing, and the GPU bill is about 66 hours, roughly $104.94 at our list price, or about $2.62 per 1,000 images all-in. Set that against the API's price per 1,000 to decide.
When does renting from Wandering Giants fit for image generation?
Wandering Giants Compute rents the 24 GB RTX 4090 at $1.59/hr and the 96 GB RTX PRO 6000 Blackwell at $4.89/hr, plus L40S, H100 and larger cards. Image work runs in Root mode: a full Ubuntu machine with SSH, Jupyter, CUDA and PyTorch, where you install ComfyUI, diffusers or anything else and keep your models on the disk.
We're not the cheapest RTX 4090 per hour; marketplaces list it for less, as the table above shows. We fit batch image work in three ways:
- By-the-minute billing from prepaid credit, so a 3-hour-12-minute batch costs exactly that, and the machine stops itself if credit runs out.
- Cheap pauses. Pause between batches and pay only for the disk (about 3¢ an hour per 50 GB), so your ComfyUI install and 30 GB of models are there next time without re-downloading.
- Up to 8 of the same card in one machine, so a 10,000-image job can finish in an afternoon at the same total cost as running overnight on one GPU.
For more ways to cut cost per image, see how to reduce GPU cloud costs and the wider GPU rental cost guide. When you're ready, see our GPUs and prices.
Frequently asked questions
How much does it cost to generate one AI image on a cloud GPU?
Roughly a tenth of a cent to just over a cent at 1024×1024. Cost per image is the hourly price × seconds per image ÷ 3,600. An SDXL image taking 5 seconds on our RTX 4090 at $1.59/hr costs about $0.0022; a FLUX.1 [dev] image taking 8 seconds on our H100 at $4.99/hr costs about $0.0111.
Which GPU is cheapest per image?
Usually a 24 GB consumer card such as the RTX 4090. Data-centre cards like the H100 render faster but cost about three times as much per hour, so for SDXL and FLUX.1 [schnell] the 4090 is cheaper per image. Bigger cards win when the model doesn't fit in 24 GB or you need high resolutions.
How long does it take to generate 10,000 images?
About 11–17 hours for SDXL on one RTX 4090, 6–11 hours on an H100, and 33–56 hours for FLUX.1 [dev] on an RTX 4090 (estimates at 1024×1024). Split the job across four GPUs and wall-clock time falls by about four while the cost stays the same.
Is it cheaper to use an image API or rent a GPU?
For a few hundred images, an API is simpler and often comparable. For thousands of images a month, renting a GPU is usually cheaper per image and lets you use custom models, LoRAs and ComfyUI workflows. Compare the API's per-image price with the per-image figures in this article.
Does image resolution change the cost?
Yes, roughly in proportion to pixel count or faster. A 2048×2048 image has four times the pixels of 1024×1024 and typically takes four times as long or more, so it costs four times as much or more. Upscaling a smaller render is often cheaper than generating at full size.
Can I use FLUX.1 [dev] images commercially?
Check the licence on the model card. FLUX.1 [dev] is released by Black Forest Labs under a non-commercial licence with its own terms, while FLUX.1 [schnell] is released under Apache 2.0. Licence terms can change, so read the current version before a commercial project.
Rent the GPU for this, by the minute.
Run ComfyUI, FLUX or SDXL on your own RTX 4090 or 96 GB RTX PRO 6000 with root access, billed by the minute so a 10,000-image batch costs only the minutes it runs.
Prepaid credit, billed by the minute, stops itself when credit runs out. Prices in £, $, €, ¥, CA$, A$, CHF and S$; UK prices include VAT.
Keep reading
- Complete guideHow Much Does It Cost to Rent a GPU in 2027?
- GuideWhat GPU Do You Need for AI Image Generation?
- TutorialHow to Run FLUX Locally or on Cloud GPU Infrastructure
- Complete guideHow to Run Stable Diffusion on a Cloud GPU
- GuideHow to Generate AI Images Faster Using Multiple GPUs
- ComparisonBest GPU Clouds for Stable Diffusion
About this article. Written by the Wandering Giants Compute team, the people who run Wandering Giants Compute. Hardware figures are the manufacturers’ published specifications. Speeds and costs marked as estimates are worked out from those specifications and our current prices, with the method shown; they are not measured benchmarks. Wandering Giants prices are taken live from our price list each time this page is built.
Last reviewed 25 November 2026.