The Hetzner Inference API is a pay-per-token LLM API from Hetzner, the German hosting company. It serves open-weight models from Hetzner's own data centres, speaks both the OpenAI and the Anthropic API formats, and stores nothing: no prompts, no outputs, no training. Docs went live on 10th November 2026.
Why it matters: an EU-hosted, GDPR-clean endpoint at Hetzner prices. Changing 1 base URL moves an existing OpenAI or Anthropic app onto it.


Models and prices
4 models, prices excluding VAT per million tokens, on 1st December 2026:
| Model | Maker | Size | Context | Tasks | Input | Cached input | Output |
|---|---|---|---|---|---|---|---|
| GLM 5.3 | Z.ai | 753B | 1M | Chat, code | 0.63 | 0.158 | 2.52 |
| GLM 5.3 Flash | Z.ai | 320B | 1M | Chat, code, vision | 0.10 | 0.025 | 0.40 |
| Kolibri 1 | Aleph Alpha | 78B | 262k | Chat, code | 0.07 | 0.018 | 0.28 |
| BGE M3 | BAAI | 0.57B | 8k | Embeddings | 0.01 | - | free |
All amounts in EUR. Hetzner's own advice:
- GLM 5.3 for complex coding and agent work.
- GLM 5.3 Flash for quick answers. The only model that reads images.
- Kolibri 1 for chat and RAG in German and English. It comes from Aleph Alpha in Heidelberg, so the whole chain stays German.
- BGE M3 for embeddings.
A rough cost check: 1 million tokens in and 200,000 out costs about 1.13 EUR on GLM 5.3, 0.18 EUR on GLM 5.3 Flash and 0.13 EUR on Kolibri 1.
For business people
What it solves. Sending company data to a US model provider raises GDPR and sovereignty questions. Here, the models run in Hetzner's own data centres in Europe (GDPR-compliant, ISO 27001), on 100% renewable grid power, with no US or Chinese company in the data path. The model weights come from China (GLM) and Germany (Kolibri), but the models run on Hetzner hardware.
Zero data retention by default. No chat history, no stored outputs, nothing used for training, for every customer, with no setting to switch on. Logs and billing data hold no request content. Prompt caching keeps prompt fragments in RAM briefly; nobody can read them back.
Cost shape:
- Pay per token, no subscription, no minimum.
- No free trial. A first test costs cents.
- Every API token has its own spending cap: 10 EUR by default, adjustable. At the cap, the API refuses further requests. Set 1 EUR for a test token and nothing can run away.
- Usage is visible per token and per model in the Hetzner Console.
The trade-off. These are good open-weight models, not the frontier. For hard reasoning, GLM 5.3 is the best on offer, and it doesn't match Claude or GPT at the top end. The choice is 4 models, against dozens on aggregators.
Where it fits: internal assistants, document Q&A over company files, classification and extraction pipelines, coding agents for teams that can't send code to the US, and n8n or Open WebUI setups. Hetzner publishes tutorials for OpenCode, n8n and Open WebUI.
For technical people
Endpoints. Base URL https://inference.hetzner.com/v1:
| Endpoint | Format |
|---|---|
/v1/chat/completions |
OpenAI |
/v1/responses |
OpenAI Responses |
/v1/embeddings |
OpenAI |
/v1/messages |
Anthropic |
Not available: /v1/completions and /v1/batches. Because of zero retention, the Responses API can't reference a previous response: send the full history every time.
Python, with the OpenAI SDK:
from openai import OpenAI
client = OpenAI(
base_url="https://inference.hetzner.com/v1",
api_key="<YOUR_INFERENCE_TOKEN>",
)
r = client.chat.completions.create(
model="zai-org/GLM-5.3-Flash",
messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)
Prompt caching is always on and can't be switched off. It works on prefixes, in fixed token blocks:
- Only full blocks are cached. A prompt shorter than 1 block never hits the cache.
- The prompt must match the cached one token by token from the start. Put the system prompt, tool definitions and long documents first, and the new message last.
- Tool definitions are tokenised at the start of the prompt. If your code changes the order of the JSON fields, the cache misses even though the text looks the same.
- Cached prefixes expire quickly, sooner under load. Hits aren't guaranteed.
- The cache hits show in
usage.prompt_tokens_details.cached_tokens(chat),usage.input_tokens_details.cached_tokens(responses) orusage.cache_read_input_tokens(messages).
Limits:
- Up to 20 inference tokens per account.
- 100 requests per minute per model and per token, concurrent requests included. You can raise it in the Console.
- Over the spending cap: HTTP 429.
- Continuous, automated use is allowed within the limits.
The hardware. Hetzner's August 2026 blog post on the free Inference Experiment that came first explains the stack: custom servers with 8 NVIDIA RTX PRO 6000 Blackwell GPUs for the large models, GEX131 single-GPU servers for small ones, vLLM, and llm-d for routing. Demand exceeded capacity within hours of launch. The paid API is the result.
Alternatives in Europe
| Service | Base | Angle |
|---|---|---|
| Mistral | France | Mistral's own models, stronger top end |
| IONOS AI Model Hub | Germany | Open-weight models in IONOS data centres |
| OVHcloud AI Endpoints | France | Open-weight models on OVHcloud |
| Scaleway Generative APIs | France | Open-weight models, Paris data centres |
| SovInfra | France | EU GPUs, 1 billion free tokens: see SovInfra |
| OpenRouter | US | 100s of models behind 1 API, no EU guarantee |
Verdict
The pitch is simple and credible: German hosting, no data kept, OpenAI and Anthropic formats, spending caps per token, and prices well below the frontier labs. The 4-model menu is the limit.
For me it's a candidate for any NicAI job that handles personal or client data and doesn't need a frontier model: summaries, extraction, embeddings for search. My local model on Ollama covers the private small jobs today. This covers the bigger ones without the data leaving Germany.
Further reading

