{"slug": "comparing-hetzner-inference-api-with-opencode", "title": "Comparing hetzner inference API with OpenCode", "summary": "A hands-on comparison of Hetzner's inference API and OpenCode Go Plus running GLM-5.3 found Hetzner generated 142 output tokens per second versus 75 for OpenCode, and answered a fresh 10,000-token repository prompt in 2.96 s at 0.850¢ versus OpenCode's 19.04 s at 0.628¢. Across four edits to a pottery studio website, Hetzner finished three of four faster (2m 08s, 12.86¢) but a stuck booking dialog blocked the page after the second edit, while OpenCode Go Plus (2m 51s, 6.41¢) produced a site that let the tester book, refresh and cancel. Hetzner charged $0.26 before VAT for the original tests, and the tester reported $0 in cash charges on an existing $40/month OpenCode Go Plus subscription, concluding there was little reason to suspect either provider misconfigured GLM-5.3.", "body_md": "[← All posts](https://tornikeo.com/blog/)\n\n# Comparing hetzner inference API with OpenCode\n\nHetzner 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.\n\n| Task | Hetzner | OpenCode Go Plus | \n|---|---|---|\n| One fresh repository prompt | 2.96 s · 0.850¢ | 19.04 s · 0.628¢ | \n| Four website edits combined | 2m 08s · 12.86¢ | 2m 51s · 6.41¢ | \n\nThe 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.\n\n**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.\n\n| Task | Hetzner | OpenCode | \n|---|---|---|\n| Short JS | 2.81 s · 0.125¢ | 11.57 s · 0.071¢ | \n| Fresh repo | 2.96 s · 0.850¢ | 19.04 s · 0.628¢ | \n| Repeated repo | 2.21 s · 0.283¢ | 16.42 s · 0.284¢ | \n\n**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.\n\n| Task | Hetzner | OpenCode | \n|---|---|---|\n| Build site | 32.99 s · 1.556¢ | 58.85 s · 1.079¢ | \n| Filters + booking | 39.32 s · 2.743¢ | 41.62 s · 1.228¢ | \n| Mobile booking | 34.69 s · 3.461¢ | 34.47 s · 1.493¢ | \n| Save + cancel | 20.80 s · 5.099¢ | 35.60 s · 2.610¢ | \n\n| Browser check after each edit | Hetzner | OpenCode Go Plus | \n|---|---|---|\n| Initial site and booking | Booking worked at 390 px | Booking worked, page overflowed at 390 px | \n| Workshop filters | Stuck dialog blocked clicks | Filter and booking passed | \n| Mobile booking | Dialog still blocked the page | Fit at 320 and 390 px, rejected invalid email, confirmed booking | \n| Save and cancel | Dialog blocked the flow | Booking survived refresh and could be cancelled | \n\nBoth 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**.\n\nHetzner 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.\n\n| Pay-as-you-go, USD per 1M tokens | Fresh input | Cache read | Output | \n|---|---|---|---|\n| Hetzner | $0.74 | $0.186 | $2.97 | \n| OpenCode Console, promotional rate | $0.56 | $0.104 | $1.76 | \n| Z.ai direct | $1.40 | $0.26 | $4.40 | \n\nPrices on December 1, 2026. Speed measurements used OpenCode Go Plus. [Hetzner](https://www.hetzner.com/ai/inference-api/) · [OpenCode](https://opencode.ai/docs/console/models/) · [Z.ai](https://docs.z.ai/guides/overview/pricing)\n\n**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.", "url": "https://wpnews.pro/news/comparing-hetzner-inference-api-with-opencode", "canonical_source": "https://tornikeo.com/comparing-hetzner-inference-api-with-opencode/", "published_at": "2026-12-01 12:35:00+00:00", "updated_at": "2026-12-04 07:14:11.512589+00:00", "lang": "en", "topics": ["ai-infrastructure", "large-language-models", "ai-tools"], "entities": ["Hetzner", "OpenCode", "GLM-5.3", "Z.ai"], "also_reported_by": [], "takeaway": "Hetzner's GLM-5.3 endpoint ran at 142 output tokens/s versus 75 for OpenCode Go Plus and answered a fresh repo prompt in 2.96 s versus 19.04 s, but cost more per request (0.850¢ vs 0.628¢) and its generated site failed browser checks after the second edit.", "recommendation": {"advice": "Benchmark candidate inference providers on your own multi-edit agent tasks with browser checks, not just single-prompt latency, since Hetzner was 6x faster on a fresh prompt yet its site failed after the second edit.", "playbook": "inference-serving", "playbook_url": "https://wpnews.pro/playbooks/inference-serving"}, "alternates": {"html": "https://wpnews.pro/news/comparing-hetzner-inference-api-with-opencode", "markdown": "https://wpnews.pro/news/comparing-hetzner-inference-api-with-opencode.md", "text": "https://wpnews.pro/news/comparing-hetzner-inference-api-with-opencode.txt", "jsonld": "https://wpnews.pro/news/comparing-hetzner-inference-api-with-opencode.jsonld"}}