How to get Kaggle's free GPU: two NVIDIA T4s with 16 GB each
The exact clicks to switch on two free T4 GPUs in a Kaggle notebook, how to check they're working, how to run an open AI model on them, and the rules that get accounts banned.
Quick answer
Yes. Kaggle notebooks include a free GPU T4 x2 accelerator: two NVIDIA T4 GPUs with 16 GB of memory each, which are two separate cards, not one 32 GB card. Kaggle gives you a weekly GPU quota of 30 hours or sometimes higher, a session can run for up to 12 hours, and you need a phone-verified account.
- 2 NVIDIA T4 GPUs
- 16 GB Memory per GPU
- 30 h Weekly quota, or more
- $0 Kaggle notebooks
What you get for free
| GPU | GPU T4 x2: two NVIDIA T4 GPUs with 16 GB of memory each [1] |
|---|---|
| Options | T4 x2 is the only GPU Kaggle offers in notebooks; the P100 was retired on 15 Sep 2026 [1] |
| Quota | Resets weekly; 30 hours or sometimes higher, depending on demand and resources [2] |
| Session | Up to 12 hours per GPU notebook session [3] |
| Machine | 4 CPU cores and 29 GB of RAM alongside the two GPUs [3] |
| Disk | 20 GB saved in /kaggle/working; everything else is wiped when the session ends
[3]
|
Before you start
- A Kaggle account. You can register with Google or with an email address.
- A phone number that can receive a text message, to verify the account.
- One account per person. Kaggle may ban duplicate accounts immediately.
- A browser and about 10 minutes. Everything runs on Kaggle; nothing is installed on your computer.
Part 1
Set up your Kaggle account
-
Step 1: Create a free Kaggle account
kaggle.com then
Register with Google then Register with Email
-
Step 2: Verify your phone number
Profile picture then Settings then Phone verification
Enter your number, then the code Kaggle texts you. Kaggle requires a verified phone for notebooks, and the GPU option stays unavailable until you verify.
Part 2
Turn on the free GPU
-
Step 3: Create a new notebook
then Notebook
Kaggle's docs call this Create > New Notebook. It opens the notebook editor.
-
Step 4: Choose GPU T4 x2 as the accelerator
Settings then Accelerator then GPU T4 x2
The notebook restarts with both GPUs attached. Kaggle's docs say this can take a few moments to several minutes, longer if you have to wait in a queue for a GPU machine.
Internet is on by default in new notebooks. Leave it on: you need it to install packages and download models.
-
Step 5: Check that both GPUs are there
Type this in the first cell and press Shift + Enter:
!nvidia-smiYou should see two rows named Tesla T4. nvidia-smi shows each card's memory as about 15,360 MiB, the usable part of its 16 GB.
Part 3
Optional: run an open AI model on both GPUs
-
Step 6: Install Ollama
Run each block below in its own cell, top to bottom.
!apt-get -qq update && apt-get -qq install -y zstd!curl -fsSL https://ollama.com/install.sh | shOllama's installer needs zstd to unpack its download, so the first line installs it. -
Step 7: Start Ollama in the background
import subprocess, timesubprocess.Popen(["ollama", "serve"])time.sleep(5) -
Step 8: Download Qwen 3.8 27B and ask it something
!ollama pull qwen3.8:27b!ollama run qwen3.8:27b "Write a Python function that reverses a list"!ollama psThe model is about 18 GB, more than one 16 GB card holds, so Ollama spreads it across both GPUs. In ollama ps, PROCESSOR should read 100% GPU. -
Step 9: Stop the session when you're done
Use the Active Events panel at the bottom left of the editor to stop it. Kaggle's docs say interactive sessions remain active until they reach the 60 minute idle timeout, so closing the tab alone can cost up to an hour of your quota.
If something goes wrong
Frequently asked questions
Is Kaggle's GPU really free?
Yes. Kaggle's own docs call it free GPU compute. You need a phone-verified account, and use is limited by a weekly quota.
Is it one 32 GB GPU?
No. GPU T4 x2 is two separate NVIDIA T4 cards with 16 GB each. Tools that support several GPUs, such as Ollama, can split a large model across both.
How many GPU hours do I get?
Kaggle says the quota resets weekly and is 30 hours or sometimes higher, depending on demand and resources. A single GPU session can run for up to 12 hours.
Why is the GPU option greyed out?
Your phone number isn't verified. Verify it in your Kaggle settings, then reload the notebook.
Does Kaggle still offer the P100 GPU?
No. Kaggle retired the P100 on 15 September 2026, and T4 x2 is the only GPU option in notebooks now.
Can I host my app or website on it?
No. Kaggle's Acceptable Use Policy calls server farming an abuse of its resources, and sessions end after at most 12 hours anyway.
Why do I have to reinstall everything each session?
Only 20 GB in /kaggle/working is saved. The rest of the disk is scratch space that is wiped when the session ends.
Does closing the browser tab stop the session?
No. Interactive sessions stay active until a 60-minute idle timeout. Stop the session yourself to save quota.
Sources
Update history
- Re-checked the key facts against the official pages for the Black Friday reel; nothing changed.
- First version, published with the Instagram reel. Every fact checked against Kaggle's docs and announcements.