Hetzner Inference API: Comments news update
Hetzner offers the Inference API in the EU from €0.0100 per million input tokens, with OpenAI-compatible routes, zero data retention, and no subscription fee.
In short
Developers using OpenAI or Anthropic clients · From €0.0100 per million input tokens · EU data centers, zero retention, no trial · Create a token, set the base URL, pick a model
By Dillip Chowdary • Dec 01, 2026 • Source: hetzner.com

At a glance
- Who it is for
- Developers using OpenAI or Anthropic clients
- The number
- From €0.0100 per million input tokens
- Available
- EU data centers, zero retention, no trial
- What to do
- Create a token, set the base URL, pick a model
- Rate limit
- 100 per minute per model per token
- Spending cap
- €10 default excl. VAT, or €1 for tests
In this post
Hetzner offers the Hetzner Inference API, an OpenAI-compatible service for open-weight models with input listed from €0.0100 per million tokens excluding VAT, according to hetzner.com's report.
Developers running chat, code, vision, or embedding work can point an existing OpenAI or Anthropic client at this EU service. Create an API token in the Hetzner Console, choose a model, and pay only for tokens used, with no subscription fee.
01EU hosting and token billing
Customers choose a plan and pay only for what they use, with no subscription fees and no hidden costs. Prompts, attachments, and chat history count as input tokens billed per million tokens, and responses count as output tokens at their own per-million rate. The cost is visible at any time, and usage limits let a customer set an upper limit.
Data stays in the EU and is neither stored nor shared. Hetzner does not store chat histories or generated output and does not use them for training. The models run, without exception, in Hetzner's own data centers, described as GDPR-compliant and ISO 27001-certified, with 100% renewable grid electricity and waterless cooling.
Prompt caching applies a much lower input rate to recurring prompts than the standard input price. Cached prompt parts sit briefly in RAM, customers cannot retrieve them, and servers discard them automatically. The zero data retention policy still covers prompts and responses for every customer, with nothing to configure, and Hetzner does not use them to train or improve models.
02Open-weight model token prices
Four open-weight models are listed, each marked as of 11-2026, with prices in euros excluding VAT per million tokens. GLM 5.3 Flash handles chat, code, and vision at €0.1000 input, €0.0250 cached input, and €0.4000 output. GLM 5.3 handles chat and code at €0.6300 input, €0.1580 cached input, and €2.5200 output.
Kolibri 1 handles chat and code at €0.0700 input, €0.0180 cached input, and €0.2800 output. BGE M3 handles embeddings at €0.0100 per million input tokens, with output free and no cached-input price shown. Hetzner highlights efficient models, open weight, and fair prices, calls the models openly available with no lock-in, and places a Create API-token action and a Details link on every row.
| Model | Task | Input | Cached input | Output |
|---|---|---|---|---|
| GLM 5.3 Flash | Chat, code, vision | €0.1000 | €0.0250 | €0.4000 |
| GLM 5.3 | Chat, code | €0.6300 | €0.1580 | €2.5200 |
| Kolibri 1 | Chat, code | €0.0700 | €0.0180 | €0.2800 |
| BGE M3 | Embedding | €0.0100 | — | free |
03Parameter counts and context windows
Advertisement
Tech Pulse Daily
Get tomorrow's pulse first
Join engineers who read Tech Pulse before stand-up. Free, weekday mornings.
GLM 5.3 Flash, as of 11-2026, is a 320B model from developer zai-org for chat, code, and vision. It takes text and image input, returns text, and has a context window of 1,048,576 tokens. Hetzner says Flash is the only model that processes images, and the card lists OpenAI and Anthropic compatibility.
GLM 5.3, as of 11-2026, is a 753B model from developer zai-org for chat and code. Input and output are text, and the context window is 1,048,576 tokens, matching Flash. The card does not list image input, and it repeats OpenAI and Anthropic compatibility.
Kolibri 1, as of 11-2026, is a 78B model from developer Aleph-Alpha for chat and code, with text input, text output, and a context window of 262,144 tokens. BGE M3, as of 11-2026, is a 0.57B embedding model from developer BAAI, with text input, embeddings as output, and a context window of 8,192 tokens. Both cards list OpenAI and Anthropic compatibility on the same terms.
04Base URL and API token
An existing app can move in three steps because the interface matches the OpenAI API and the Anthropic API. The OpenAI SDK, OpenCode, Open WebUI, and other OpenAI-compatible tools keep working after the base URL and the token change. Offered routes are /v1/chat/completions, /v1/responses, /v1/embeddings, and Anthropic /v1/messages, while /v1/completions and /v1/batches are not available.
- Set base URL Replace the current base URL with Hetzner's API endpoint, https://inference.hetzner.com/v1.
- Add API Key Create an API token in the Hetzner Console and store it as the API key in the application.
- Run your app Select an available model and start calling the Hetzner Inference API.
The Python sample imports OpenAI, sets base_url to https://inference.hetzner.com/v1, and sets api_key to the inference token. It calls chat.completions.create with model zai-org/GLM-5.3-Flash and a user message of Hello!, then prints r.choices[0].message.content. The curl sample posts that model and message to https://inference.hetzner.com/v1/chat/completions with an Authorization Bearer header and Content-Type application/json.
05Tutorials, feedback, and limits
The API integrates into many applications and workflows. A first tutorial shows setup in a few steps, and later tutorials cover OpenCode for AI-powered programming, n8n for workflow automation, and Open WebUI as a chat interface. Getting started means creating an API token in the Hetzner Console, selecting a model, and beginning right away.
The Inference API started as an experiment in which Hetzner gave customers a free prototype so both sides could gain and share experiences, with the lessons in a blog post, and Hetzner says feedback from personal projects and from business showed demand for an inference API. Jens Grünwald, AI Engineer at ChurchTools Innovations GmbH, wrote: "This is what we were looking for a long time. Processing our sensitive data in Europe, without influence of American or Chinese companies."
Hetzner recommends GLM 5.3 for complex coding and agent tasks and GLM 5.3 Flash for quick answers. Kolibri 1 handles German and English and works well for chat and RAG, while BGE M3 creates embeddings. Customers should test their own use case, and Hetzner says usage billing means a comparison costs very little.
Note: There is no free trial, tests usually cost a few cents, and each token has its own spending cap, default €10 excluding VAT, with a €1 cap available for tests. Past the cap, the API returns HTTP 429. Each token may send 100 requests per minute per model, concurrent requests count, the Console can raise that rate, and an account limit also applies, with full continuous automated use allowed inside those limits.
Frequently asked questions
How much does the Hetzner Inference API cost?
Prices exclude VAT and there is no subscription fee. Per million tokens, GLM 5.3 Flash is €0.1000 input, €0.0250 cached, and €0.4000 output, and GLM 5.3 is €0.6300 input, €0.1580 cached, and €2.5200 output. Kolibri 1 is €0.0700 input, €0.0180 cached, and €0.2800 output, while BGE M3 is €0.0100 input with free output.
Is the Hetzner Inference API compatible with OpenAI and Anthropic?
Yes. The base URL is https://inference.hetzner.com/v1, with routes /v1/chat/completions, /v1/responses, /v1/embeddings, and Anthropic /v1/messages, so the OpenAI SDK, OpenCode, and Open WebUI keep working after the base URL and token change. /v1/completions and /v1/batches are not available.
Does Hetzner store prompts or train on them?
No, Hetzner does not store prompts or responses and does not use them to train or improve models, for every customer, with nothing to configure. The models run in Hetzner's own EU data centers, described as GDPR-compliant and ISO 27001-certified. Prompt caching briefly holds prompt parts in RAM, those parts cannot be retrieved, and the servers discard them.
Is there a free trial for the Hetzner Inference API?
No. Tests usually cost a few cents, and each token can be capped at €1 against a default of €10 excluding VAT. A token that reaches its cap is rejected with HTTP 429.
Which Hetzner Inference API model fits code, images, or embeddings?
Hetzner assigns GLM 5.3, a 753B zai-org model, to complex coding and agent tasks. GLM 5.3 Flash, a 320B zai-org model with a 1,048,576-token window, is for quick answers and is the only model that processes images. Kolibri 1, a 78B Aleph-Alpha model, handles German and English for chat and RAG, and BGE M3, a 0.57B model from BAAI, creates embeddings.
Sources
Author
Dillip Chowdary
Writes Tech Bytes coverage of AI, engineering, and the tools that actually ship. Editor of Tech Pulse Daily.
Related on Tech Bytes
Advertisement