
How much does it cost to run an AI coding agent 24/7?
Real numbers from an itemized bill: what the machine costs, what tokens cost, and why the waiting is the hidden line item. Median $1.81/mo of machine, p90 $16.06, and the honest math for always-on.
The question shows up in Search Console more than any other cost question: what does it cost to run an AI coding agent around the clock? Most answers online are guesses. Ours is an itemized bill, because JackHamr bills infrastructure at cost and shows you every line. Here is what months of data across hundreds of agents says.
The two line items
An agent that runs 24/7 costs you two things: the machine it lives on, and the tokens it burns.
The machine is the predictable part. Across 479 active agents, the median machine cost was $1.81 per month, the 75th percentile $8.19, and the 90th percentile $16.06. That is the always-on price of a small cloud VM with enough CPU and RAM for a coding agent to build, test, and browse. You can run the same thing yourself on a generic VPS for roughly similar money; the difference is that ours comes wired with the agent's tools, browser, git, and secrets, and bills by the minute when idle policies kick in.
Tokens are the unpredictable part, and they are where every honest cost discussion lives. An agent that idles 24/7 costs almost nothing in tokens. An agent that works eight hours a day burns real money. That is why the useful question is never "what does 24/7 cost" but "what does my workload cost", and the answer scales with how much the agent actually does.
The hidden line item: waiting
Here is the number that surprised us. Measured across production agents, agents spent 1.8x more time waiting on a human than working. Approval cards sat unanswered, one in five never got answered at all.
This matters for cost in a way nobody budgets for: if your agent is blocked on you for two thirds of its life, you are paying for a 24/7 machine that works a fraction of the time. Two fixes, both cheaper than a bigger plan: pick a runtime that suspends when idle so you do not pay for waiting, and answer your approval cards.
What the always-on math looks like
For a realistic always-on setup, a Claude Code subscription on a hosted runtime: the subscription you already pay for does the thinking, the machine adds single-digit dollars a month at the median, and tokens inside the subscription are covered by the plan. That is the cheapest 24/7 agent that exists today: your existing Claude or Codex plan, plus a few dollars of machine, plus the discipline to close your approval cards.
Compare that to the alternatives honestly: a DIY tmux box that you keep awake (cheap until it dies silently at 3am), an enterprise agent platform per-seat (real money, real invoices), or doing nothing and paying engineer-hours instead.
Try the actual numbers
The AI agent cost calculator lets you model machine sizes and workloads against our itemized pricing. The per-task cost breakdown shows where the money goes on a single task, and run Claude Code 24/7 is the setup this post describes: your subscription, our machines, no server of yours awake.
Try it on your own project.
$30 in free credit, no card needed. Your first agent is running the moment you sign up.
More releases

Google Antigravity alternatives: what to use instead, by what you are trying to do
A field guide to the Antigravity-alternative question. Editor-shaped tools for hands-on coding, autonomous app builders for prototypes, and agent teams for shipping whole features, with the honest trade-offs of each.
6 min read

What shipped in JackHamr: October 20 to 30
New accounts start inside a running agent, Focus cards now show the full chat and the work behind every result, Stop really stops everything, and a free AI agent cost calculator.
3 min read

Google Antigravity is an agent-first IDE. Is that the same as an AI dev team?
Google's Antigravity puts agents in your editor on Google's quotas. JackHamr runs a team of specialist agents on their own machines. Here is where each shape wins.
3 min read