AI inference on your terms
We do not store chat histories or generated output. None of this is used for training purposes.
Without exception, the models run in our own data centers: GDPR-compliant and ISO 27001-certified.
You can see how much your usage costs at any time, and you can set your own upper limit using usage limits.
Here's where you can save money: For recurring prompts, we charge a much lower rate for your input tokens.
Whether you're looking for an all-rounder or a specialized model, you'll find the right fit here. Openly available, no lock-in.
Create an API token in the Hetzner Console, select a model, and get started right away.
We count everything you send to the model (prompts, attachments, chat history) as input tokens and bill you per million tokens.
The model’s responses are calculated as output tokens. The price is calculated per million output tokens.
GLM 5.3 Flash
As of 11-2026Tasks
Chat, code, vision
Developer: zai-org
Parameters
320B
Context window
1,048,576 tokens
Input
Text, Image
Output
Text
API compatible
-
OpenAI
Our interface is compatible with the OpenAI API. That way, you can easily move projects that use the OpenAI format without rewriting your code from scratch.
-
Anthropic
Our interface is compatible with the Anthropic API. That way, you can easily move projects that use the Anthropic format without rewriting your code from scratch.
Price optimization
-
Cached input€ 0.0250, excl. VAT /mio. tokens
Price
GLM 5.3
As of 11-2026Tasks
Chat, code
Developer: zai-org
Parameters
753B
Context window
1,048,576 tokens
Input
Text
Output
Text
API compatible
-
OpenAI
Our interface is compatible with the OpenAI API. That way, you can easily move projects that use the OpenAI format without rewriting your code from scratch.
-
Anthropic
Our interface is compatible with the Anthropic API. That way, you can easily move projects that use the Anthropic format without rewriting your code from scratch.
Price optimization
-
Cached input€ 0.1580, excl. VAT /mio. tokens
Price
Kolibri 1
As of 11-2026Tasks
Chat, code
Developer: Aleph-Alpha
Parameters
78B
Context window
262,144 tokens
Input
Text
Output
Text
API compatible
-
OpenAI
Our interface is compatible with the OpenAI API. That way, you can easily move projects that use the OpenAI format without rewriting your code from scratch.
-
Anthropic
Our interface is compatible with the Anthropic API. That way, you can easily move projects that use the Anthropic format without rewriting your code from scratch.
Price optimization
-
Cached input€ 0.0180, excl. VAT /mio. tokens
Price
BGE M3
As of 11-2026Tasks
Embedding
Developer: BAAI
Parameters
0.57B
Context window
8,192 tokens
Input
Text
Output
Embeddings
API compatible
-
OpenAI
Our interface is compatible with the OpenAI API. That way, you can easily move projects that use the OpenAI format without rewriting your code from scratch.
-
Anthropic
Our interface is compatible with the Anthropic API. That way, you can easily move projects that use the Anthropic format without rewriting your code from scratch.
Price
Easy to migrate thanks to
the OpenAI-compatible API
Set base URL
Add API Key
Run your app
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)
curl https://inference.hetzner.com/v1/chat/completions \
-H "Authorization: Bearer <YOUR_INFERENCE_TOKEN>" \
-H "Content-Type: application/json" \
-d '{"model": "zai-org/GLM-5.3-Flash", "messages": [{"role": "user", "content": "Hello!"}]}'
Getting started made easy
How an experiment turned into a finished product
Whether for personal projects or business: Many of you have been asking for an inference API. That’s what your feedback on our experiment showed us.
Frequently asked questions
-
For complex coding and agent tasks, use GLM 5.3. For quick answers, use GLM 5.3 Flash. It’s also the only model that processes images. Kolibri 1 handles German and English and works well for chat and RAG. Use BGE M3 to create embeddings. Test the models with your own use case. We bill based on usage, so a comparison costs very little.
-
Yes. The API offers /v1/chat/completions, /v1/responses, /v1/embeddings, and the Anthropic interface /v1/messages. The OpenAI SDK, OpenCode, Open WebUI, and other OpenAI-compatible tools continue to work. You only need to change the base URL and the token. Some endpoints are not available, such as /v1/completions and /v1/batches. You can find the complete list in our docs.
-
No. Initial tests usually cost only a few cents. Create your own inference token with a usage cap of 1 € for your tests. The spending cap keeps your testing costs low from the start. Each inference token has its own spending cap. The default is €10 (excluding VAT). If a token reaches its spending cap, the API rejects further requests with an HTTP 429 status code.
-
Each inference token can send 100 requests per minute per model. Concurrent requests count toward this limit. You can set a higher rate limit in the Console. In addition, the usage cap per token and an individual limit for your account apply. Within these limits, you may utilize the API to its full capacity, even on a continuous and automated basis.
-
No. Our zero-retention policy covers prompts and responses. We do not store them and do not use them to train or improve models. The policy applies to all customers; you do not need to set anything up. For prompt caching, we briefly store parts of prompts in RAM. You cannot retrieve these parts, and our servers automatically discard them. Log files and billing data do not contain any content from your requests.