OpenCode

Coding Agents Cloud Server

A coding agent for the terminal, open source

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 OpenCode before you confirm.
  • You sign in with the model provider you choose, and pay them.
  • XVer bills only the server, not app accounts or their usage.

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

Full statement

XVer is not the developer or agent of OpenCode, and OpenCode does not endorse this service. You use your own model provider account and pay it 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

    opencode
  4. Sign in with your own 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. Run OpenCode

    In your project folder

    opencode
  4. Connect a model provider

    Type /connect and pick a provider

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

    opencode
  5. Sign in with your own 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

OpenCode is an open-source coding agent for the terminal. You use it with the model provider you choose.

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
Model account An account or API key from a provider OpenCode supports
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 OpenCode 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 the OpenCode 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 opencode ready in the terminal
Ports open to the internet None added; this app has no web page
Running in the background Nothing; OpenCode 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

Open tmux first so work does not stop when the connection drops, then run OpenCode in your project folder.

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

Connect a model provider#

  1. Type /connect in OpenCode
  2. Pick a provider, and a sign-in method if it offers more than one
  3. Follow the prompts, such as pasting an API key

To do this without opening OpenCode's screen, use this command instead.

On the server
opencode auth login

Type a request and press Enter. Press Shift + Tab to switch agents, and /undo to take back the latest step. Press Ctrl + b then d to leave tmux without stopping the 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#

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

What How to change it
Server password On the server page, Access tab, press Reset password. The old one stops working at once
Model provider account or API key Run opencode auth logout to remove the saved account, then connect again with /connect. Revoke the old key in your provider account

Remove the app#

  1. Run opencode auth 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 OpenCode, 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 your model provider directly. 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#

  • Work in a project folder, not your home folder
  • Read commands before you approve them; take back unwanted work with /undo
  • Use an API key with a spending limit, and delete it when you stop using this server
  • The xver user can use sudo without a password. If you let OpenCode run commands, it can change the whole server.

Frequently asked questions#

Is XVer connected with OpenCode?

No. XVer is not the developer or agent of OpenCode and is not endorsed by it. You use your own model provider account and pay it yourself.

Can I change the model provider later?

Yes. Type /connect again and pick another provider.

Can I use OpenCode in a browser?

On this server OpenCode runs in the terminal. Open it from the web terminal or over SSH.

฿419/mos-2vcpu-4gb

Installs open soon

Related posts

See all apps