Cloud Providers

Run coding agents on affordable Hetzner Cloud VMs

Hetzner Cloud offers high-performance, affordable VMs across Europe and the US. As SAM's original and most battle-tested cloud provider, Hetzner gives you excellent compute value for running AI coding agents at scale.

Why use Hetzner with SAM

Unbeatable Pricing

Hetzner offers some of the most affordable cloud VMs available — run more agents for less.

European & US Regions

Nuremberg, Falkenstein, Helsinki, Ashburn, and Hillsboro — choose the region closest to your team.

Battle-Tested Integration

Hetzner is SAM's original cloud provider — the most mature and thoroughly tested integration.

Simple API Key Auth

Generate an API token in the Hetzner Cloud Console and add it to SAM. No IAM complexity.


Get started in four steps

Step 1

Get a Hetzner API Token

Create a project in Hetzner Cloud Console and generate an API token.

Step 2

Add Token to SAM

Paste your Hetzner API token in SAM settings. It's encrypted and stored per-user.

Step 3

Choose a Location

Select from European or US data centers for your VMs.

Step 4

Start Running Agents

Submit tasks and SAM provisions Hetzner VMs automatically. Pay only for compute time used.


What you can build

Cost-effective agent scaling

Hetzner's pricing lets you run 5-10 concurrent agents for the cost of one agent on major cloud providers.

EU data sovereignty

Hetzner's European data centers keep your code and agent operations within the EU.

Getting started quickly

The simplest cloud provider to set up with SAM — just an API token. No IAM roles, no service accounts, no billing APIs.


Frequently asked questions

How much does Hetzner cost?

Hetzner VMs start at a few cents per hour. SAM provisions VMs on demand and can clean them up automatically, so you only pay for actual compute time.

Do I need a Hetzner account?

Yes — SAM uses a BYOC (Bring Your Own Cloud) model. You create a Hetzner Cloud project, generate an API token, and add it to SAM.

Is my Hetzner token secure?

Your token is encrypted with AES-GCM and stored per-user in the database. SAM never stores cloud provider credentials as plain text or environment variables.


Start running Hetzner on your infrastructure

Self-host on Cloudflare's free tier. Bring your own cloud. Your agents, your code.