How Much GPU Do I Need to Train an RL Agent?
The four tiers, in one table
The honest answer depends on what you are training, not on how serious you are. The same PPO algorithm needs nothing on CartPole and a datacenter on a 7B language model. Here is the whole decision in one table.
| What you train | GPU needed | Why | |
|---|---|---|---|
| Tier 0 | CartPole, LunarLander, MiniGrid, small MuJoCo | None — laptop CPU | Small MLP policy, numeric observations, minutes per run |
| Tier 1 | Atari, pixel observations, small vision policies | Modest — 8–12 GB (RTX 3060 / 4060) | CNN policy; the bottleneck is stepping parallel envs, not the update |
| Tier 2 | Isaac Lab, MuJoCo Playground, thousands of parallel envs | Serious — 16 GB+ VRAM, RTX card | The simulator itself lives on the GPU; Isaac Sim needs RT cores |
| Tier 3 | RLVR / GRPO on a 7B+ language model | Rent — multi-GPU or cloud | Full fine-tuning needs ~16 bytes per parameter; QLoRA fits on one card |
Tier 0: no GPU at all — and that is most of RL
When people ask about GPUs for RL, they usually picture a deep-learning training run. But the first year of RL is not that. A CartPole policy is a two-layer network with 64 hidden units; the observation is four numbers. The work is stepping the environment millions of times, and that work happens on the CPU. A laptop trains a CartPole PPO agent in a few minutes and a LunarLander agent in well under an hour. Our first-timer’s recipe runs the whole thing on a CPU, and the five bugs that stop most first agents are all in the code, not the hardware.
The same holds for the whole classic-control and grid-world lane, and for small MuJoCo locomotion: HalfCheetah and Hopper with PPO train happily on a CPU, just slower than on a GPU. The number that matters here is not VRAM but CPU cores — vectorized environments step in parallel, so a 8-core laptop beats a 2-core one by roughly the core count. If you are choosing between a GPU and a better CPU for learning RL, buy the CPU.
Tier 1: a modest GPU helps — Atari and pixels
The first time a GPU pays for itself is when the observation becomes an image. An Atari policy is a small convolutional network over 84×84 frames, and the original DQN ran on a single GPU in 2015 — any modern 8 GB card is far more hardware than that paper had. The run still works on a CPU; it just takes several times longer, because the bottleneck shifts to stepping dozens of parallel Atari environments while the network waits.
If you are buying exactly one card for RL, 12 GB is the comfortable floor: an RTX 3060 (12 GB) or better covers Atari, pixel-based MiniGrid, and small vision policies with headroom to spare. A free Colab T4, with about 15 GB of VRAM, covers the same ground for free — it is the best deal in RL hardware, and it is enough for everything in this tier. The mistake is buying a 24 GB card for Tier 1 work: the extra VRAM sits idle while the CPU steps the environments.
Tier 2: the GPU is the simulator — Isaac Lab and friends
GPU-parallel simulators flip the question. In Isaac Lab and MuJoCo Playground, the physics itself runs on the GPU, with thousands of copies of the robot stepping in lockstep. Here the GPU is not accelerating the network update — it is the environment, and the hardware floor is real. NVIDIA lists 16 GB of VRAM and an RTX 4080 as the minimum for Isaac Sim rendering, and a single RTX 4090 running thousands of parallel environments is the setup the framework was designed around.
There is one trap worth knowing before you spend anything: A100 and H100 datacenter cards cannot run Isaac Sim, because they have no RT cores. It is the rare case where the more expensive card is the wrong card — a cloud account full of H100s will not start the simulator at all, while a single RTX card will. (If you only need the Newton physics engine headless, without rendering, any CUDA-capable GPU from Turing onward works.) The same logic applies to MuJoCo Playground and other JAX-based GPU sims: one good consumer GPU, thousands of envs, no cluster required. This is the tier where buying a card makes sense, because the card is the lab.
Tier 3: LLM-scale RLVR — rent, don’t buy
RLVR on a language model is a different kind of bill. The VRAM math is simple and unforgiving: full fine-tuning with the Adam optimizer needs roughly 16 bytes per parameter — weights, gradients, and two optimizer states — so a 7B model needs around 112 GB before activations. That is multiple datacenter GPUs, and nobody buys those for a first RLVR run.
The two escapes are LoRA and renting. LoRA and QLoRA train only a small adapter, so a 7B model drops to roughly 6–8 GB of VRAM and fits on a single consumer card. Renting covers the rest: a GRPO run on a 7B model over a few hours on rented A100s or H100s costs a small fraction of buying the hardware, and the run is usually over before the rental bill gets interesting. The rule that has held up for years: if the run is shorter than a week, rent. If you are running the same training job every week for a year, then — and only then — start pricing hardware. The details of what RLVR actually trains are in our RLVR guide, and the algorithm it usually runs on in our GRPO guide.
Rent before you buy
For almost everyone reading this, the right hardware strategy is: nothing, then rented. The free tier of Colab (a T4, about 15 GB of VRAM) covers Tiers 0 and 1. Colab Pro’s A100 covers Tier 2 experiments and small Tier 3 runs. Hourly rentals from Lambda, RunPod, or Vast cover the big runs. Buying a card only makes sense when you can name the simulator that will use it every week — an RTX 4090 for Isaac Lab, for example — and even then, the card depreciates faster than the rental market moves.
One more thing to check before you spend: the bottleneck is usually not the GPU. In most RL training, the time goes to stepping environments on the CPU, not to the network update — so vectorize your envs, check your CPU utilization, and profile before you upgrade. A run that spends 80% of its time stepping envs gets nothing from a bigger GPU. The second-most-common bottleneck is sample efficiency: a better reward design or a tuned PPO setup beats a faster card every time, and it is free.
How to try it yourself
- Start on your CPU: classic control (CartPole, LunarLander) and MiniGrid are in the directory, and the first-timer’s recipe trains your first agent in an afternoon with no GPU at all.
- When pixels call: the Atari category is the Tier 1 testbed — a free Colab T4 is enough for all of it.
- When the simulator is the GPU: Isaac Lab and the robotics category are where a 16 GB RTX card earns its keep; check the RT-core requirement before you rent anything.
- When the policy is a language model: SWE-Gym and LIFT-Bench in the LLM Agents category are verifiable-reward tasks built for RLVR — the Tier 3 work, and the place where renting beats buying.
Frequently asked questions
Do I need a GPU to learn reinforcement learning?
No. The classic first projects — CartPole, LunarLander, MiniGrid, small MuJoCo locomotion — train in minutes on a laptop CPU with a library like Stable-Baselines3. The policies are small MLPs, the observations are a handful of numbers, and the bottleneck is the number of environment steps, not matrix math. A GPU only starts to matter when the observation is an image, the simulator itself runs on the GPU, or the policy is a large language model.
What GPU do I need to train on Atari?
A modest one, or none at all. Atari policies are small convolutional networks, and the original DQN ran on a single GPU in 2015 — any modern 8 GB card like an RTX 4060 is far more than that. On a CPU the same run works but takes several times longer, because the bottleneck becomes stepping dozens of parallel Atari environments, not the network update. If you are buying one card for RL, 12 GB (an RTX 3060 or better) is the comfortable floor: it covers Atari, pixel-based MiniGrid, and small vision policies.
Can I train an RL agent on a laptop?
Yes, for everything in the first tier: classic control, grid worlds, and small continuous-control tasks. A modern laptop CPU trains a CartPole PPO agent in a few minutes and a LunarLander agent in under an hour. What a laptop cannot do well is GPU-parallel simulation (Isaac Lab, MuJoCo Playground at scale) or LLM-scale training — those need a desktop GPU or a rented cloud GPU. A free Colab T4, with about 15 GB of VRAM, covers the middle ground: Atari, pixel observations, and small vision policies.
What GPU does Isaac Lab need?
At least 16 GB of VRAM and an RTX card — NVIDIA lists an RTX 4080 as the minimum for Isaac Sim rendering. The surprising part is what does not work: A100 and H100 datacenter cards have no RT cores, so they cannot run Isaac Sim at all, however much VRAM they have. If you only need the Newton physics engine headless, without rendering, any CUDA-capable GPU from Turing onward works. The practical sweet spot for Isaac Lab is a single high-end consumer card — an RTX 4090 runs thousands of parallel environments on one GPU, which is the whole point of the framework.
How much VRAM do I need to train a 7B model with RLVR?
It depends on how you train it. Full fine-tuning with the Adam optimizer needs roughly 16 bytes per parameter — weights, gradients, and two optimizer states — so a 7B model needs around 112 GB, which means multiple datacenter GPUs. LoRA or QLoRA, which only train a small adapter, drops a 7B model to roughly 6–8 GB of VRAM, so it fits on a single consumer card. For GRPO-style RLVR on a 7B model, most people rent: a few hours on rented A100s or H100s costs far less than buying the hardware, and the run is usually over before the rental bill gets interesting.
What do you think?
What are you training on, and what’s your setup — laptop CPU, a 3060, a rented A100? And what actually bottlenecked your last run: the GPU, the environment stepping, or something else entirely? Tell us the task and the hardware; the best answers get featured in a future briefing.
The lab notebook is rlenvlab’s blog — guides and the daily RL Briefing on the environments ecosystem. More from the lab notebook →