Google Colab is where many people run their first notebook on a GPU, and its free tier is a fine place to learn. Its own FAQ also sets its limits: notebooks "can run for at most 12 hours", runtimes time out when idle, and the GPUs on offer change over time. When you need a particular card, more memory or a long run, renting a GPU by the hour gives you JupyterLab on the card you pick, for as long as you book it — billed by the second, so stopping early costs nothing more.
Start a notebook
The quickest way: open One-click AI → Write and run code and press Experiment with AI in a notebook (Python notebook (PyTorch) in Pro mode). RentGPUPower picks a machine with a card that fits, rents it from your balance and opens JupyterLab when it is ready.
To choose the card yourself, pick one on the marketplace and keep PyTorch + JupyterLab, the default environment, at checkout. When the rental is running, press Open JupyterLab on its page.
In the first cell:
import torch
print(torch.cuda.is_available(), torch.cuda.get_device_name(0))
It prints True and the card's name.
What is in it
- JupyterLab, with notebooks, a terminal (File → New → Terminal) and a file list.
- PyTorch with CUDA: PyTorch 2.4 on most cards, 2.9 on the RTX 50 series, NVIDIA's own build on Arm machines such as a DGX Spark. TensorFlow 2 (GPU) + Jupyter is another environment to pick at checkout.
- Root inside your own sandbox:
%pip installanything, andapt-get installsystem packages in the terminal. - The whole card, yours alone for the rental:
!nvidia-smishows it and what is using it.
Bring a notebook from Colab
A Colab notebook is an .ipynb file. In Colab, choose File → Download → Download .ipynb, then drag the file into JupyterLab's file list (or upload it with the rental page's Files panel). %pip install lines and ! shell lines run as they are. What belongs to Colab itself does not exist elsewhere, so replace it:
drive.mount()— put your data in/workspaceinstead: upload it, paste a link in the Files panel and the machine downloads it, or!wgetit from a notebook cell.files.upload()andfiles.download()— use JupyterLab's file list: drag files in, right-click → Download to take them out.- Colab's forms (
#@param) — plain Python variables do the same.
Which GPU
Memory decides what fits: about 8 GB for learning and small models, 24 GB to fine-tune a 7–8B model with QLoRA, more for bigger ones — how much memory you need. An RTX 3090 (24 GB) is about $0.31 an hour here, an RTX 4090 (24 GB) about $0.49, and an A100 80 GB about $1.05.
Long runs
- The rental lasts the hours you book. Switch on Keep it running on the rental page: twenty minutes before the end it adds an hour from your balance, again and again, until you stop it or reach the limit you set.
- Closing the tab does not stop the kernel, but what a cell prints while no tab is open is not kept. For a long training, save checkpoints and logs to files in
/workspace, or run it as a script that keeps going after you disconnect:nohup python train.py > train.log 2>&1 &in the terminal. - A notebook that computes keeps the rental busy. One left with nothing running stops itself after 60 minutes — you get a warning first — and the unused time comes back to your balance.
Keep your work
Files in /workspace are deleted when the rental ends. Download your notebooks and results before then, or copy them to My Drive (2 GB that stays with your account). Coming back to the same machine? Switch on Keep my files after this rental: /workspace stays on that computer for your next rental there, for $0.15 per GB a month — downloaded models and datasets included. How keeping files works.
What it costs
You pay the host's hourly price, locked when you book and billed by the second: stop early and the unused time comes back to your balance as credit. An afternoon of three hours on an RTX 4090 costs about 3 × $0.49.
FAQ
Is there a free tier?
No. You pay for the time you rent, from a balance you top up — at least $5.00 by card — and every unused second comes back to it.
Can I use VS Code instead of the browser?
Yes. Connect with SSH and open the notebook in VS Code or Cursor, on the rented card — how to connect.
Does my notebook run unchanged?
Mostly. Plain Python, %pip and ! lines run as they are; replace what is Colab's own (Drive, file upload and download, forms) as shown above.
Can I choose the exact GPU?
Yes. Every machine on the marketplace shows its card, its memory and its price before you rent it.
