---
title: "OpenCode Hosting: Self-Hosted OpenCode from $2.78/mo"
description: "OpenCode hosting on a CloudSat server: the AI coding agent keeps working after you close the laptop, with any model provider or a local LLM via Ollama."
url: https://cloudsat.io/opencode-server-hosting
updated: 2026-11-18T21:28:02Z
source: CloudSat (https://cloudsat.io/). Prices in USD.
---

# OpenCode hosting beside your code. It keeps working after you leave.

OpenCode is open-source software that puts an AI coding agent in your terminal, a browser tab or a desktop window. Run it on a CloudSat server next to your repositories, connect any model provider or a local one, and check in from any device. The [one-click app](https://cloudsat.io/apps/deploy-opencode) sets it up.

[Deploy OpenCode](https://dash.cloudsat.io/console/deploy?plan=cloud-4g)

From $1.98/mo 14-day money-back Pay in crypto

OpenCode hosting at a glance

**OpenCode** is an MIT-licensed AI coding agent that reads your repository, edits files, runs commands and tests, and explains what it changed. It works with **Anthropic, OpenAI, Google, GitHub Copilot, OpenRouter** and other providers, or with **local models through Ollama, LM Studio or vLLM**. On a CloudSat server it runs as a background service with a **password-protected web UI**, so long tasks continue while your laptop is closed. You get **root, NVMe and a dedicated IPv4**, from $1.98 a month in 13 regions.

- **Starting price**: $1.98 / month
- **Deploy time**: Under 5 minutes
- **Regions**: 13 worldwide
- **Uplink**: 40 Gbps
- **Uptime SLA**: 99.95%
- **Money-back**: 14 days

## OpenCode needs a machine it is allowed to break.

Reasons to give a coding agent its own server instead of your workstation.

### A sandbox with root

The agent installs packages, runs migrations and starts dev servers on a machine that holds nothing else. If it wrecks the environment, rebuild the server from the console and start clean.

### Sessions that outlive the laptop

OpenCode's service keeps running when you disconnect. Start a refactor before a meeting, close the lid and read the diff later from a browser or the terminal client.

### Fast builds and tests

Agents run test suites again and again. NVMe and DDR5 shorten installs and builds, and High Frequency Ryzen plans speed up single-threaded compilers and test runners.

### Keys and code in one place

API keys, deploy keys and private repositories stay on a server you control, protected by your SSH keys and two-factor login on the CloudSat console.

## Set up OpenCode once, then code from any device.

The usual setup for a remote OpenCode.

### 1. Deploy and clone

Pick the OpenCode one-click app or Ubuntu on a 4 GB plan, add a deploy key at your Git host and clone the repositories you work on.

### 2. Connect a model

Start `opencode` inside a project and run `/connect` to sign in to a provider, or configure a local Ollama endpoint when code must stay on your servers.

### 3. Pair a browser

Run `opencode pair` for a one-time link, open it through an SSH tunnel, and that browser stays signed in to the web UI for 30 days.

## Work to delegate to a remote OpenCode agent.

Jobs that suit an agent with a server of its own.

### Long refactors

Rename an API across a codebase, migrate a test framework or bump a major dependency, with the agent running tests after each step while you do something else.

### Bug triage from your phone

Paste a stack trace into the web UI from wherever you are. The agent reproduces the bug on the server, proposes a fix and shows you the diff.

### A shared team box

One server, several repositories and a shared provider account. Teammates pair their own browsers and pick up sessions without installing anything locally.

### Tests and docs catch-up

Ask for missing tests, docstrings or a README for an old service, then check each change like any pull request before merging it.

### Private code, local models

Pair OpenCode with an [Ollama GPU server](https://cloudsat.io/ollama-server-hosting) so prompts and source never reach a third-party API, which some client contracts require.

### A lighter laptop

Toolchains, containers and language servers live on the server, so your laptop needs only a browser or a terminal. Switching machines takes no setup at all.

**< 5 min** Delivery, any server

**40 Gbps** Uplink

**NVMe** Storage only

**13** Regions

**99.95%** Uptime SLA

**14 days** Money-back

## OpenCode hosting locations: 13 regions. Pick the one next to your users.

Every region runs the same hardware, the same images and the same prices. Deploy in one, add another whenever you need it.

[Salt Lake City SLC1](https://cloudsat.io/locations/utah) [Las Vegas LAS1](https://cloudsat.io/locations/las-vegas) [Los Angeles LAX1](https://cloudsat.io/locations/los-angeles) [Dallas DFW1](https://cloudsat.io/locations/dallas) [New York NYC1](https://cloudsat.io/locations/new-york) [Miami MIA1](https://cloudsat.io/locations/miami) [London LON1](https://cloudsat.io/locations/london) [Amsterdam AMS1](https://cloudsat.io/locations/amsterdam) [Frankfurt FRA1](https://cloudsat.io/locations/frankfurt) [Bern BRN1](https://cloudsat.io/locations/switzerland) [Dubai DXB1](https://cloudsat.io/locations/dubai) [Singapore SIN1](https://cloudsat.io/locations/singapore) [Sydney SYD1](https://cloudsat.io/locations/sydney) [Tokyo TYO1 soon](https://cloudsat.io/locations/japan)

## OpenCode hosting plans and pricing. Pay only for what you use.

Hourly or monthly, or pay 3, 6 or 12 months up front and save up to 15%. Hourly servers never cost more than the monthly price.

[See all 10 plans](https://cloudsat.io/plans)

| Plan | Best for | Price | Included | Order |
| --- | --- | --- | --- | --- |
| Launch · 512 MB | Sandboxes and side projects | $1.98/mo | 1 vCPU @ EPYC, 20 GB NVMe, 1 TB · 40 Gbps, Dedicated IPv4 + IPv6, Root SSH · KVM | [Deploy](https://dash.cloudsat.io/console/deploy?plan=cloud-512m) |
| Orbit · 1 GB | Small sites and bots | $2.78/mo | 1 vCPU @ EPYC, 25 GB NVMe, 1 TB · 40 Gbps, Dedicated IPv4 + IPv6, Root SSH · KVM | [Deploy](https://dash.cloudsat.io/console/deploy?plan=cloud-1g) |
| Apogee · 2 GB | WordPress and APIs | $5.98/mo | 1 vCPU @ EPYC, 60 GB NVMe, 3 TB · 40 Gbps, Dedicated IPv4 + IPv6, Root SSH · KVM | [Deploy](https://dash.cloudsat.io/console/deploy?plan=cloud-2g) |
| Zenith · 4 GB (most popular) | Production apps | $11.58/mo | 2 vCPU @ EPYC, 120 GB NVMe, 5 TB · 40 Gbps, Dedicated IPv4 + IPv6, Root SSH · KVM | [Deploy](https://dash.cloudsat.io/console/deploy?plan=cloud-4g) |

## OpenCode hosting questions, answered.

**What is OpenCode?**

OpenCode is an MIT-licensed AI agent for programming, and its development happens publicly on GitHub. It reads and edits code, runs shell commands and tests, and works from a terminal interface, a desktop app or a web UI served by its background service.

**How do I install OpenCode?**

Use the official script, `curl -fsSL https://opencode.ai/v2/install | bash`, or `npm install -g @opencode/cli`. On CloudSat you can also pick the OpenCode one-click app at deploy and skip the installation entirely.

**Which LLM providers does OpenCode support?**

Anthropic, OpenAI with ChatGPT sign-in, Google Gemini and Vertex, Azure, Amazon Bedrock, OpenRouter, GitHub Copilot and xAI, among others. Local runtimes such as Ollama, LM Studio and vLLM are discovered on their default ports.

**How much RAM does OpenCode need?**

The agent is light; your project may not be. 2 GB suffices for small repositories, while TypeScript monorepos with language servers, Docker builds and test databases are happier with 8 GB. Resize when builds start swapping.

**Is OpenCode free?**

The software is free. You pay your chosen provider for model usage, or nothing extra when local models run on your own hardware. On CloudSat the one fixed cost is the server, billed hourly or monthly from your balance.

**Can I use OpenCode with private repos?**

Yes. Add a deploy key or a fine-grained access token on the server and clone as usual. The code stays on your server; only the context the agent sends to a model provider leaves it, unless the model is local.

**How do I reach the web UI safely?**

The service listens on localhost, port 49374 on Linux, behind a generated password. Open it through `ssh -L 49374:127.0.0.1:49374` from your laptop. Binding to all interfaces is possible, but add TLS and a firewall rule first.

**How is this different from GitHub Copilot?**

Copilot is a subscription assistant built into editors. OpenCode is an open-source agent you host yourself with your choice of model, and it can even use a Copilot subscription as one of its providers. Many developers use both.

## Related to OpenCode hosting

- [code-server](https://cloudsat.io/vscode-server-hosting): VS Code server hosting with code-server: your editor in any browser, while builds and language servers run on AMD EPYC and NVMe. Billed hourly or monthly.
- [Coder](https://cloudsat.io/coder-server-hosting): Coder hosting on your own server: Terraform-defined dev workspaces for your team, opened in VS Code, JetBrains or a browser, on NVMe, paid in crypto.
- [Ollama hosting](https://cloudsat.io/ollama-server-hosting): Host Ollama on a CloudSat GPU server with an RTX 5090, A100 or RTX PRO 6000, or on a CPU VPS for small models. OpenAI-compatible API, root, crypto billing.
- [Dev and test servers](https://cloudsat.io/dev-test-servers): Hourly VPS for development and testing: deploy in under 5 minutes, pay by the hour, rebuild to a clean OS, snapshot before risky steps and script it via API.
- [GitLab](https://cloudsat.io/gitlab-server-hosting): Self-hosted GitLab on a CloudSat server: the Linux package with CI runners, container registry and Let's Encrypt on NVMe, sized honestly from 4 GB of RAM.
- [OpenClaw hosting](https://cloudsat.io/openclaw-server-hosting): OpenClaw hosting on a CloudSat server: an always-on AI assistant you message from Telegram, WhatsApp, Slack or Discord, kept apart from your laptop.
