Choose the distribution when you order: it is installed for you and the server is yours as root. Install your stack, run containers or databases and configure everything the way you want.
Root access over SSH as soon as it is delivered
VNC console to recover a server you can no longer reach
A Windows VPS and a “Windows RDP” are the same thing: a Windows Server machine you use through Remote Desktop (RDP). You get the full Windows desktop and the administrator account, and your programs keep running when you disconnect.
Full administrator access
Connect from Windows, macOS, Linux, iOS or Android
Codex CLI is rarely alone on a developer's VPS. All three agents below run in the terminal and call a model in the cloud, so none of them needs a GPU - and on the same machine you can give each one the task it does best.
OpenAI Codex
OpenAI's open-source coding agent
Codex reads your repository, edits files and runs commands inside a sandbox that limits what it can touch, asking before it steps outside. For unattended work, codex exec runs a task from a single prompt with no interactive screen - the natural fit for a server, a cron job or a CI step.
Light on its own; VPS Entry, with 4 GB and 2 vCPU, leaves room for your build and test suite.
Claude Code
Anthropic's agent, for a second opinion
Claude Code works through the same read, edit, run loop with Anthropic's models. Installed next to Codex, it lets you hand the same issue to both agents on the same checkout and keep the better branch.
Shares the server comfortably on VPS Entry; move to VPS Bronze when both agents build in parallel.
Gemini CLI
Google's agent, with a free tier
Gemini CLI brings Gemini models to the terminal with a personal Google account. Many developers keep it for reviews and documentation, and leave the heavy refactors to Codex.
Adds little on top of the others: plan memory for your toolchain, not for the agents.
What Codex CLI needs from its server
Inference happens at OpenAI; the server runs the agent, its sandbox, your code and your tests. These four points decide whether that holds up day after day.
ssh agent@vps-01
$ tmux attach -t codex
✓ npm test214 passed
✓ npm run build12.4s
✓ git push origin fix/authok
[0] 0:codex*06:41
Work that continues without you
Start an interactive session inside tmux and detach, or hand a task to codex exec and let it finish on its own. Either way the VPS stays up, and the work does not stop when your SSH connection does.
Mem3.5G/8.0G
COMMANDRES
codex160M
cargo test1.7G
rust-analyzer1.3G
postgres400M
Memory sized for your toolchain
Codex itself is light. Your compiler, test runner, Docker containers and language servers are what fill the RAM: count 4 GB for one project and 8 GB once several agents or containers run side by side.
codex login --device-auth
WDJB–MJHT
Sign-in without a browser
On a headless server, codex login --device-auth shows a code you confirm from your phone or laptop with your ChatGPT account. With an API key instead, our installer logs Codex in for you with --api-key. Model usage is billed by OpenAI, never included in the VPS.
~/Documents
vps-01
/home/agent
A sandbox inside a separate machine
Codex already restricts the commands it runs; a VPS adds a second wall. The agent works on its own system, under a non-root user, with only the repositories it needs - far from the laptop that holds your personal files and keys.
Other workloads we host
Same machines, same locations, same control panel - only the software you install on top changes. If your project sits between two of these pages, any of the plans above will run it.
A Codex VPS is a Linux server where OpenAI's coding agent takes your tasks to the finish without your laptop staying open. This guide covers why a codex cli vps makes sense, how to log in without a browser, which size to pick and how to limit what the agent can touch.
Why put Codex on a VPS instead of your laptop?
Fixing a test suite, bumping a dependency everywhere or writing a migration takes time. On the server, start a session in tmux or hand one instruction to codex exec: the task keeps going without you, including from a cron job or a CI step.
Interactive session in tmux, detachable
codex exec for a task with no interactive screen
Works from cron or CI
Same Linux as your production
How do you sign in to Codex CLI from a headless server?
On a server with no screen, run codex login --device-auth: a code appears, and you confirm it from your phone or laptop with your ChatGPT account. If you prefer an OpenAI API key, the installer passes it to Codex with the --api-key option. Either way, model usage is billed by OpenAI, not by the VPS, so Codex on a VPS stays simple.
Device code to confirm on your phone
The codex login --device-auth command
OpenAI API key passed with --api-key
Model usage billed by OpenAI
What VPS size for Codex when you build a lot?
Codex itself uses little: your compiler, tests and containers are what fill the RAM. A VPS Entry with 4 GB and 2 vCPU carries one project. When Codex and Claude Code build side by side, the VPS Bronze with 8 GB keeps the kernel from killing a process for lack of memory. That is the VPS for Codex that fits real work.
One project at a time: 4 GB and 2 vCPU
Codex and Claude Code together: plan 8 GB
Measure RAM with a real build
NVMe for installing dependencies
Sandbox, AGENTS.md and server isolation
Codex already restricts the commands it runs and asks before leaving its sandbox; the VPS adds a second wall. The agent works under a non-root user with only the repositories it needs, and an AGENTS.md file tells it how your project builds. Running Codex on VPS hardware keeps it away from your personal keys.
Dedicated non-root user
Only the needed repositories present
AGENTS.md at the root of each repository
Away from your laptop's files and keys
Frequently asked questions
Sign-in, sizing, unattended runs and what the price includes.
Yes. Codex CLI is a terminal program that runs on Linux and calls OpenAI's models over the internet, so it behaves on a VPS exactly as on your own computer. You connect over SSH, start it in your project, and it keeps working after you disconnect if you run it in tmux or through codex exec.
Run codex login --device-auth: Codex shows a code that you confirm from any device signed in to your ChatGPT account. If you use an OpenAI API key, pass it to our installer with --api-key and Codex is logged in as soon as it is installed.
Codex itself needs little and runs on VPS Entry. Your project's toolchain usually decides: VPS Entry with 4 GB suits one project, and VPS Bronze with 8 GB is the comfortable choice for Docker, large builds or Codex and Claude Code working in parallel.
No. The VPS is the machine Codex runs on; model usage is billed by OpenAI through your ChatGPT plan or your API key. The VPS price covers the server, its traffic and support, with no markup on tokens.
No. Codex does not run a model locally - inference happens at OpenAI. A standard KVM VPS with NVMe storage is all it needs, which is why it costs a fraction of a GPU server.
Get exclusive deals and promotions!
Stay up to date with the latest offers, discounts and special promotions.