If you use AI, you probably have a few key questions: What happens to my data? Is the pricing transparent and fair? How easy is it to integrate the API into my applications? And what about the quality of the output? That emerged from your feedback.
With these questions in mind, we launched an AI inference experiment in August. Participants could use our inference API free of charge and test the open-weight AI models. In return, we gained valuable operational experience. You can read more about how the experiment went and what we learned from it here. The project was so well received that we decided to turn it into a product: the Hetzner Inference API.
With our API, which is compatible with OpenAI and Anthropic, you can integrate the open-weight AI models directly into your workflows and applications. We take care of the hardware, while you decide how much you spend and what happens to your data.

Open-Weight AI Models
Hosted in Europe, with transparent pricing and zero data retention.
Zero Data Retention
We follow a zero data retention policy: We neither store your inputs nor the models’ outputs, use them for training purposes, or share them with third parties. The only exception is prompt caching: To avoid recalculating recurring prompt prefixes each time, we temporarily keep intermediate model computation results in GPU memory. These are internal computational values of the model, not copies of your text. They automatically expire after a short period of time.
European data protection
We operate the Hetzner Inference API exclusively in our European data centers and process your data in compliance with the GDPR. Our information security management system is also certified according to ISO/IEC 27001:2022. This means we protect your data with audited, high-quality security measures.
You can learn more about data protection in our blog article and on Hetzner Docs.
Prompt caching
Prompt caching helps you save money when running your AI model. Many workflows include the same elements in every request, such as system instructions. The model processes these recurring prompts only once and then reuses the cached results for a certain period of time. You pay only a fraction of the regular price for cached tokens. This is particularly beneficial for automated workflows that repeatedly start with the same prompt.
Cost control
Each request to an AI model typically involves input and output tokens. Input tokens include everything you send to the model: your prompt, the previous chat history, or the content of attached documents. Some of these may be cached tokens. Output tokens represent the content the model generates in response. They are often more expensive than input tokens because generating them requires more computational resources. Pricing may vary depending on the model.
You only pay for what you actually use. There are no base fees or hidden costs. On Hetzner Console, you can monitor your usage at any time and set a usage limit – the maximum amount you want to spend in euros. So, if your AI agent works overtime at night, you won't have to worry about your bill the next morning.
How do I set up the Hetzner Inference API?
You can now find the new “Inference” tab on Hetzner Console. With just a few clicks, you can create your Inference Token. Then simply choose a model, and you're ready to go. In this tutorial, we show you how easy it is to get started.
The API is compatible with both OpenAI and Anthropic. If you already use either of these APIs, you can reuse your existing code without having to rewrite your integration. Find out exactly how this works on Hetzner Docs.
Parameters, reasoning, and context window
Simply put, parameters represent a model’s “knowledge”, capabilities, and size. The more parameters a model has, the more capable it generally is. The number of parameters typically appears in billions, abbreviated as “B”.
The LLMs we host (GLM 5.3 (Flash) and Kolibri 1) are Mixture-of-Experts (MoE) models. Instead of using all parameters during processing, they selectively activate individual subnetworks (experts) that use only a subset of the total parameters. These are known as “active parameters”. This approach reduces computational effort and enables faster, more cost-efficient inference.
The models have reasoning capabilities that vary from model to model. In short, you decide how intensively they “think” – complex tasks get more computing time, while simple questions remain quick and inexpensive to answer.
The context window defines how much information a model can take into account in a single request. To put this into perspective, 128,000 tokens roughly correspond to a novel of several hundred pages or around 8,000 lines of code. With one million tokens, a model can process tens of thousands of lines of code. This is particularly useful for complex tasks where a coding agent needs to consider larger sections of a codebase and understand how they relate to each other.
Our open-weight AI models
We offer carefully selected open-weight models—ranging from all-rounders to a specialized embedding model. “Open weight” means that the model weights are freely available. For you, this means no vendor lock-in due to dependence on a single provider.
When selecting our models, we placed particular emphasis on efficiency. They require less computing time per request, allowing us to process more requests per hour. This reduces our operating costs per token, and we can pass these savings directly on to you.
GLM 5.3 and GLM 5.3 Flash
GLM 5.3 and GLM 5.3 Flash belong to the same model family and share the same key strengths. You can use both for agentic coding and integrate them into coding tools such as OpenCode. You can also use them as AI agents to independently manage longer sequences of tasks – in a n8n workflow, for example. Both support a context window of one million tokens.
GLM 5.3 is the flagship model with 744B parameters, 40B of which are active. It reasons thoroughly with every request and excels at handling large codebases and complex tasks.
GLM 5.3 Flash is the more compact version with 320B parameters, 18B of which are active. It costs significantly less, responds faster, and is the only one of our models that can also understand images. For example, Flash can extract invoice data from scanned documents or analyze and categorize support requests, including attached screenshots. It can also handle large volumes of smaller tasks at a low cost, from sorting incoming emails to detecting spam.
Our recommendation: Start with Flash. If a task becomes too complex, switch to GLM 5.3.
Kolibri 1
Your AI workflow “made in Germany”: Kolibri 1 is a language model from the German AI provider Aleph Alpha and supports both German and English. With 78B parameters, 3.5B of which are active, Kolibri 1 is the lightweight among our language models. It requires significantly less computing power per token than the GLM models, making it particularly cost-efficient.
Kolibri 1 focuses on well-defined text-based tasks in German and English that do not require a larger model. It analyzes extensive documents; summarizes contracts, sensitive documents, or case files spanning hundreds of pages; compares different versions, and finds the specific clause you are looking for. Public departments and law firms in particular can benefit from these capabilities.
BGE M3
BGE M3 belongs to a completely different category: It is an embedding model that powers intelligent search functions in online stores, company wikis, or help centers. Rather than generating answers, it converts text into numerical vectors that represent its meaning. This allows the search function to find not only exact word matches but also semantically relevant results.
BGE M3 really comes into its own in a RAG system. RAG stands for Retrieval-Augmented Generation, which means that a language model receives relevant passages from a knowledge source for each question and bases its answer on that information. BGE M3 can identify the relevant text passages, while a language model such as Kolibri 1 or GLM can use them to generate an answer. This allows you, for example, to automatically answer support requests based on your product documentation or develop an internal AI assistant that draws on your company's knowledge.
Conclusion
With the Hetzner Inference API, you're in control. You decide which AI models to use, how much you want to spend, and what happens to your data.
Create your Inference Token for free and start your first project today.




