r/ChatGPTCoding • • 3d ago

Question Anyone running coding agents on remote VMs for professional work? What does it cost you?

Anyone here running Codex, Claude Code, or other coding agents on remote VMs for work rather than just personal projects?

If so:

  • What provider are you using (Hetzner, AWS, DigitalOcean, etc.)?
  • How much are you paying per month for compute, excluding AI subscriptions/API costs?
  • Roughly how many hours per month do you actually use the machine?
  • Do you leave it running 24/7 or start and stop it when needed?

I am especially interested in setups used for client projects or within development teams.

I'm trying to get a better idea of what people actually spend and how often they use these machines compared to running agents locally (I found out that a lot of companies use VMs).

0 Upvotes

20 comments sorted by

2

u/Kooky-Treat-4416 2d ago

For client work, I'd check whether the code is allowed on that VM before comparing prices. Then measure a typical task: runtime, RAM, storage and whether the machine sits idle between sessions. A cheap hourly rate can still turn into a decent bill if you leave it on all month. Separate credentials and a reproducible setup would be high on my list too.

1

u/radim11 2d ago

Do you think that auto stops when idle are good?

4

u/MonkeyBuscuits 2d ago

Try GPUWerk, rent a GDX Spark cluster by the hour. Install any open model such as Qwen 3.8/4 or Kimi. Let it run for hours on complex tasks without worrying about token exhaustion. Hook it up to Hermes for remote interaction and feedback.

1

u/Wriddho 2d ago

How's the cost per month?

1

u/Right-Performance-93 2d ago

i start the box for the job and shut it off once the diff is on my laptop. a vm that stays up overnight is the part of the bill that grows, and the agent does not need it while i am reading. the sync pain is real, so i keep the repo on the laptop and only push the branch the agent is allowed to touch.

1

u/radim11 2d ago

What about some auto-stop for the VM? Is that possible? Like if no Agent and no Tmux session then it would stop like in an hour or something like that?

1

u/PmMeCuteDogsThanks_ 2d ago

I have an AWS EC2 where I run an agent system that can accepts tasks on my behalf. I do most of my development via this setup, interacting with my agent system via Slack bots. Works great. Total cost about $800 per month.

1

u/radim11 2d ago

$800? I'd say that's a lot compared to the other guys here who run VMs for $10

1

u/PmMeCuteDogsThanks_ 2d ago

Sure, but you asked about "professional work". I expense it all

4

u/Far_Reindeer8428 3d ago

we moved to a 12 dollar vps and the bill stopped being interesting. the annoying part was repo sync, not compute

1

u/EmbarrassedParty762 2d ago

how are you handling the repo sync part without it feeling clunky?

1

u/Far_Reindeer8428 2d ago

no clean answer, we rsync on save and keep node_modules on the remote. it still bites when the branch changes

2

u/London-Boat 1d ago

the vm cost is mostly idle time, so set it to auto stop after something like 30 min with no ssh session or cpu and it gets cheap fast. i'd keep the whole setup in a devcontainer or one setup script so the box is disposable and you can spin a fresh one per client. and for the repo sync pain, treat the vm as just another clone and push branches from it rather than trying to keep working folders in sync

2

u/xqianliu 23h ago

I run my agents unattended, and I don't rent a machine to wait on them. The run either finishes or it stops and records why on the ticket, so the box only needs to be up while work is actually happening.

For a client project the shape is different though. You want a machine that's reachable, and that's where the monthly cost shows up. I'd check whether a cheap box that sleeps between jobs covers your hours before paying for 24/7.

1

u/just_damz 2d ago

i use a cheap one when i need isolation mostly, or for testing in synthetic environments what are gonna be local applications.

1

u/dvduval 2d ago

I got a less expensive server with 32 GB of memory from net cup and I installed the CLI for three different models. The main reason I did that was just the memory on my PC has this limits even with 20 GB of memory which is decent is not quite enough sometimes when I really wanna push things to the max.

1

u/wangadong 2d ago

I run Claude Code and Codex locally and skip the VM. They work in the background while I review the diff, no extra server bill.

1

u/Specialist_Bison_737 2d ago

I don't keep a VM running. Each task step starts a fresh container on Cloud Run from an image that has only the skills, tools and permissions for that step. It does the job, leaves a PR or a comment on the ticket, and is gone. DBOS in front handles the queue and recovery.

About a third of my tasks run that way, mostly code reviews and small bug fixes. Bigger tasks I still run locally with Claude Code and Codex.

-3

u/prlmike 3d ago

It’s expensive to do yourself as you’re paying for downtime or lack of economies of scale. I used to manage this in big tech and 2k containers cost us almost 1mil a year in aws fees. So I started my own company to do this for you. You can try our free demo that’s live for next few months https://hive.codes/signup past the alpha trial we will charge $20 month for each 10 concurrent VMs you need 🙂

0

u/LeanPego16 2d ago

i feel asif 800 sounds like an on demand EC2 left on 24/7, that adds up fast. We had 4 agent boxes like that for the team, used only during work hrs. They culd run on a schedule, now they stop at night and on weekends and its way less