Codex CLI VPS
OpenAI Codex CLI preinstalled on your own Linux server: a clean, isolated machine where the agent can run commands, install packages and run your tests without touching your computer.
- Ready at bootCodex installed a few minutes after the server starts.
- IsolatedLet it run commands on a machine that is not yours.
- Root accessInstall anything your project needs.
- By the hourFrom 1 hour to 3 months, deleted at the end.
VPS from $2.27/month, or by the hour. Pay with Nano, Bitcoin, Monero, USDT…
How it works
- Deploy a VPS with Codex CLI ticked, and pay with crypto.
- Connect over SSH as root (password or your SSH key), or open the browser console from your order page.
- Code: sign in with
codex login --device-auth(your ChatGPT account) or an OpenAI API key, then runcodexin your project.
Codex CLI VPS: FAQ
What do I need to use Codex on the VPS?
A ChatGPT plan that includes Codex, or an OpenAI API key. You sign in on the server with your own account; NanVPS does not resell model usage.
How do I sign in to Codex on a server without a browser?
Run codex login --device-auth over SSH, open the link it prints on any device and enter the one-time code (device code sign-in must be enabled in your ChatGPT security settings first). An OpenAI API key works too: printenv OPENAI_API_KEY | codex login --with-api-key.
Can I install Claude Code or OpenCode too?
Yes, tick several agents when ordering: they are all installed at first boot. Claude Code then connects from your order page and OpenCode gets its own web interface.
Which plan should I pick?
Codex runs on 1 vCPU and 1 GB RAM; pick 2 GB or more if the agent builds your project or runs its tests.
Other coding agents
Claude Code VPSOpenCode VPSGPU servers
Tick several agents when ordering: they are all installed on the same server.