To run ComfyUI on a rented GPU, choose a card with enough VRAM for your models: 24 GB, such as an RTX 4090, for SDXL; 32 to 48 GB, such as an RTX 5090 or L40S, for FLUX.1 at full precision. FP8 or 4-bit FLUX builds bring it onto 24 GB cards. Reach the UI through an SSH tunnel rather than exposing it to the internet. On NeuraMesh these GPUs rent from $0.13 per GPU-hour (as of 2026-12-03), and you pay only after you approve a confirmed quotation.
Prices for the GPUs that suit this job
| GPU | Memory | Good for | From, per GPU-hour | A 3-hour session |
|---|---|---|---|---|
| RTX 3090 | 24 GB | SDXL on a budget | $0.13 | $0.39 |
| RTX 4090 | 24 GB | SDXL, FLUX in FP8 or 4-bit | $0.40 | $1.20 |
| RTX 5090 | 32 GB | FLUX in FP8 fully on the GPU | $0.47 | $1.41 |
| L40S | 48 GB | Full BF16 FLUX pipeline | $0.54 | $1.62 |
| RTX PRO 6000 | 96 GB | FLUX plus several models loaded | $0.77 | $2.31 |
| H100 | 80 GB | Large batches, LoRA training | $2.00 | $6.00 |
Prices follow current supply; the quotation you approve is the price you pay. Compare every GPU on the price list, or see how prices moved in the GPU rental price index.
How much VRAM ComfyUI needs
ComfyUI itself is light; the models in your workflow decide the GPU. An SDXL checkpoint is about 7 GB and runs comfortably on 24 GB. FLUX.1 is much larger: its 12B transformer is about 23.8 GB in BF16, and with the T5-XXL text encoder, CLIP and the VAE the full pipeline is about 34 GB before activations. ControlNets, upscalers and LoRAs add more.
| Workflow | Model weights | GPU to rent |
|---|---|---|
| SDXL base, 1024 px | 6.94 GB checkpoint | 24 GB, e.g. RTX 4090 or RTX 3090 |
| SDXL with ControlNet and upscaler | Checkpoint plus extra models | 24 to 32 GB |
| FLUX.1 in 4-bit (NF4) | About 8.8 GB | 16 to 24 GB |
| FLUX.1 in FP8 | About 17.2 GB | 24 to 32 GB, e.g. RTX 5090 |
| FLUX.1 at full BF16 precision | About 33.7 GB | 48 GB, e.g. L40S, or larger |
| Video models and long batches | Varies by model | 48 GB or more |
The figures come from the FLUX.1 GPU requirements guide, which also covers offloading options when a workflow does not quite fit.
Which GPU is best for ComfyUI
For most people the RTX 4090 is the default: 24 GB runs SDXL and quantized FLUX quickly at a consumer-card price. The RTX 5090 adds 8 GB and much more memory bandwidth, enough to keep FP8 FLUX entirely on the GPU. Choose a 48 GB L40S when you want the full-precision FLUX pipeline without tricks, or a 96 GB RTX PRO 6000 when a workflow loads several large models at once.
Speed matters less than cost per accepted image. Measure seconds per image on your own workflow, convert to images per hour and divide the hourly price by the images you keep; the GPU for image generation guide shows the method with worked numbers.
Set up ComfyUI on the rented machine
Once the machine is ready, clone the Comfy-Org repository, install PyTorch with CUDA and the requirements in a virtual environment, put checkpoints in models/checkpoints and start python main.py. Keep ComfyUI on its default 127.0.0.1 binding and open the UI on your own computer through an SSH tunnel to port 8188. Never start it with a bare --listen on a public address: anyone who finds the port could run workflows on your GPU.
The ComfyUI cloud GPU setup guide has every command and the common errors, including CUDA out of memory, empty checkpoint lists and black images. To train your own style, see Train a FLUX LoRA on a rented GPU.
Keep the session cost down
An idle GPU costs the same as a busy one. Plan sessions around the work, keep models on a persistent volume so a new session starts quickly, and stop the machine when the batch is done. At an assumed $0.70 per GPU-hour, three active hours cost $2.10, but the same card left idle overnight for 12 hours costs $8.40.
How to rent the GPU
- Open a GPU's rental page from the table above, or the GPU catalog, and choose a plan, the GPU count, the hours and a region.
- Send the request: you get a quotation with a reference number straight away.
- NeuraMesh sources the capacity and emails the confirmed price and a secure payment link, typically within one business day.
- Approve and pay; you receive a ready machine. Nothing is charged until you approve the quotation.
Data center capacity runs in professional facilities and suits production work and long runs; Value capacity comes from independent hosts at the lowest price and suits experiments and work that can restart from a checkpoint. Before a large or long order, run through the delivery terms checklist.
Questions
What is the best GPU for ComfyUI?
An RTX 4090 with 24 GB suits most SDXL and quantized FLUX workflows. Choose an RTX 5090 for FP8 FLUX fully on the GPU, or a 48 GB L40S for the full-precision FLUX pipeline.
How much VRAM does FLUX need in ComfyUI?
About 34 GB for the full BF16 pipeline, about 17 GB in FP8 and about 9 GB with a 4-bit transformer, plus activations. Offloading can bring it lower at a cost in speed.
Is it safe to open ComfyUI on a cloud GPU?
Keep ComfyUI bound to 127.0.0.1 and reach it through an SSH tunnel. Exposing it on a public address lets anyone who finds the port use your GPU.
Can I rent a GPU for just a few hours?
Yes. Choose the hours on the order form; the price is per GPU-hour and orders have a minimum value, which the order form and quotation show.
Guides for this job
Get a confirmed quotation.
Choose a GPU, plan, count and duration. You receive the confirmed price and a secure payment link by email, and nothing is charged until you approve.
Rent GPUs →