Skip to content

A Codex cloud alternative: run Codex on a machine you control

Codex cloud runs OpenAI's Codex in VMs that OpenAI manages, and it's included with ChatGPT Plus, Pro and business plans, though not Free or Go. The alternative is to run the Codex CLI yourself on a cloud machine. You get root, any git host, your ChatGPT sign-in or an API key, a public link to what it built, and other agent harnesses beside it. If your repositories are on GitHub and Codex is the only harness you use, Codex cloud is the simpler choice.

How do they compare?

Codex cloud Codex on a Quivvo machine
Who runs the machine OpenAI You, on a Firecracker microVM with Codex installed
Price Included with eligible Plus and all Pro tiers, with no separate VM charge at launch. Model usage counts toward your Codex limits By the second while it runs: $0.054 an hour for 2 vCPUs and 4 GiB
Size 2 vCPUs, 8 GiB of memory and 8 GiB of disk on Plus; 4 vCPUs, 16 GiB and 32 GiB on Pro, Business and Enterprise 2 vCPUs and 4 GiB by default, up to 8 vCPUs and 16 GiB on a paid plan
State Each task has its own workspace. Its saved state can be recovered for up to 7 days A disk at /data that stays until you delete the machine
Repositories GitHub, and GitLab in beta Any
Sign-in A ChatGPT plan A ChatGPT sign-in or an API key
A shell of your own SSH, set up from the desktop app quivvo ssh, or the dashboard's terminal
Showing a server A private HTTPS preview of a port An HTTPS link, public or behind a token
Harnesses Codex only Codex, Claude Code, OpenCode, Gemini CLI and six more, installed

The first column comes from OpenAI's Codex cloud docs and its help articles on using Codex cloud and Codex with your ChatGPT plan, read on 29 November 2026. Codex cloud changes often, so check them for the current state.

When should I choose Codex cloud?

Choose it when your code is on GitHub, Codex is the harness you use, and a task ends in a commit or a pull request. You start tasks from ChatGPT, your editor or your phone, and they keep going while your computer is asleep. A published environment reuses the same setup across tasks, and there's no machine to look after. It costs nothing beyond your plan.

When should I run Codex on my own machine?

  • You pay for Codex with an API key, not a ChatGPT plan.
  • Your repository isn't on GitHub or GitLab, or the work isn't in a repository at all.
  • You want state that stays. A machine's disk is there until you delete it, with what you installed and the caches you built.
  • Someone else needs to see the result. A published port is a link anyone can open, or one behind a token.
  • You use more than one harness. Claude Code can review what Codex wrote, on the same checkout.
  • You want several attempts at once. Fork the machine and give each copy the task.
  • You care where it runs. Machines run in ams (Amsterdam), iad (Ashburn, Virginia).

How do I run Codex on a Quivvo machine?

Every machine has the Codex CLI installed. Create one, send your code and sign in once with your ChatGPT account. The sign-in stays on the machine's disk:

command -v quivvo >/dev/null || npm i -g quivvo@latest
quivvo create --name work
quivvo push ./api work --include .git
quivvo ssh work -- codex login --device-auth
quivvo ssh work --cwd api -- codex

push leaves .git behind unless you include it, and a run needs the history to show you a diff. New accounts get $5 of credit with a $1 card check before the first machine, which stays as credit.

To leave it working, hand the task over as a run. It carries on after you disconnect and keeps the machine awake until it ends:

RUN=$(quivvo agent prompt work --provider codex --cwd api -- "fix the failing test")
quivvo agent wait work "$RUN" --timeout 100
quivvo agent result work "$RUN" --diff | git -C api apply

The last line prints what Codex changed as a patch and applies it to your own copy. With an API key and no sign-in, add --env CODEX_API_KEY to the first command. A run starts Codex with --sandbox danger-full-access, because the machine is the isolation: Codex is root on a VM that holds only what you sent it. See how to sandbox an agent harness.

How do I try several fixes at once?

Fork the machine and give each copy the same task. A fork copies the disk, sign-in included, and boots fresh:

quivvo fork work --count 2 --name try
A=$(quivvo agent prompt try-1 --provider codex --cwd api -- "make the test suite pass")
B=$(quivvo agent prompt try-2 --provider codex --cwd api -- "make the test suite pass")
quivvo agent wait try-1 "$A" --timeout 100
quivvo agent result try-1 "$A" --diff

The Free plan runs 1 machine at a time, so this needs Pro, which runs up to 25 together.

What does it cost?

On price alone, Codex cloud wins while it has no VM charge. A Quivvo machine costs $0.054 an hour while it runs and only its disk while it sleeps: it suspends after 30 idle minutes. Used two hours on each working day, that comes to about $5 a month with its disk. Either way you pay OpenAI for the model, through your plan or an API key.

Can I use both?

Yes. Use Codex cloud for pull requests on GitHub, and a machine for what it doesn't fit: a repository elsewhere, a server that has to stay reachable, or a second harness on the same code. See several harnesses on one machine and Claude Code in the cloud.

Updated 29 November 2026

Give your agent a computer

npx quivvo@latest sh
Start a machine