The morning briefing didn't arrive.
It was day two of a test. Shab on our team had an agent on a Mac mini that was supposed to send her a summary at 7 AM every day.
Day one worked perfectly. Day two, silence.
"I lost one morning briefing on day 2 because I hadn't disabled sleep."
That sentence is the whole problem. You can run an AI agent 24/7 for free in 2026, but something has to stay awake when you don't. And every free option makes you pay for that in a different currency.
There are exactly four ways to run an AI agent 24/7 for $0 in server costs: an Oracle Cloud Always Free VM, hardware you already own, Cloudflare Workers' free plan, or a hosted free plan where the agent wakes on a schedule. Each one has a catch, and the catch is what you should choose by.
Below, we print every catch with its source and date. No "unlimited", no "forever", no 2025 screenshots.
What "24/7" actually means for an agent
An agent counts as running 24/7 when three things are true. Its runtime is reachable, so a schedule, webhook or chat message can fire it.
Its state survives between runs. And it recovers on its own after a crash.
Laptops break the first two constantly. Sleep, Wi-Fi drops, OS updates and expired login tokens all kill the runtime quietly, usually at 3 AM.
A post on r/ClaudeAI from 13 October 2026 described a friend's sales agent perfectly: "It all stops when his laptop closes, and he has to re-prompt every time a lead replies."
Here's what nobody tells you: "24/7" comes in two very different shapes.
| Shape | How it works | Example |
|---|---|---|
| Always-running process | A gateway sits in memory and listens all day | An OpenClaw or Hermes gateway connected to Telegram |
| Scheduled wake-ups | The agent sleeps, a timer wakes it, it works, it stands down | A 7 AM briefing, a weekday inbox sweep |
Both feel like 24/7 from your side of the screen. They cost completely different amounts, and that difference matters a lot by the time we get to Way 4.
Every route below also has three bills, not one: server cost, model cost and your hours. "Free" in this post means the server. The model is a separate bill, and your time is the bill nobody puts in the spreadsheet.

The 4 free ways to run an AI agent 24/7, side by side
Here's the comparison first, because it's probably why you clicked.
| Route | Monthly cost | What you get | Card needed? | Setup (our estimate) | Biggest catch |
|---|---|---|---|---|---|
| Oracle Cloud Always Free | $0 | 2 Arm OCPUs, 12 GB RAM | Yes | 1 to 3 hours, plus any capacity wait | Idle reclaim, capacity errors, no support |
| Hardware you own | Electricity | Whatever the box has | No | 1 to 3 hours | You are the sysadmin |
| Cloudflare Workers Free | $0 | 100,000 requests a day, 10 ms CPU each | Not stated by Cloudflare | 2 to 6 hours of coding | You write the agent yourself |
| Hosted free plan (BetterClaw) | $0 | 1 agent, 100 machine-minutes a month | No | About 10 minutes | Scheduled wakes, not a live process |
If you only read one row, read it by persona, not by price. They're all $0. What differs is whether you pay in Linux skills, electricity, code, or minutes.

Way 1: Oracle Cloud Always Free, the only permanent free VM
This is the route every YouTube tutorial pushes. It's real, and it's genuinely generous. It's also the one most guides get wrong right now.
What you actually get in 2026
Oracle's documentation says all tenancies get "the first 1,500 OCPU hours and 9,000 GB hours per month for free" on the Arm A1 shape. For Always Free tenancies, that works out to 2 OCPUs and 12 GB of memory.
On top of that: two tiny AMD micro instances (1/8 of an OCPU and 1 GB of RAM each), 200 GB of block storage shared across boot and data volumes, five backups, and a US$300 credit for 30 days in select countries.
Why almost every Oracle tutorial is now wrong
The Arm allowance used to be 4 OCPUs and 24 GB. In June 2026 Oracle halved it, and an August thread on Hacker News (202 points) reported the cut being enforced on 18 August.
The reaction was about what you'd expect. One commenter asked, "What happened to the 'always' in 'always free'?" Another pushed back that even the reduced tier is still more generous than what any other cloud gives away.
Both are right. But the tutorials haven't caught up. On 27 November, the most-viewed YouTube result for "openclaw oracle free tier" still promised 4 vCPUs and 24 GB, with over 326,000 views.
If a guide tells you Oracle gives you 4 OCPUs and 24 GB for free, it was written before mid-2026. Build for 2 OCPUs and 12 GB.
That confusion has real consequences. In late October, someone on r/oraclecloud deleted a 4/24 instance in a panic, worried it would start billing them. Oracle's FAQ adds a related trap: if a trial ends while you have more A1 capacity than Always Free allows, all your A1 instances are disabled, then deleted after 30 days unless you upgrade.
Yes, it needs a card
Straight from Oracle's FAQ: "We accept credit cards and debit cards that function like credit cards. We do not accept debit cards with a PIN or virtual, single-use, or prepaid cards." Oracle uses the card for identity checks and may place a temporary authorisation hold, not a charge.
If you don't have a credit card, this route is closed. A 16 November post on r/oraclecloud asked exactly that, wanting to run Hermes 24/7 for free with no card. If that's you, skip to Way 2 or Way 4, and read our guide to free AI agents for students, which covers card-free model keys and student credits.
"Out of host capacity"
Oracle's FAQ admits this one openly. The error means a temporary lack of Always Free shapes in your home region, and new capacity "might take several days." Their advice is to try another availability domain, or wait and retry.
Shab hit "Out of Capacity" errors for about two days before her instance launched. Pick your home region carefully at sign-up, because you can't change it later.
The rule that quietly reclaims idle agents
This is where most people get it wrong. Oracle can reclaim an Always Free instance if, during a 7-day period, all three of these are true:
- CPU usage at the 95th percentile is under 20%
- Network usage is under 20%
- Memory usage is under 20% (A1 shapes only)
Here's the weird part. An agent that mostly waits on API calls can look exactly like an idle box. Watch your instance metrics during the first week.
Some people run a cron job that generates artificial load. Shab's verdict on that: it's "a funny sentence to type about a service that's supposed to be always-on." Forum posts also claim upgrading to Pay As You Go exempts you from reclaim. Oracle's docs don't say that, so don't bet your agent on it.
One more rule: accounts left idle for 30 days or more may be treated as abandoned and suspended.
A1 or the 1 GB micro?
How much machine does an agent need? A hosting operator on r/hermesagent (28 August 2026) shared fleet data from 156 instances: agent plus browser used a median of about 395 MB for OpenClaw and 336 MB for Hermes, with the 90th percentile near 700 MB. Their advice: give either framework 2 GB.
So the A1 is comfortable. The 1 GB micro is possible, but tight.
One builder on DEV Community ran a Telegram bot with nine scheduled jobs on the micro by adding 4 GB of swap. They still logged three out-of-memory kills in two weeks, all when scheduled jobs overlapped.
Installing OpenClaw or Hermes on it
Choose the Ubuntu image, not Oracle Linux. Hermes issue #51613 reports that Oracle Linux 9 doesn't auto-install git, ripgrep or ffmpeg. Keep the gateway bound to localhost and reach it over Tailscale rather than opening public ports.
The current commands, from each project's own docs:
# OpenClaw: installs Node if missing, then runs onboarding
curl -fsSL https://openclaw.ai/install.sh | bash
openclaw onboard --install-daemon # also installs the Gateway as a systemd user service
openclaw gateway status
openclaw doctor
# Hermes
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
hermes setup
hermes doctor
hermes gateway setup # connect Telegram, Discord, etc.
sudo hermes gateway install --system # boot-time service, recommended for headless VMs
sudo hermes gateway start --system
Hermes' docs recommend the system service on a VPS or headless host, so the gateway comes back after a reboot without relying on systemd lingering. If you use a user service instead (that's what OpenClaw's --install-daemon creates on Linux), run sudo loginctl enable-linger $USER so it keeps running after you log out of SSH.
For the full walkthrough with firewall rules and hardening, see our OpenClaw VPS setup guide.
The model bill is the real bill
A free VM doesn't make the agent free. One r/openclaw post from March 2026 (37 points) nailed it: "the agent was working perfectly, on the most expensive path possible."
Their fixes: send heartbeats to your cheapest model ("don't let 48 daily heartbeats hit your primary model"), cap context tokens, and turn on compaction. The server was $0. The tokens weren't.

Way 2: An old laptop, Mac mini or Raspberry Pi
No card, no cloud account, no capacity lottery. Just a box in your home that never sleeps.
Laptop or Mac mini: fix sleep first
Sleep is the number one killer, as our missing briefing proved.
On macOS, change the Energy Saver settings or use caffeinate. On Windows, change the power plan.
On Linux, use systemd-inhibit, then enable your agent as a service so it restarts after a reboot. Add Tailscale for remote access.
Watch the heat, too. An August 2026 Hacker News user repurposed a 2017 Intel MacBook as an always-on box and found it fine, until a virtual machine pushed it into overheating.
Electricity is cheaper than people assume. The US average residential rate was 18.17 cents per kWh in September 2026, according to the EIA's preliminary data. Here's our estimate at that rate:
| Device (assumed draw) | kWh per month | Cost per month |
|---|---|---|
| Apple silicon Mac mini at 5 to 8 W (Shab's estimate) | 3.6 to 5.8 | About $0.65 to $1.05 |
| Old laptop at 40 W (our assumption) | 28.8 | About $5.23 |
Those wattages aren't manufacturer figures. Plug in your own device and your local rate.
Raspberry Pi: it works, because the Pi is only the gateway
OpenClaw's own Raspberry Pi page puts it simply: "Since the Pi is just the gateway (models run in the cloud via API), even a modest Pi handles the workload well." Its compatibility table rates a Pi 5 with 4 or 8 GB as "Best", a 4 GB Pi 4 as "Good", and the Pi Zero 2 W as "No". The minimum is 1 GB of RAM on a 64-bit OS.
Prices have climbed. Raspberry Pi's November 2026 product brief lists the Pi 5 at $45 (1 GB), $77.50 (2 GB), $110 (4 GB), $175 (8 GB) and $385 (16 GB), before a power supply and storage.
Hermes officially supports Linux and Docker on aarch64, which covers a 64-bit Pi, but it publishes no Raspberry Pi guidance or minimum RAM. People run it anyway. One r/hermesagent user on a 2 GB Pi 4B summed it up: "Of course it was slow, but it did the work."
On r/openclaw, a 170-point post described an old 8 GB Pi 4 that "runs 24x7… Spent $0 till now." Not everyone is sold. The Register ran a piece in February arguing that using a Pi for OpenClaw makes no sense. Our take: it makes sense if you already own one.
What breaks on a Pi, straight from the issue trackers
Stay with me here, because this is the part tutorials skip:
- OpenClaw #192547 (open): the gateway can come up under a 1 GiB memory limit, then run out of memory before its first real model response.
- OpenClaw #91588 (open): a long-running gateway's memory grew from 350 MB to 15.5 GB over days. Schedule a nightly restart.
- OpenClaw #23909: a Discord voice dependency has no prebuilt arm64 binary, so skip voice features.
- Hermes #8397: 32-bit Pi 3B setups aren't viable.
Use an SSD or USB drive instead of an SD card, and a 64-bit OS only. Local models aren't practical on a Pi, so pair it with a cloud key. Our ranking of the best free models for OpenClaw covers which free tiers actually hold up.
Be realistic about free models, though. One r/openclaw user (20 September 2026) found OpenRouter's free models "wasnt smart enough… even just sending news messages on set time" on a tiny setup.

Way 3: Cloudflare Workers Free, if you write code
This route is different. You don't install OpenClaw or Hermes. You write the agent as a Worker in TypeScript or Python, and Cloudflare runs it on a schedule or when a webhook fires.
The free plan limits, from Cloudflare's limits page (last updated 25 November 2026):
| Limit | Workers Free |
|---|---|
| Requests | 100,000 a day, reset at midnight UTC |
| CPU time | 10 ms per request and per Cron Trigger |
| Cron Triggers | 5 per account, max 15 minutes wall time each |
| KV storage | 100,000 reads and 1,000 writes a day, 1 GB stored |
| Workers AI | 10,000 Neurons a day |
The 10 ms CPU limit sounds brutal. But Cloudflare is explicit that "waiting on network requests… does not count toward CPU time." An agent that calls an LLM API and posts the answer somewhere spends almost all its time waiting.
So a webhook agent or a daily digest on cron fits comfortably. A September 2026 Show HN even demoed a stateful agent, with evals, running entirely on the free tier.
What doesn't fit: parsing big files inside the Worker, logging every turn to KV (1,000 writes a day disappears fast), or anything that needs a browser. The paid plan starts at $5 a month.
Cloudflare's docs don't say whether the free plan needs a card, so we won't claim either way. It's simply the default plan on every Cloudflare account.

Way 4: A hosted free plan, where we come in
Full disclosure: this is our product. So let's be precise about what it is and isn't.
BetterClaw is not a VPS, and it's not a place to run a stock OpenClaw or Hermes install. It's a no-code agent builder. You bring your own model key, connect apps with one-click OAuth, set a schedule, and the agent runs in its own isolated container, does the job, and stands down.
Here's what BetterClaw's free plan includes, as of 30 November 2026:
- 1 agent, run from the BetterClaw dashboard
- 100 credits a month, reset monthly
- 3 connectors, one account each (Gmail, Calendar and Sheets are typical picks)
- 7 days of memory
- No credit card, so nothing can be charged
Free is BYOK only. Model usage on your own key is billed by your provider and never draws credits, so a free Gemini, Groq or OpenRouter key keeps the whole thing at $0. One limit to know: Telegram and Slack delivery start on the Starter plan.
The credit maths for a "24/7" schedule
Our pricing defines it plainly: "One credit is one minute of your agent's machine running." A stood-down agent uses none. So 100 credits means 100 working minutes a month.
Our own free-plan page budgets about 3 minutes for a daily morning briefing, roughly 90 credits a month. Using that as the yardstick:
| Schedule | Runs per month | Minutes per run | Credits per month | Fits in 100? |
|---|---|---|---|---|
| Daily morning briefing | 30 | 3 | About 90 | Yes, on its own |
| Weekday briefing only | 22 | 3 | About 66 | Yes |
| Weekly report | 4 | 5 (est.) | About 20 | Yes, alongside a weekday job |
| Hourly check, all day | 720 | 1 | About 720 | No |
| Every 15 minutes | 2,880 | 0.5 | About 1,440 | No |
On a free hosted plan, 24/7 means your agent is available around the clock and works about 100 minutes a month. It doesn't mean it polls continuously.
That's the honest version. If you need hourly checks, the free plan won't cover it. Starter is $19 a month for 2,000 credits.
When credits hit zero, the agent pauses until the monthly reset. Nothing is charged, because there's no card on file.
Setting it up
The deploy itself takes about 60 seconds. The full setup, including the schedule, is closer to 10 minutes:
- Sign up and paste in a free model key.
- Start from a ready-made workflow, like the morning briefing.
- Connect up to three apps.
- Set the schedule and time zone, plus an approval rule for anything that sends.
- Close your laptop.
If you've already lost a weekend to Oracle capacity errors, this is the route we built for you. Free plan, no card, bring your own key, and your agent can be running before your coffee goes cold.

How "free" quietly turns into a bill
Every route above is $0 until you touch billing. Then the rules change, and this is where people get surprised.
OpenRouter's docs warn that a negative credit balance can cause errors, even on free models. Google requires billing to be set up before you leave the Gemini free tier. One Hacker News post was titled, painfully, "How a 10-word prompt cost me £121."
On Oracle, upgrading to Pay As You Go keeps your Always Free resources free, but Oracle charges for anything above the limits. Its docs also say it doesn't recommend mixing paid and Always Free resources.
The rule of thumb: keep free-tier keys in projects with no billing attached, and set a budget alert before you add a card anywhere.
Which free way to run an AI agent 24/7 should you pick?
Choose by situation:
- No card and no Linux: a Raspberry Pi or a hosted free plan.
- Comfortable with Linux, want a real VM: Oracle Always Free.
- Already own a Mac mini: use it, and disable sleep today.
- Developer who only needs webhooks or cron: Cloudflare Workers.
- Want it running today with zero maintenance: a hosted free plan.
But that's not even the real problem. The hidden cost on the self-hosted routes is hours. Shab's own comparison put it bluntly: "If you spend 2 hours a month on VPS maintenance… at $50/hour, that's $100/month in invisible cost."
The setup most power users actually run is a combination: a free VM or Pi, a free model, and a fallback provider. A 126-point post on r/SelfHostedAI explained why the fallback matters: "Providers retire models with zero notice."
If you'd rather skip infrastructure entirely and build agents visually, our no-code AI agent builder works with the same free model keys.

The server was never the hard part
Here's the honest admission after digging through all four routes.
Keeping a box awake is a solved problem. Oracle, a Pi in a drawer, a Worker, a hosted plan: they all work.
What kills free agents is everything around the box. The idle rule nobody read. The memory leak on day four. The free model that got retired on a Tuesday.
So pick the route whose failure mode you're happy to own. If you enjoy owning it, self-host and have fun. If you don't, let someone else carry the pager.
If any of this resonated, start free with BetterClaw. The free plan gives you 1 agent, 100 credits a month and no card on file. When you outgrow it, Starter is $19 a month for 2,000 credits (see full pricing).
Your first deploy takes about 60 seconds. We handle the infrastructure. You handle the interesting part.
Frequently Asked Questions
What is the best way to run an AI agent 24/7 for free?
There are four genuinely free routes: Oracle Cloud's Always Free VM, hardware you already own, Cloudflare Workers' free plan, or a hosted free plan with scheduled wake-ups. Oracle gives you the most machine (2 OCPUs and 12 GB of RAM) but needs a card and can reclaim idle instances. A hosted free plan is the fastest and needs no maintenance, but caps how many minutes your agent works.
How does a free VPS for an AI agent compare to a hosted free plan?
Oracle Always Free is the only permanent free VPS, and it gives you full control over OpenClaw or Hermes. In exchange, you handle setup, security, updates and the idle-reclaim rule yourself. A hosted free plan like BetterClaw's runs on a schedule with no server to manage, but limits you to about 100 working minutes a month.
Can a Raspberry Pi run an AI agent 24/7?
Yes, as a gateway that calls a cloud model through an API. OpenClaw's docs rate a Pi 5 with 4 or 8 GB as the best option and set the minimum at 1 GB of RAM on a 64-bit OS. Use an SSD, schedule a nightly restart to guard against memory leaks, and don't expect local models to be practical.
How much does it cost to run an AI agent 24/7?
The server can cost $0, and hardware you own costs roughly $1 to $5 a month in US electricity by our estimate. The model is usually the real cost, unless you use a free key like OpenRouter's free models (50 requests a day until you've bought $10 of credits, then 1,000). On BetterClaw, the free plan is $0 and Starter is $19 a month.
Is Oracle's free tier reliable enough for a production agent?
It's fine for personal agents, but customers using only Always Free resources aren't eligible for Oracle Support, and Oracle can reclaim instances that stay under 20% on CPU, network and memory for 7 days. Capacity errors can also delay your first launch by days. For anything business-critical, keep a backup route or move to a paid tier.




