Google Colab Free GPU Limits (2026): Hours, T4 & Runtime
Google Colab has no published fixed daily GPU allowance. Check the current limits, inspect your assigned GPU and save progress with restartable Python examples.
7 min read1,504 views
Google Colab is free to use, but Google does not publish a fixed number of free GPU hours. Free-tier GPU access, idle timeouts, maximum VM lifetime and available accelerator types change with demand and usage history. A free notebook can run for at most 12 hours and may end sooner; neither a GPU nor a particular GPU model is guaranteed.
Short answer: There is no reliable daily or weekly free GPU allowance to quote. Check the official Google Colab FAQ for usage policies.
TRY THE EXAMPLE
Practise restarting a job before you need to.
Download a small notebook that saves its progress after every item. You run two items, stop, then resume and watch it skip the work already done. It uses sample numbers and Python’s standard library, so you do not need a GPU or your own dataset.
Download the practice notebookOpen Colab, choose File → Upload notebook, then run the cells in order.
These results come from a local Python run on 17 November 2026. The notebook has not been tested in Colab or on a GPU. The practice checkpoint is temporary; use persistent storage you control for real work.
Google Colab free tier limits at a glance
| Question | Official position |
|---|---|
| Is Google Colab free? | Yes. The free tier provides hosted Jupyter notebooks and access to computing resources without an upfront charge. |
| How many free GPU hours do you get? | Google does not publish a fixed allowance. Access and limits are dynamic. |
| Is a GPU guaranteed? | No. Expensive resources such as GPUs are heavily restricted on the free tier, and accelerator types vary. |
| How long can a free notebook run? | At most 12 hours, depending on availability and usage patterns. Idle or resource-intensive sessions can finish sooner. |
| Are paid plans unlimited? | No. Pro, Pro+ and Pay As You Go depend on a compute-unit balance and resource availability. |
Source: Google's official Colab FAQ.
What Google officially guarantees, and what it does not
Colab is a hosted Jupyter Notebook service that requires no local setup. It is designed primarily for interactive programming, machine learning, data science and education. A notebook runs inside a virtual machine assigned to your account, while the notebook itself can be stored in Google Drive.
The important distinction is between access and entitlement. Free Colab may give you a CPU, GPU or TPU runtime, but it does not promise that a GPU will be available when you need one. It does not promise a particular model, a fixed idle timeout or a set number of sessions each week. Google says overall limits, maximum VM lifetime, idle periods and available hardware can fluctuate.
The official Google Colab FAQ also says free notebooks can run for at most 12 hours. “At most” matters: it is a ceiling rather than a minimum service level. A session can end earlier because it has been idle, demand is high, the workload conflicts with Colab’s priorities or the account has recently consumed substantial resources.
Paid plans improve access rather than creating unlimited compute. If a paid account exhausts its compute units, it returns to free-tier policies and restrictions until the balance is replenished. Premium accelerators also remain subject to availability.
Does Colab Free include a T4 GPU?
Free Colab may provide access to an NVIDIA T4 GPU, but the model is not guaranteed and availability is subject to quota restrictions. The NVIDIA T4 has 16 GB of GDDR6 memory.
Do not plan a job around receiving a T4 or assume that another user’s session length represents your allowance. Select a GPU runtime only when the code can use it, save progress regularly and make the job restartable.
Check the GPU assigned to your current runtime
Run this Python cell after connecting a runtime. It reports the GPU name and memory exposed by NVIDIA’s tools, or a clear message if those tools are unavailable. It cannot show your remaining free GPU quota or predict your next allocation.
import json
import shutil
import subprocess
from pathlib import Path
def gpu_summary():
executable = shutil.which('nvidia-smi')
if executable is None:
return 'No NVIDIA GPU tools detected. Check your runtime type.'
try:
result = subprocess.run(
[executable, '--query-gpu=name,memory.total', '--format=csv,noheader'],
check=True, capture_output=True, text=True, timeout=10,
)
return result.stdout.strip() or 'No GPU reported.'
except (subprocess.SubprocessError, OSError):
return 'GPU query failed. Inspect the runtime before starting work.'
print(gpu_summary())
A CPU runtime can still run ordinary Python tasks. Only request an accelerator when your code needs it.
Google Colab paid options and compute units
Google lists Colab Pro, Colab Pro+ and Pay As You Go as paid options. Those options provide increased compute availability through a compute-unit balance; if the balance is exhausted, the account returns to free-tier policies until more units are available.
A compute unit is not the same as one GPU hour. The rate at which units are consumed depends on the virtual machine, accelerator and other resources selected. A faster GPU can use the balance more quickly than a standard CPU runtime. It is therefore misleading to turn a unit balance into a universal number of hours without knowing the runtime configuration.
For the wider reasons compute prices and allowances vary, read my guide to the real economics of AI pricing.
Which Colab plan should you choose?
Start with the free tier when the work is interruptible and you are still proving that the notebook works. CPU-based data cleaning, spreadsheet transformation, small model tests and teaching exercises often do not justify a subscription.
Pay As You Go makes sense when you need a temporary increase but cannot predict regular monthly use. Pro is the more natural choice for someone opening Colab throughout the month and wanting a recurring allocation. Pro+ is aimed at heavier users who can benefit from a larger balance and longer background execution.
None of these plans should be treated as a guaranteed production server. If a customer-facing process must start at a precise time, run continuously or meet a service-level agreement, use infrastructure with explicitly reserved capacity. Colab is strongest as an interactive development and batch-processing environment.
How to make Colab batch jobs survive interruptions
- Use small batches. Process a defined group of files, save the results and then start the next group. Do not leave all progress in runtime memory.
- Make the script resumable. Keep a manifest of completed file names or record status in a CSV so a restarted notebook skips finished work.
- Copy working data to the runtime. Repeatedly reading thousands of small files from a mounted Drive folder can be slow and may hit Drive limits. Transfer an archive, unpack it locally and upload completed batches.
- Choose the cheapest adequate runtime. A GPU runtime consumes scarce resources even when the code is not using the GPU. Use a standard runtime for ordinary Python, file handling or spreadsheet work.
- Validate output continuously. Check dimensions, file counts, empty outputs and a visual sample after each batch. AI-generated code still needs review and testing.
A small restartable batch example
This example squares three numbers and saves a checkpoint after each result. Rerun it and completed items are skipped. In Colab, mount your own Google Drive through the notebook interface first, or change the checkpoint path to another persistent location you control. Saving only under /content will not preserve progress when the runtime is deleted.
import json
from pathlib import Path
def process_batch(numbers, checkpoint):
checkpoint = Path(checkpoint)
checkpoint.parent.mkdir(parents=True, exist_ok=True)
completed = json.loads(checkpoint.read_text()) if checkpoint.exists() else {}
processed = 0
for number in numbers:
key = str(number)
if key in completed:
continue
completed[key] = number * number # Replace with your processing step.
temporary = checkpoint.with_suffix('.tmp')
temporary.write_text(json.dumps(completed, sort_keys=True))
temporary.replace(checkpoint)
processed += 1
return processed, completed
# Mount your own Drive first, or choose a persistent directory you control.
drive = Path("/content/drive/MyDrive")
if not drive.is_dir():
raise RuntimeError("Mount your Google Drive before saving this checkpoint.")
checkpoint = drive / "colab-checkpoint-demo/results.json"
processed, results = process_batch([1, 2, 3], checkpoint)
print(f"Processed {processed} new items", results)
Use a separate checkpoint for each dataset and processing version, and one writer at a time. Keep an additional copy of important results: a checkpoint does not guarantee recovery from every storage failure.
Example checks, 28 October 2026: the checkpoint code was run locally across a partial batch, a resumed batch and a repeat run. The GPU helper was checked for CPU-only, simulated GPU-response and timeout cases. These are code checks, not a Colab GPU allocation or performance benchmark.
Workloads restricted on managed runtimes
On free managed runtimes without a positive compute-unit balance, restricted uses also include SSH or remote desktops, distributed-computing workers and bypassing the notebook interface mainly to use another web interface.
Colab is therefore a better fit for interactive notebook work and interruptible batch jobs than for unattended infrastructure. If the workflow matters to a customer or business process, design it so that a terminated runtime does not lose the source data or completed output.
Google Colab limits: common questions
How many free GPU hours does Google Colab provide?
There is no published fixed allowance. Free GPU availability and usage limits vary with demand, account usage and available hardware.
Does Colab Free guarantee an Nvidia T4 or another GPU?
No. A GPU is not guaranteed, and Google says available GPU and TPU types change over time.
Is Google Colab Pro unlimited?
No. Resource availability remains dynamic, and exhausted balances revert to free-tier policies.
How long can a Colab notebook run?
Free notebooks can run for at most 12 hours and may stop sooner. In general, Colab sessions are temporary.
Is Colab suitable for business automation?
It is useful for experiments, analysis and interruptible batch work. It is a poor foundation for a process that requires guaranteed hardware, permanent storage, continuous availability or a contractual service level.
Comments
No comments yet - start the conversation.