Codex on its own box, synced to your laptop.
Codex works on a Linux box in the cloud with sudo and Docker while your laptop is closed, in the project you sync to it. The box signs in to ChatGPT on its own, so your laptop stays signed in.
Plans from $10 a month. New accounts get $30 of credit. No card.
Set up Prized so Codex can keep working on this project on a cloud box while my laptop is closed. Fetch https://prized.dev/codex.md with curl and follow it.
Codex asks before each step: installing the CLI, making your account or having you sign in, and copying your project and your sign-in to the box. It copies the project once; to keep it syncing, set it up yourself below.
Or set it up yourself.
- Create my box
Sign up.
The tour starts a box on your free credit, with no card.
Install the CLI.
Signed up? Use the tour’s command, which also signs you in. This one only installs, so run prized login after it.
On Windows$curl -fsSL https://prized.dev/install.sh | shRun setup in your project.
It syncs the folder, signs Codex in on the box, and opens Codex there in a session named codex.
$cd ~/code/myproject prized setup --sync --agent codex --attach
What Codex gets on the box.
Syncs your folder both ways.
Codex’s edits stream into the project on your laptop, so you review the diff in your own editor.
Opens its ports on your localhost.
A dev server on port 3000 of the box opens at localhost:3000 on your laptop.
Signs in on its own.
A ChatGPT sign-in can’t be shared without signing one side out, so setup opens a sign-in page in your browser and the box gets its own.
Takes tasks headless.
prized prompt --provider codex runs codex exec on the box and streams its events back to your terminal or a script.
Common questions.
- How does Codex sign in on the box?
- An API-key sign-in is copied from your laptop. A ChatGPT sign-in stays on your laptop, so setup opens a sign-in page in your browser and the box gets its own. You can also run codex login --device-auth on the box.
- Do I pay Prized for Codex’s tokens?
- No. Codex runs on your own ChatGPT plan or OpenAI API key, as on your laptop. Prized bills the box by the hour while it’s awake, and only its disk while it sleeps.
- Can I use the ChatGPT app with the box?
- Yes. Add the box under Settings, Connections, as an SSH connection, and its projects open in the app. The app’s tasks stop when your Mac sleeps, so for work that runs overnight start Codex on the box with prized agents run codex.
- Does the box stay on all night?
- Yes, while Codex works: its output in the session counts as use. On the free credit an idle box sleeps after 2 hours, so before a long quiet run, prized box auto-pause BOX 12h keeps it up until 12 hours pass with nothing going on.
Your box is one sign-in away.
Plans from $10 a month. New accounts get $30 of credit. No card.