All resources
Guide/8 min read

Cloud Macs for AI agents: macOS VMs and sandboxes compared

Published

Summary

Per-minute macOS sandboxes, day-billed Macs like EC2 Mac, monthly rentals and CI runners, compared: what each runs, how an agent drives it, and what it costs.

An agent that builds an iOS app, runs XCTest, signs a Mac app or uses a Mac-only tool needs macOS. Apple's license only allows macOS on Apple hardware, so an agent working on a Linux server or in a cloud sandbox has to reach a Mac somewhere else.

There are plenty of places to get one, and the biggest difference between them is how they bill. Sandboxes built for agents charge by the minute. Most services that give you a whole Mac charge for at least 24 hours, because Apple's license says a leased Mac must go to one customer for at least that long. The rest rent Macs by the month, run CI jobs only, or are software for Macs you already own.

How we tested

An agent in a Replicas workspace, a Linux VM with no Mac, did the research and the testing on December 4, 2026. It drove Limrun's Xcode sandboxes with the lim CLI, which every Replicas workspace includes, and timed each step. We didn't open new accounts or pay for other services, so everything else comes from each provider's own docs and pricing pages, linked from its name in the table. Prices are list prices on that date, in US dollars unless noted. EC2 prices are for US East (N. Virginia).

The providers compared

Checked December 4, 2026

What each provider runs, how agents drive it, and what it costs

TestedFrom the docs

Sandboxes for agents

What you get

A non-admin build account on an M4 Mac mini, with macOS 27.2.1 and Xcode 27.1, 27.0 and 26.4

How an agent drives it

lim xcode CLI: sync, build, test, and run one command at a time

Minimum billing

Per minute

List price

$0.08/min building, $0.016/min warm, on plans from $20/mo

Best for

Building and testing iOS apps from Linux

Limrun macOS VM
From the docs

What you get

A full macOS VM with a desktop. Chip and macOS version not stated.

How an agent drives it

lim macos CLI, TypeScript and Go SDKs, SSH, screenshots, clicks and typing

Minimum billing

Not stated

List price

Not on the pricing page

Best for

Running and testing Mac apps, and computer use

Namespace Devbox
From the docs

What you get

macOS 14 to 27 with Xcode, on M4 Pro or M5 Max Macs: 6 vCPU and 14 GB, or 12 vCPU and 28 GB

How an agent drives it

devbox CLI, SDK, SSH, remote desktop, computer use

Minimum billing

Per minute, up to 3 hours a run on the free plan

List price

$0.06/min for 6 vCPU and 14 GB

Best for

A Mac an agent can SSH into, with a desktop when it needs one

Revyl computer
From the docs

What you get

A macOS VM with Xcode, the iOS Simulator, Chrome and Safari, on hosts such as an M4 Pro with 24 GB

How an agent drives it

revyl computer CLI, hosted MCP, live desktop in the browser

Minimum billing

Per minute, 2 hours by default and up to 72

List price

$0.05/min after 1,200 free minutes a month

Best for

Building and testing iOS and web apps, with recordings

Macs leased a day at a time

AWS EC2 Mac
From the docs

What you get

A bare-metal Mac mini or Mac Studio on a dedicated host, from Intel and M1 to M4 Pro

How an agent drives it

SSH, Apple Remote Desktop, AWS CLI and API

Minimum billing

24 hours per host, then per second

List price

M1 $0.65/h, M4 $1.23/h ($29.52 for the first day)

Best for

Teams on AWS that keep Macs busy all day

Daytona
From the docs

What you get

macOS 26.6.2 VMs with Xcode and the iPhone simulator, up to two on each reserved M4, M4 Pro or M5 Pro Mac mini

How an agent drives it

Python, TypeScript and Go SDKs, CLI, SSH, VNC, computer use

Minimum billing

A 24-hour reservation per Mac, charged up front

List price

Per core, GiB and macOS core-hour; M4 cores $0.101/h

Best for

Fleets of agent Macs that run all day

InstaBox
From the docs

What you get

A macOS 26 VM on a whole leased Mac, with 16 GB of memory. Xcode not included.

How an agent drives it

instabox CLI, SSH, API, Python SDK, desktop in the dashboard

Minimum billing

24 hours per Mac, then per second

List price

$0.50/h ($12 minimum) on the $20/mo Pro plan

Best for

A long-running agent Mac at a low hourly price

Scaleway
From the docs

What you get

A bare-metal M4 or M4 Pro Mac mini

How an agent drives it

SSH and VNC

Minimum billing

24 hours

List price

M4 €0.22/h, M4 Pro €0.49/h

Best for

A cheap whole Mac for a day or more

Dedicated Macs by the month

MacStadium
From the docs

What you get

A dedicated bare-metal Mac mini or Mac Studio, or Orka macOS VMs on a private Mac cloud

How an agent drives it

SSH, screen sharing through an SSH tunnel, Orka CLI and API

Minimum billing

A month

List price

From $109/mo (M2, 8 GB); M4 with 16 GB $149/mo

Best for

Always-on build Macs and private Mac clouds

MacinCloud
From the docs

What you get

A dedicated M1, M2 or M4 Mac with root and macOS 14 to 27, or a user account on a shared Mac

How an agent drives it

Remote desktop (RDP), and SSH once you turn on Remote Login

Minimum billing

A month for a dedicated Mac

List price

Dedicated from $129/mo (M1); user accounts from $25/mo

Best for

A remote Mac desktop for a person

CI jobs only

GitHub Actions
From the docs

What you get

A fresh VM for each job: a 3-core M1 with 7 GB, on macOS 15 or 26

How an agent drives it

Workflow files, with no shell to log in to

Minimum billing

Per minute

List price

$0.062/min; free on public repositories

Best for

Builds and tests that run on every pull request

On Macs you own

Tart
From the docs

What you get

macOS and Linux VMs on Apple silicon Macs you own, up to two macOS VMs per Mac

How an agent drives it

tart CLI, SSH, and the Orchard API across many Macs

Minimum billing

None

List price

Free, with no license fees since Cirrus Labs joined OpenAI

Best for

Turning Macs you already have into agent sandboxes

Cua Lume
From the docs

What you get

macOS and Linux VMs on an Apple silicon Mac you own. Cua Cloud closed on October 18, 2026.

How an agent drives it

lume CLI and SSH, local HTTP API, MCP server

Minimum billing

None

List price

Free, MIT license

Best for

Computer-use agents on your own Mac

"Bare metal" means you get the whole Mac. A VM is a virtual machine running macOS on a Mac the provider runs. A few newer services, such as NoMac and offstage, also sell Macs to agents by the minute or second. We didn't look at them closely enough to include them here.

What a 30-minute session costs

List prices checked December 4, 2026

Smallest bill for one 30-minute agent session

The cheapest Apple silicon Mac each provider sells, on a log scale. Scaleway’s euro price is converted at the ECB rate of December 3.

Revyl computer

$0.05/min after 1,200 free minutes a month

$1.50

Namespace Devbox

$0.06/min for 6 vCPU and 14 GB

$1.80

GitHub Actions

$0.062/min; free on public repositories

$1.86

Limrun Xcode sandbox

$0.08/min building, $0.016/min warm, on plans from $20/mo

$2.40

Scaleway

M4 €0.22/h, M4 Pro €0.49/h

$5.72

InstaBox

$0.50/h ($12 minimum) on the $20/mo Pro plan

$12.00

AWS EC2 Mac

M1 $0.65/h, M4 $1.23/h ($29.52 for the first day)

$15.60

MacStadium

From $109/mo (M2, 8 GB); M4 with 16 GB $149/mo

$109

MacinCloud

Dedicated from $129/mo (M1); user accounts from $25/mo

$129

$1$10$100
Billed by the minuteBilled by the hour, 24-hour minimumBilled by the month

For short agent jobs, the minimum charge matters more than the hourly rate. A 30-minute build costs $1.50 to $2.40 on the services that bill by the minute, and $5.72 to $15.60 where the Mac is billed for a full day. Limrun's and InstaBox's prices need a $20 monthly plan, which includes $20 of usage.

The day-billed Macs get cheaper the longer you use them. Against $0.05 a minute, Scaleway's M4 costs less once an agent needs it for about 2 hours a day, InstaBox after 4 hours, and EC2's M1 after about 5. If your agents keep a Mac busy all day, rent it by the day. If they need one for a build here and there, pay by the minute.

Daytona isn't on the chart. Its pricing page lists rates per core and per GiB of memory rather than per Mac, and each reservation is charged as 24 hours of the Mac model you pick, up front. Its API lists the price per model.

Limrun's Xcode sandbox, tested

Limrun sells two kinds of Mac: Xcode sandboxes for building, and full macOS VMs. The agent created an Xcode sandbox, ran commands on it, and built a small Swift package:

StepTime
Create a sandbox, ready to use0.76 s
First command, sw_vers6.5 s
Each command after that, including the folder syncabout 0.53 s
swift build of a small package, first build3.2 s
swift build again, with no changes1.3 s
xcodebuild of the same package21.1 s

The sandbox ran macOS 27.2.1 with Xcode 27.1 selected, and Xcode 27.0 and 26.4 installed beside it. The kernel reported an M4 chip, the hostname was a Mac mini, and the agent saw 10 CPUs and about 32 GB of memory. Commands ran as a non-admin user, and ps, top, system_profiler and simctl all returned "Operation not permitted". It's a locked-down build account without admin rights. Simulators are separate Limrun instances that attach to the sandbox.

What the agent ran into:

  • One command at a time. When the agent started a second lim xcode run while one was running, one of the two was cancelled.
  • No stdin. Piped input didn't reach the command. Without a folder argument, the CLI read the piped text as the folder name.
  • Background processes stay. A sleep started with nohup was still running 2.5 minutes later, across separate commands.
  • Swift's default build system failed. swift build stopped with "Could not determine path to developer directory". Adding --build-system native worked, and xcodebuild worked too.

Limrun's macOS VMs are full virtual machines with a desktop, driven with lim macos: shell commands, lim macos ssh for an SSH session, screenshots, clicks and typing, and screen recordings. We couldn't create one. Limrun access in Replicas workspaces covers iOS simulators, Android emulators, Xcode and Gradle, and the request was refused. Limrun's pricing page doesn't list a macOS VM rate.

For a full iOS app built and tested this way, see our build log from Linux. For what cloud Xcode costs against buying a Mac mini, see Do you need a Mac mini to run AI coding agents?

Whole Macs, a day at a time

Apple's macOS license allows a Mac to be leased only to one customer at a time, for at least 24 consecutive hours. EC2 Mac, Scaleway, InstaBox and Daytona pass that minimum on to you.

ProviderWhat the minimum coversWhat stands out
AWS EC2 MacA dedicated host with one bare-metal MacLaunching takes 6 to 20 minutes, by AWS's estimate. Billing is per second after the first day
DaytonaOne Mac mini, reserved and charged up frontUp to two macOS VMs share each Mac. Its image has Xcode, the iPhone simulator, Homebrew and fastlane
InstaBoxOne whole Mac, running one macOS VMXcode isn't installed, so you copy it in and save a snapshot. No nested virtualization
ScalewayOne bare-metal Mac miniA Mac can only be deleted after 24 hours. Access is over SSH and VNC

Macs by the month, and CI runners

MacStadium and MacinCloud rent dedicated Macs by the month. MacStadium's Macs start at $109 a month, and its Macs take SSH directly, with screen sharing through an SSH tunnel. MacinCloud's Apple silicon dedicated servers cost $129 to $165 a month with root access over remote desktop. Its cheaper managed plans are user accounts on a shared Mac without admin rights, so an agent can't install its own tools.

GitHub Actions runs each macOS job in a fresh VM with a 3-core M1 and 7 GB of memory, at $0.062 a minute, or free on public repositories. An agent can't log in to one. It writes a workflow, pushes it, and reads the logs. Namespace and Revyl also run macOS jobs for GitHub Actions, and InstaBox has them in private preview.

macOS VMs on Macs you own

Apple's license lets you run up to two extra copies of macOS in VMs on each Mac you own or control, for development and testing. It doesn't allow macOS on other hardware, so a macOS VM on a Linux or Windows machine isn't an option.

Tart runs macOS and Linux VMs on Apple silicon with Apple's Virtualization framework, and stores VM images in container registries. Its maker, Cirrus Labs, joined OpenAI in April 2026 and stopped charging license fees, and the code now lives at github.com/openai/tart. Cua's Lume runs macOS VMs too, with a CLI, a local HTTP API and an MCP server. Cua no longer hosts Macs. Cua Cloud ended on October 18, 2026.

Both need a Mac that stays on. Our Mac mini guide covers when owning one costs less than the cloud.

Which one fits

What your agent needsWhere to look
Build and test an iOS app now and thenLimrun Xcode sandboxes, Namespace, Revyl
A macOS desktop to see and clickDaytona, InstaBox, Limrun macOS VMs, Namespace, Revyl
A Mac for most of the day, every dayDaytona, EC2 Mac, InstaBox, Scaleway
Builds and tests on every pull requestGitHub Actions, or the macOS runners from Namespace or Revyl
An always-on Mac you fully controlMacStadium, MacinCloud, or your own Mac with Tart or Lume

If your agents run in Replicas, every workspace can already build iOS apps on cloud Xcode and test them on cloud iOS simulators and Android emulators, through Limrun (mobile testing docs). For the device tools agents use on those simulators, see iOS simulator and Android emulator tools for coding agents, tested, and for the wider testing setup, how to test iOS and Android apps with cloud coding agents.

FAQ

Frequently asked questions