A long Cycles render can tie up your own computer for a night or more. On a rented GPU you upload the scene, render it from the command line and download the frames, while your own machine stays free for modelling. You pay by the second for the time the server runs, so the cheapest way to work is to prepare everything first, render in one go and stop the server when the last frame is written. This guide covers the whole job: preparing the file, choosing a GPU, rendering a test frame, rendering an animation safely in the background and keeping the cost down.
What you need
- An Apidly account with some credit.
- A Blender scene that renders with Cycles.
- An SSH key, because you work in a terminal. If you have none, see Connect with SSH.
- A terminal on your own computer and a few minutes to paste commands. No Linux experience is needed beyond that.
Step 1: Prepare the scene at home
The server has no access to your disk, so the .blend file must carry everything it needs.
- Set the render engine to Cycles. The template is set up for Cycles on the GPU.
- Pack the textures and images into the file: File, External Data, Pack Resources. Unpacked textures come out pink on the server.
- Set the output size, the frame range and the sample count in the file. The command line uses what the file says, so you do not repeat these settings later.
- Save the file, for example
scene.blend.
The template installs the official Blender 4.2 LTS build with its GPU support. A file saved in a newer Blender usually opens, but features added after 4.2 are missing. If your scene uses simulation or particle caches, bake them at home and keep the cache files next to the scene, or the server recomputes them.
Step 2: Choose a GPU
The scene has to fit in the GPU memory (VRAM). The Blender headless rendering template asks for at least 8 GB, which suits simple scenes; heavy textures, dense geometry and volumes need more. If a test frame fails with an out-of-memory error, move to a card with more VRAM rather than cutting the scene.
Speed is the other half. A faster card costs more per hour but can finish sooner, and because billing is by the second the total can come out about the same or lower. The honest way to decide is to render one frame on a card, note how long it took and multiply by the number of frames. Compare the live prices on GPU pages such as the RTX 3090, the RTX 4090 and the RTX A6000, or on live pricing. Prices follow supply, so check them rather than a number in a guide. How much VRAM do you need? explains memory in more detail.
The suggested disk size holds Blender, a few scenes and their renders. Raise it before the start if you render long animations at high resolution or as EXR files.
Step 3: Start the server
Open Quick start with this template and add your SSH key. To choose the GPU yourself, open Deploy, pick a configuration, then above the template cards select Generate images and the Blender headless rendering card. Name the server, for example render-1, select your key under SSH keys, check Per hour on the review step and select Start my server. The Blender rendering template page shows what the template installs.
When the status is Running, open the server, copy the SSH command from the Connect tab and run it on your computer. The start script downloads Blender the first time, so check it is ready:
blender --versionIf the command is not found yet, wait a minute and try again.
Step 4: Upload the scene and render a test frame
On your computer, copy the scene into the scenes folder. Replace PORT and HOST with the values on the Connect tab, which also has a ready scp command:
scp -P PORT ./scene.blend root@HOST:/workspace/scenes/On the server, render frame 1 to a PNG on the GPU:
blender -b /workspace/scenes/scene.blend -o /workspace/renders/frame_#### -F PNG -f 1 -- --cycles-device CUDAWhat each part does:
-bruns Blender without a window.-o /workspace/renders/frame_####sets the output path; the####becomes the frame number, such asframe_0001.png.-F PNGsets the image format. UseOPEN_EXRif you composite later.-f 1renders frame 1. Blender reads its options in order, so-oand-Fmust come before-f.-- --cycles-device CUDAtells Cycles to use the GPU. It must stay at the very end. On RTX cards,OPTIXinstead ofCUDAis often faster; try both on your test frame.
Blender prints the render time when the frame is done. Download the frame and check it before you commit to a full animation: pink surfaces mean unpacked textures, black frames often mean a missing camera or light.
Step 5: Render the animation in the background
A render that runs in your SSH session stops if the connection drops. Start the whole animation in the background with nohup and follow its log:
nohup blender -b /workspace/scenes/scene.blend -o /workspace/renders/frame_#### -F PNG -a -- --cycles-device CUDA > /workspace/render.log 2>&1 &
tail -f /workspace/render.log-a renders the frame range saved in the file. Press Ctrl+C to stop watching; the render goes on, and you can close the terminal. Reconnect later and run ls /workspace/renders | wc -l to count the finished frames.
To render only part of the range, set the start and end frame before -a, for example -s 101 -e 200 -a. That is also how you resume after an interruption: frames already written stay on the disk, so render only the ones that are missing. Two servers can share one long animation the same way, each with its own range, which shortens the wall-clock time for about the same total compute.
Step 6: Download the frames
On your computer:
scp -P PORT 'root@HOST:/workspace/renders/*' ./renders/For hundreds of frames, pack them first with tar -czf /workspace/renders.tar.gz -C /workspace renders on the server and download the one file. Moving files shows other ways to copy data, including resumable transfers.
Control the cost
- Test one frame first. It tells you whether the scene fits the card and how long the full job takes, before you pay for hours.
- Render in one go. A server that waits while you tweak the scene is billed while it waits. Change the file at home, upload it, render.
- Add an automatic stop. Under the server's Settings, Automation, stop the server when the GPU has been idle for a number of minutes, so a render that finishes at night does not keep the server running until morning. See Automation.
- Stop or destroy. Stopping ends the compute charge; the disk with your scenes and renders is kept and still billed. Destroy ends every charge and deletes the disk, so download the frames first.
How billing by the second works has worked examples, and Control costs covers budgets and warnings.
Common problems
- Pink textures. The textures were not packed. Pack them, save and upload the file again.
- The render is slow and the GPU is idle. The
-- --cycles-device CUDApart is missing or not at the end, so Cycles runs on the processor. Check withnvidia-smiin a second SSH session while a frame renders. - "CUDA out of memory". The scene does not fit in VRAM. Choose a card with more memory, or lower the texture sizes.
- The output folder is empty.
-ocame after-for-a, so Blender used the path saved in the file. Put-oand-Ffirst. - The render stopped halfway. The connection dropped without
nohup, or the automatic stop ran out. Render the missing frames with-sand-e.
Next steps
Render Blender scenes on a cloud GPU has the same steps in short form. For other long jobs, see the rendering use case. When you are ready, start a Blender render server.
Try what this guide shows
Start one of these templates on a rented GPU server. You see the price per hour before you start, and you pay by the second.
- CustomSSH
Blender headless rendering
Render Blender scenes on the GPU from the command line over SSH.
- Minimum GPU memory
- 8 GB
- Default disk
- 80 GB
- BaseSSH
FFmpeg video transcoding (GPU encoder)
A terminal server with FFmpeg set up to convert and compress video quickly on the GPU video encoder.
- Minimum GPU memory
- 4 GB
- Default disk
- 40 GB
Try it on a real GPU server
Create a free account and add a balance from $10. Servers are billed by the second, and the review step shows the price per hour before you request one.
Related guides
- How much VRAM do you need for LLMs and images?Work out how much GPU memory your model needs before you rent: a simple formula for language models, image models and fine-tuning, with worked examples.
- How billing by the second worksHow compute and storage are charged by the second on Apidly Cloud, with worked examples.
- How to run ComfyUI on a cloud GPUStart ComfyUI on a rented GPU in a few clicks, pick a GPU that fits your image model, keep your outputs safe and stop paying when you are done.