Codex

Coding Agents Cloud Server Made by OpenAI

A coding agent for the terminal from OpenAI

Install

Plan

s-2vcpu-4gbSmallest that fits

2 vCPU · 4 GB RAM · 40 GB NVMe

฿419/mo

Settings

Timezone

After you press Install

  1. Check the price, accept the terms

    In the console

  2. Press Create server and install

    The server is created and billing starts

  3. Get in

    By web terminal or SSH

Terms and costs

  • You read and accept the terms of OpenAI before you confirm.
  • You sign in with OpenAI and pay OpenAI for its use.
  • XVer bills only the server, not app accounts or their usage.

Read the terms of OpenAI (opens in a new tab)

Full statement

Codex belongs to OpenAI. XVer is not its developer or agent, and OpenAI does not endorse this service. You use your own account and pay OpenAI yourself. Names and logos are trademarks of their owners.

How to use

Web terminal

Opens in the browser.

  1. Open the server in my.xver.cloud

  2. Press Web terminal

    No server password

  3. Type the command

    codex
  4. Sign in

    With your own OpenAI account

The owner and members who can manage the project can open it.

SSH

From a terminal on your computer, with a password or a key.

  1. Connect over SSH

    Use the password or key from the server page

    ssh xver@SERVER_IP
  2. Open tmux

    Work keeps running if SSH drops

    tmux new -s work
  3. Sign in with a short code

    Open the link on your computer and enter the code

    codex login --device-auth
  4. Run Codex

    In your project folder

    codex

Replace SERVER_IP with your server’s IP

1 copy the SSH command 2 show the password (sample data, console in Thai)

Web console

For when the web terminal or SSH does not open. Needs the server’s password.

  1. Open the server in my.xver.cloud

    The user name and password are under the Access tab

  2. Press the arrow next to Web terminal and choose Web console

  3. Type the user name and password

  4. Type the command

    codex
  5. Sign in

    With your own OpenAI account

A server with only an SSH key has no password: use SSH.

Images

  • 1 copy the SSH command 2 show the password (sample data, console in Thai)

On this page
  1. Why on a server
  2. What you need
  3. How to install
  4. What is on the server
  5. First use
  6. Who can get in
  7. Change passwords and keys
  8. Remove the app
  9. Cost
  10. Security
  11. Frequently asked questions

Codex is OpenAI's coding agent for the terminal. It reads your project, edits files and runs commands on the server when you ask it to.

Why on a server#

You want On a Cloud Server
Work that goes on after you close your laptop tmux keeps it running; look back later
A space apart from your own computer The agent sees only the files on this server
Work from anywhere Open the web terminal in a browser, or use SSH

What you need#

Item Details
Account A ChatGPT account with Codex, or an OpenAI API key
Short-code sign-in Turn it on in your ChatGPT security settings first; for a workspace, your admin turns it on
Smallest size 2 vCPU, RAM 4 GB, NVMe disk 40 GB, Bandwidth 4 TB
On your computer A browser; an SSH client if you use SSH

How to install#

  1. Press Install Codex on this page
  2. Sign in to XVer and check the plan and price
  3. Choose how to get into the server: password or SSH key
  4. Read OpenAI's terms and tick to accept them
  5. Press Create server and install. The server is created and billing starts after this step

When it is installed, press Open server terminal or copy the SSH command.

What is on the server#

Item Details
System Ubuntu 26.04, user xver with sudo
Command codex ready in the terminal
Ports open to the internet None added; this app has no web page
Running in the background Nothing; Codex runs only when you start it

First use#

Press Web terminal on the server page; it does not need the server's password. Or connect over SSH from your computer.

On your computer
ssh xver@SERVER_IP

Sign in without a browser on the server#

  1. Run codex login --device-auth
  2. Open the link it shows in a browser on your computer and sign in to ChatGPT
  3. Enter the code shown in the terminal
On the server
codex login --device-auth

To use an API key instead, set OPENAI_API_KEY and pass it to Codex.

On the server
printenv OPENAI_API_KEY | codex login --with-api-key

Start working#

Open tmux first so work does not stop when the connection drops, then go to your project folder.

On the server
tmux new -s work
mkdir -p ~/my-project
cd ~/my-project
codex

Press Ctrl + b then d to leave tmux without stopping the work; come back with tmux attach -t work.

Who can get in#

This app has no web page.

Way Who
Web terminal The owner and project members who can manage it; no server password needed
SSH Anyone with the server's password or key
Web console Anyone with the server's password

Change passwords and keys#

Codex has no password of its own. What to look after is the server's password and the account you use with Codex.

What How to change it
Server password On the server page, Access tab, press Reset password. The old one stops working at once
ChatGPT account or API key Run codex logout, then sign in again with codex login --device-auth. If you used an API key, revoke the old one in your OpenAI account

Remove the app#

  1. Run codex logout, or revoke the API key you used on this server in your provider account
  2. Open the server page, Apps tab
  3. Press Uninstall on Codex, check what will be removed, then confirm

The server stays and is billed as usual. If you no longer need it, delete the server; its data is gone for good.

Cost#

XVer does not charge for the app. You pay XVer for the server and pay OpenAI directly for ChatGPT or the API. A server that is off is still billed. Delete it to stop billing; its data is gone for good.

PlanNVMe diskBandwidthPer hourPer month
2 vCPU · 4 GB40 GB4 TB฿0.70/hr฿419/mo
4 vCPU · 8 GB80 GB10 TB฿1.37/hr฿819/mo

The price you pay is shown before you confirm

Compare every size on Cloud Server pricing.

Security#

Setting What Codex may do
Auto Edit files in the working folder and ask before anything beyond it; for folders under Git
Read-only Read only; to chat or plan without changing anything
  • Run /permissions to choose what Codex may do
  • Work in a project folder under Git, not your home folder
  • Read commands before you approve them, and do not grant full access unless you need it
  • The xver user can use sudo without a password. If you let Codex run commands, it can change the whole server.

Frequently asked questions#

Is XVer connected with OpenAI?

No. XVer is not an agent or partner of OpenAI and is not endorsed by it. You accept the terms, use your account and pay OpenAI yourself.

Short-code sign-in does not work. What now?

Turn on code sign-in in your ChatGPT security settings first; for a workspace, ask your admin. Or use an API key.

Where do I see the settings in use?

Run /status in Codex. Change the model with /model.

฿419/mos-2vcpu-4gb

Installs open soon

Related posts

See all apps