Urgent.News

What's breaking now, across hundreds of outlets.

AI

Where to host a Streamlit app in 2026 so it does not sleep: Community Cloud vs Hugging Face Spaces vs Render vs Modal

Originally published on gregale.dev . I build Gregale, so read this as a vendor's page. Competitor details come from each vendor's own docs, linked in the post. This post was written with AI assistance. Streamlit Community Cloud puts an app to sleep after 12 hours without traffic, and the next visitor has to click "Yes, get this app back up!" and wait for it to restart. Every host that saves…

In 2026, there are several options for hosting a Streamlit app without worrying about it sleeping. The first is Streamlit Community Cloud, which puts an app to sleep after 12 hours of inactivity. When it wakes up, a visitor needs to click "Yes, get this app back up!" and wait for it to restart. This service is free, but only allows for one private app at a time.

Another option is Hugging Face Spaces. For the CPU Basic hardware, the app sleeps after 48 hours with no use and restarts the next time a visitor accesses it. With paid CPU hardware, there is no default sleep time, and the next visitor will restart it. CPU upgrades are priced at $0.03 per hour for 8 vCPU and 32 GB.

Render offers a free web service that sleeps after 15 minutes of no inbound traffic. The next request will spin up the service, which takes about a minute. Render only suspends Free web services after the monthly limit of 750 instance hours is reached.

Modal has a default idle timeout of 60 seconds after the last connection. The next request starts a container, and each request costs per second, with a minimum of 0.125 cores and 128 MiB. With the Starter plan, there are $30 of credits a month included.

The final option is Gregale, which freezes the app once the last tab closes or parks it on nodes without the frozen tier after 10 minutes. The next visitor will have the app restored in milliseconds if it was frozen for less than 10 minutes. When the node needs the memory, the app is parked to a snapshot on disk. Note that Streamlit requires WebSockets, which Gregale's Free plan does not allow.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

More from Dev.to on urgent.news

Get the news by email. Yesterday's most-covered stories, every morning.

We track opens and clicks to improve the newsletter.

See today's edition · More options

More in AI

Broadcom Pairs Fast AI Growth With a Dividend That Keeps Growing

A 0.8% yield isn't much on its own, but a payout that rises over time adds up, and it's attached to one of the top chipmakers.

  • Broadcom's AI chip revenue hit $16.7 billion in latest fiscal quarter
  • Company forecasts AI revenue to double by 2027, reach $230 billion by 2028
  • Broadcom offers growing dividend, 10% increase in December 2025

More from Sunday, 6 December 2026 →