Kaggle vs Colab Free GPUs: Quotas, Session Limits, and Which Jobs Fit Where
9 December 2026 · Updated 28 November 2026 · 11 min read · by Yang Kai
Kaggle publishes its free GPU deal: two T4s, about 30 hours a week, 12-hour sessions, files that persist. Colab publishes almost nothing — its FAQ says limits vary and are not guaranteed. The side-by-side, checked Nov 2026, and which jobs belong on which.
Table inside: Kaggle vs Colab Table: Quotas, Session Limits, Persistence and Job Fit
Contents
Two free notebook platforms, two opposite philosophies. Kaggle prints its numbers: a weekly GPU quota you can check in your account, a session limit, a disk that keeps your files. Colab’s FAQ, asked the same questions, answers that limits “vary over time” and are not published. Builders plan real training runs on these platforms, so the difference between a printed quota and a shrug is the whole decision.
This page puts the two side by side from each provider’s own documentation, checked in November 2026. One correction first, because half the guides online still get it wrong: Kaggle retired the P100 on 15 September 2026. The free GPU is now GPU T4 x2 — two Nvidia T4 cards with 16 GB each — and any guide quoting a free P100 is describing a platform that no longer exists.
The short version
| Kaggle Notebooks | Google Colab (free) | |
|---|---|---|
| Free GPU | 2× Nvidia T4, 16 GB each | Usually a T4; type not guaranteed |
| Weekly quota | ~30 GPU hours, published | Not published; dynamic |
| Longest session | 12 hours (9 on TPU) | At most 12 hours |
| Idle behaviour | Interactive session stops when idle (~20 min, per Kaggle’s docs) | Runtime times out when idle; no official figure |
| Closing the browser | Save & Run All keeps running headless | Execution stops; the machine is deleted soon after |
| File persistence | 20 GB saved disk in /kaggle/working persists | Nothing persists; the VM is deleted at session end |
| Scheduled reruns | Yes — daily, weekly or monthly | Not on the free tier |
| Datasets | Kaggle’s dataset library attaches in one click | Upload each session, or mount Google Drive |
| Entry requirement | Account + verified phone number for GPU and internet | A Google account |
Sources: Kaggle’s notebook documentation and GPU tips page, and Google’s Colab FAQ, checked Nov 2026.
How we researched this
Kaggle’s figures come from Kaggle’s own notebook documentation, its GPU and TPU tips pages, and its September 2026 retirement announcement for the P100. Colab’s come from Google’s official Colab FAQ — which, for several limits, states only that they change. Where a number circulates widely but Google does not publish it (the idle timeout), it is labelled as reported, not documented. Neither platform was benchmarked for this page; this is a limits-and-rules comparison, not a speed test.
Kaggle: the published quota
Kaggle’s free accelerator deal, from its documentation (checked Nov 2026):
- GPU: GPU T4 x2 — two T4 cards, 16 GB of memory each. Code sees two devices, not one 32 GB card; a model must fit in 16 GB per device or be split deliberately.
- Quota: “30 hours or sometimes higher depending on demand and resources,” per Kaggle’s GPU tips page, resetting weekly — on Saturday at 00:00 UTC. Your exact remaining hours are shown in your account settings and via the Kaggle CLI’s quota command.
- TPU: a TPU v5e-8 is also free, at up to 20 hours a week and 9 hours in a single session.
- Sessions: up to 12 hours on CPU or GPU. An interactive session stops after an idle period — Kaggle’s notebook docs put it at 20 minutes — but Save & Run All executes the notebook as a background session that runs to completion without you watching it.
- Persistence: 20 GB of saved disk under /kaggle/working survives between sessions. Notebook outputs and saved dataset versions persist too. Anything outside that folder is scratch and disappears.
- Scheduling: notebooks can be set to rerun daily, weekly or monthly — a feature with no free equivalent on Colab.
- The gate: a verified phone number is required before GPU and internet access switch on.
The practical shape: Kaggle behaves like a small, metered batch machine that happens to have a notebook interface. You budget 30 hours a week the way you would budget a bill.
Colab: the unpublished quota
Google’s Colab FAQ is unusually candid about why it prints so little (checked Nov 2026): to offer powerful GPUs cheaply at scale, Colab keeps “the flexibility to adjust usage limits and hardware availability dynamically.” What the FAQ does commit to:
- Session length: a notebook runs for at most 12 hours, and less depending on availability and your usage patterns.
- GPU: free access exists, with no guaranteed type or availability. In practice the free tier usually allocates a T4; at busy times you may get a weaker card or none.
- Idle timeouts: runtimes time out when idle. Google publishes no number. The ~90 minutes repeated across the web traces to old forum answers, not to Google’s documentation — treat it as folklore that is roughly right and officially unconfirmed.
- Browser tie: on the free tier, closing the browser stops execution and the virtual machine is deleted soon after. Only the paid Pro+ tier keeps code running after you close the tab.
- Persistence: none. The VM’s disk is deleted when the runtime ends. The standard workaround is mounting Google Drive and writing checkpoints and outputs there as you go.
- Usage caps: heavy sustained GPU use triggers temporary restrictions. The FAQ does not quantify them, and they fluctuate.
The practical shape: Colab is an interactive scratchpad with a GPU attached. It is at its best while you are sitting in front of it.
Working inside the limits
The quotas above are survivable if the work is shaped to them. The habits that matter:
- Checkpoint to persistent storage on a schedule, not at the end. On Kaggle, write checkpoints into /kaggle/working; on Colab, write them to the mounted Drive. A run that checkpoints every epoch can lose a session and lose almost nothing.
- Size runs to the session, not the quota. A 20-hour training job is two Kaggle sessions with a resume step between them, or it is a job that does not belong on a free tier. Designing the split up front is the difference between a plan and a hope.
- Keep the two T4s fed deliberately. Kaggle’s dual-card setup only pays if the code uses both devices — a data-parallel setup or two independent experiments side by side. Single-card code on T4 x2 leaves half the hardware idle while the quota meter runs.
- Spend Colab sessions interactively. Colab’s dynamic limits punish exactly the behaviour Kaggle rewards: leaving things running. Use Colab hours for attended work and Kaggle hours for everything else, and neither platform’s limits will surprise you often.
- Check the quota before the run, not after. Kaggle shows remaining GPU hours in account settings and through its CLI. A 12-hour session launched with 9 hours left in the week stops at 9.
A worked week on Kaggle
What 30 hours buys a builder with a plan, at the documented limits:
- Monday: two 3-hour fine-tuning experiments in parallel, one per T4 — 6 quota hours (the meter counts GPU time, and parallel cards spend it in parallel).
- Wednesday: a 10-hour overnight training run via Save & Run All, checkpoints landing in /kaggle/working.
- Friday: 4 hours of inference testing and evaluation on the trained model.
- Weekend: a scheduled rerun refreshes the model on new data, inside the remaining ~10 hours.
That is a real weekly cadence — experiments, one serious run, evaluation, a refresh — sustained indefinitely at $0. The same week attempted on Colab free would need the browser open and attended for most of it, with no guarantee the GPU is there on Friday. When a project outgrows even Kaggle’s shape — bigger memory, endpoint-style work — the next step up is a recurring credit rather than a bigger notebook, which is what Modal’s free GPU credits provide.
The rules both platforms enforce
Free does not mean anything-goes, and the prohibitions are similar enough to state together:
- Cryptocurrency mining is banned on both. Colab’s terms prohibit it outright; Kaggle likewise bars mining on its accelerators. This is the rule that ends accounts, not a guideline.
- The GPU is for notebook work. Running a persistent server, a public API endpoint or an unrelated background service off a free notebook runtime breaks both platforms’ terms of use.
- Quotas are per person, not per account collection. Spinning up extra accounts to multiply a free quota is the kind of circumvention both providers restrict accounts for.
- Kaggle adds its own layer: accelerator access sits behind phone verification, and in busy periods Kaggle warns you may be placed in a queue rather than given a GPU immediately.
None of this is fine print designed to trap normal users. Training, fine-tuning, inference experiments and coursework are exactly what both platforms exist for; the bans target people renting the free tier out as infrastructure.
Which jobs fit where
Long training runs and fine-tunes → Kaggle. A run that needs 10 hours needs a session that lasts 10 hours without a browser babysitting it, a checkpoint location that survives, and a quota you can plan against. Kaggle’s Save & Run All, 12-hour sessions and persistent disk are built for exactly this; its scheduled reruns even cover the “retrain weekly on new data” pattern.
Interactive exploration → Colab. Trying an idea, walking through a tutorial, testing a model interactively with a collaborator watching — Colab starts faster, shares like a Google Doc, and its unpredictability does not matter because nothing is at stake beyond the session. The moment the work matters, save outputs to Drive as you go.
Dataset-heavy work → Kaggle. Kaggle’s dataset library attaches to a notebook in one click, and outputs save as versioned datasets for the next run. On Colab, the same data is an upload at the start of every session or a Drive folder you manage yourself.
Anything that must run unattended on a schedule → Kaggle, or neither. Colab free cannot do it at all. Kaggle’s scheduled reruns can, inside the notebook shape. A scheduled job that is not a notebook — an endpoint, a pipeline step — belongs on a platform built for it; Modal’s free GPU credits cover that shape with a recurring $30 monthly allowance.
When both stop being enough. The exit signals are the same on either platform: runs that no longer fit a 12-hour session, models that need more than 16 GB on one device, or a weekly quota that a single project consumes by Wednesday. At that point the comparison stops being Kaggle versus Colab and becomes free versus the paid routes in free cloud credits for students and startups. Work that was never notebook-shaped to begin with — a bot or small service that must simply stay up — belongs on the routes in free VPS for hosting a bot instead.
Verdict
Pick Kaggle as your default free GPU in late 2026. It publishes its quota, persists your files, runs notebooks headless and on a schedule, and its hardware change this autumn — P100 out, dual T4 in — left the deal intact. Keep Colab for what it is genuinely best at: fast, shareable, interactive sessions where losing the runtime costs nothing. The two are complements more than rivals, and both are free; the mistake is using Colab for batch work and then blaming the platform when a closed browser tab deletes a nine-hour run. For the rest of the free compute picture, see free AI API credits for builders and the free AI tool stack for beginners. Students should also check the machine-shaped routes in free VPS for students, and for models running entirely on your own machine, local LLMs for coding is the zero-cloud option.
FAQ
Did Kaggle really remove the P100? Yes. Kaggle announced the NVIDIA Tesla P100 would be retired on 15 September 2026, and notebooks that request one now run on GPU T4 x2 instead. The free TPU also changed, from the v3-8 to the v5e-8. Guides still listing the P100 predate the change.
How many free GPU hours does Kaggle give per week? About 30 hours for GPUs — Kaggle’s own wording is “30 hours or sometimes higher depending on demand and resources” — plus up to 20 hours of TPU time. The quota resets weekly, on Saturday at 00:00 UTC, and your account settings show your exact remaining balance.
Why does Colab disconnect my notebook? Three different limits can do it: the runtime hit the 12-hour maximum, the runtime sat idle and timed out, or heavy recent GPU use triggered a temporary usage restriction. Google’s FAQ confirms all three mechanisms exist but publishes figures only for the 12-hour cap.
Do my files survive between sessions? On Kaggle, yes — 20 GB under /kaggle/working persists, along with notebook outputs and saved datasets. On Colab, no — the virtual machine is deleted when the runtime ends, so anything not copied to Google Drive during the session is gone.
Can I mine cryptocurrency or run a server on the free GPUs? No. Both platforms prohibit crypto mining, and both restrict using notebook runtimes as persistent servers or public endpoints. The free tiers are for notebook work — training, experiments, inference tests — and accounts that treat them as free hosting get restricted.
Category: AI Automation Playbooks · Tags: #ai-api #automation #ai-agents
Next step: this article is part of Automation guides, which covers the full topic from first setup to advanced use.