AI EngineerGuide

Free AI Inference for Hetzner

by Ashik Nesin Ashik Nesin

Hetzner is experimenting with AI inference service.

Right now, you can go ahead and use their AI inference for free.

Screenshot-2026-08-12-at-07-25-35.png

How to get started?

They’re providing this OpenAI chat completion format.

Base URL: https://inference.hetzner.com/api/v1

Since it’s an OpenAI API format, you can just replace the base url and start using this instantly.

from openai import OpenAI

client = OpenAI(
    base_url="https://inference.hetzner.com/api/v1",
    api_key="<YOUR_TOKEN>",
)

And you can start working like this

response = client.chat.completions.create(
    model="DeepSeek-V4-Flash-0731",
    messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user", "content": "Why sky is blue?"},
    ]
)

print(response.choices[0].message.content)

And the following models are available

ModelTypeContext LengthModalities
DeepSeek-V4-Flash-0731MoE, 304B total / 13B active512,000 tokensText
GLM-5.2-NVFP4MoE, 744B total / 40B active512,000 tokensText
Kimi-K2.7-CodeMoE, 1T total / 32B active262,144 tokensText, Image
Qwen/Qwen3.6-35B-A3B-FP8MoE, 35B total / 3B active262,144 tokensText, Image

Notes

Reference

Stay Updated

Get the latest AI engineering insights delivered to your inbox.

No spam. Unsubscribe at any time.