Replace / Google Colab

Best free Google Colab alternatives (open source, self-hosted) 2026

The best open-source alternative to Google Colab is JupyterHub or marimo, self-hosted on Railway. Notebooks you host. JupyterHub is BSD-3-Clause; marimo is Apache-2.0 — Google Colab without the hosted runtime seat.

Estimated save $1,200 a year.

Open the stackStart on Railway

How Google Colab compares

Google ColabJupyterHub / marimo
Pricing modelHosted subscription Open-source or fair-code license; you pay the host
HostingVendor cloud Self-hosted on Railway or any VPS
Rough monthly costPublic list price not verified this run Hosting only — no SaaS seat meter in this repo

FAQ

What is the best free open-source Google Colab alternative?
The best open-source alternative to Google Colab is JupyterHub or marimo, self-hosted on Railway. Notebooks you host. JupyterHub is BSD-3-Clause; marimo is Apache-2.0 — Google Colab without the hosted runtime seat.
Is it free?
The JupyterHub / marimo licenses are open source or fair-code. You still pay hosting (Railway or any VPS) and any APIs the stack calls. There is no Google Colab seat or task bill on this path.
Can I migrate from Google Colab?
Yes. Start with the workflows or data you actually use, then cut over. The JupyterHub / marimo stack page has the agent prompt and the cost table; most teams rebuild the slice that matters and leave old Google Colab links until they expire.
How do I deploy it?
Open the JupyterHub / marimo stack, copy the agent prompt, and deploy on Railway (one service, PORT, and a volume when the app needs disk). Placeholder: JupyterHub (proxy plus a spawner) or marimo plus a volume for notebooks. Bind HTTP to 0.0.0.0:$PORT. No one-click template in this repo yet — Start on Railway. Cited research stays on /stacks/surfsense-research.
What does this replace?
Google Colab. The published small-team estimate on this stack is $1,200 a year.

Related pages

Stack of the Week

Get one stack a week that replaces a SaaS bill.

Sponsor this page