Skip to content
← All posts

Comparing hetzner inference API with OpenCode

Hetzner was faster on a fresh 10,000-token prompt and across four edits to a pottery studio website. OpenCode Go Plus produced the site that let me book, refresh, and cancel. On Hetzner’s site, a stuck booking dialog blocked the page after the second edit.

Task Hetzner OpenCode Go Plus
One fresh repository prompt 2.96 s · 0.850¢ 19.04 s · 0.628¢
Four website edits combined 2m 08s · 12.86¢ 2m 51s · 6.41¢

The table compares estimated pay-as-you-go prices. I paid $0 extra on my $40/month Go Plus subscription. I applied OpenCode Console’s promotional rates to the fresh input, cached input, and output tokens measured on Go Plus. All prices are US cents before tax.

Hetzner generated 142 output tokens/s. OpenCode generated 75. Medians across 12 requests per provider, including reasoning tokens. Each prompt type ran four times. The chart shows median time to the complete answer and average price per request.

Task Hetzner OpenCode
Short JS 2.81 s · 0.125¢ 11.57 s · 0.071¢
Fresh repo 2.96 s · 0.850¢ 19.04 s · 0.628¢
Repeated repo 2.21 s · 0.283¢ 16.42 s · 0.284¢

Hetzner finished three of the four website edits faster. OpenCode was slightly faster on mobile booking. Each provider ran one continuous Pi session. Times and costs include every model request and tool call, including edits that failed browser checks.

Task Hetzner OpenCode
Build site 32.99 s · 1.556¢ 58.85 s · 1.079¢
Filters + booking 39.32 s · 2.743¢ 41.62 s · 1.228¢
Mobile booking 34.69 s · 3.461¢ 34.47 s · 1.493¢
Save + cancel 20.80 s · 5.099¢ 35.60 s · 2.610¢
Browser check after each edit Hetzner OpenCode Go Plus
Initial site and booking Booking worked at 390 px Booking worked, page overflowed at 390 px
Workshop filters Stuck dialog blocked clicks Filter and booking passed
Mobile booking Dialog still blocked the page Fit at 320 and 390 px, rejected invalid email, confirmed booking
Save and cancel Dialog blocked the flow Booking survived refresh and could be cancelled
Hetzner’s Soft Clay website with the booking dialog covering the mobile landing page
Hetzner
The booking dialog on initial load.
OpenCode Go Plus’s Soft Clay mobile landing page with studio information and workshop navigation
OpenCode Go Plus
The mobile landing page on initial load.

Both providers started with the same site and received one new prompt to add opening hours and a contact link. Both made the edit. Hetzner took 8.64 s and OpenCode Go Plus took 29.47 s.

Real-time replay of the recorded Pi events from this separate run. The video has no audio. Open video

Hetzner charged $0.26 before VAT for the original tests, including setup. The demo added about $0.01 at list rates. I used an existing OpenCode Go Plus subscription. Its API reported $0 in cash charges for the website run and the demo.

Pay-as-you-go, USD per 1M tokens Fresh input Cache read Output
Hetzner $0.74 $0.186 $2.97
OpenCode Console, promotional rate $0.56 $0.104 $1.76
Z.ai direct $1.40 $0.26 $4.40

Prices on December 1, 2026. Speed measurements used OpenCode Go Plus. Hetzner · OpenCode · Z.ai

The results give me little reason to suspect either provider misconfigured GLM-5.3. Hetzner’s booking failure came from a CSS rule that kept the dialog visible. Both endpoints reported GLM-5.3. Their checkpoint revisions, precision, and chat templates remain unknown. Comparing perplexity would require token probabilities for the same held-out text.