AI & ML
Hetzner Free AI Inference API: How to Use Europe's Newest Zero-Cost LLM Endpoint in 2026
Shaam Dev.to (EN Zone)
3 views
Hetzner — the German hosting company known for aggressively priced dedicated servers — launched an experimental, free Inference API in July 2026 that lets anyone run an open-source large language model through an OpenAI-compatible endpoint at zero cost during the experiment. The current model is Qwen/Qwen3.6-35B-A3B-FP8, a Mixture-of-Experts model from Alibaba's Qwen team with 35 billion total parameters (3 billion active per token), a 262,144-token context window, and multimodal vision support. You need nothing but a Hetzner account and a generated API token to start calling it from any OpenAI-compatible SDK.
Last verified: 2026-08-12 · Free while experimental · No SLA · EU data centers · OpenAI-compatible · Rate limits: 3M input / 60K output tokens per 60 seconds
Volatile facts: Pricing, models, and limits may change once the experiment ends. Hetzner has not published future token prices. Always re-check the official docs before production use.
What is Hetzner's Free Inference API?
Hetzner's Inference API is an experimental, OpenAI-compatible REST endpoint that serves open-source large language models on Hetzner's own infrastructure in Germany and Finland. It was announced on July 24, 2026, as part of Hetzner's new "experiments" platform — a forward-looking space for testing products the company may eventually offer commercially.
The API is simple: you create a token at experiments.hetzner.com/inference, point any OpenAI-compatible SDK at the base URL https://inference.hetzner.com/api/v1, and send standard chat completion requests. No GPU to rent, no model to download, no inference server to configure. Hetzner handles serving, batching, and scaling behind the scenes.
The key fact: it is free of charge while it remains in experimental status. Hetzner explicitly states that if the status changes, they will notify users in advance via email with detailed information about any billing changes (Hetzner Docs, Inference API).
Important caveat: Hetzner describes the service as "as is" with no guaranteed performance or availability, especially during high demand. No backups are created. The company explicitly says not to use the platform for production environments. This is a testing and prototyping tool, not a backend for a paying customer app.
Which model does the Hetzner Inference API offer?
As of August 2026, the Hetzner Inference API serves a single model: Qwen/Qwen3.6-35B-A3B-FP8.
Property
Value
Source
Model
Qwen3.6-35B-A3B-FP8
Hetzner Docs
Developer
Alibaba Cloud (Qwen Team)
Hugging Face
Architecture
Mixture-of-Experts (MoE)
Hetzner Docs
Total parameters
35 billion
Hetzner Docs
Active parameters per token
~3 billion
Hetzner Docs
Context window
262,144 tokens (256K)
Hetzner Docs
Modalities
Text + Image (vision)
Hetzner Docs
Quantization
FP8
Hetzner Docs
License
Apache 2.0
Hugging Face
This is a small-but-capable model. The MoE architecture means only 3 billion parameters fire for any given token, which makes inference fast and cheap — but the full 35B knowledge base is available when the routing network selects the right experts. FP8 quantization halves memory usage compared to FP16 without major quality loss, and the 256K context window is generous for a model this size, supporting long documents and extended conversations.
Hetzner says they chose a single model deliberately: "We are starting with a single high-quality model to validate the platform, gather feedback, and ensure reliability. Additional models will be added based on demand and operational experience" (Hetzner Docs).
Independent testing by Sliplane.io on July 23, 2026 reported a 153 ms median time-to-first-token across seven short requests and 224 output tokens per second across five longer generations capped at 512 tokens — though the tester cautioned this is a single-client snapshot, not an SLA (Sliplane.io, Hetzner Inference: First Look).
How to use the Hetzner Inference API in 5 minutes
Step 1: Create a Hetzner account and API token
Go to experiments.hetzner.com/inference and sign in with a Hetzner Cloud account (creating one is free). Click the red "Create API Token" button in the top-right corner. Copy the token immediately — you will not be able to see it again.
Step 2: Install the OpenAI Python SDK
pip install openai
Step 3: Configure the client
from openai import OpenAI
client = OpenAI(
base_url="https://inference.hetzner.com/api/v1",
api_key="YOUR_HETZNER_TOKEN",
)
That is the only configuration change from a standard OpenAI client. The base URL switches the endpoint; everything else works the same way.
Step 4: Send a chat completion
response = client.chat.completions.create(
model="Qwen/Qwen3.6-35B-A3B-FP8",
messages=[
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "What are the three laws of thermodynamics?"},
]
)
print(response.choices[0].message.content)
Step 5 (optional): Send an image for vision analysis
response = client.chat.completions.create(
model="Qwen/Qwen3.6-35B-A3B-FP8",
messages=[
{
"role": "user",
"content": [
{"type": "text", "text": "Describe this image in detail."},
{
"type": "image_url",
"image_url": {"url": "https://example.com/photo.jpg"},
},
],
}
]
)
print(response.choices[0].message.content)
The model supports multimodal input — you can send images alongside text in the same request. This makes it useful for tasks like describing photos, extracting text from screenshots, or analyzing diagrams.
What are the rate limits on the Hetzner Inference API?
Hetzner enforces per-key rate limits to ensure fair usage. Exceeding any limit returns HTTP 429.
Timeframe
Input tokens
Output tokens
Per 60 seconds
3,000,000
60,000
Per 24 hours
500,000,000
5,000,000
Source: Hetzner Docs, Inference API — FAQ
The 24-hour input limit of 500 million tokens is extremely generous for a free service. To put it in perspective, if your average request uses 2,000 input tokens (a typical chat with a system prompt and a few messages), that is 250,000 requests per day before hitting the cap. The output limit of 5 million tokens per day is more restrictive but still covers a substantial volume of generation work.
The per-minute output cap of 60,000 tokens is the more likely bottleneck for sustained use. At 224 tokens/second (the Sliplane.io measurement), you would exhaust the 60K output budget in about 4.5 seconds of continuous generation — but in practice, requests arrive in bursts with thinking time between them, and the limit resets every 60 seconds.
Can you use Hetzner's Inference API in production?
No — not as of August 2026. Hetzner explicitly states the API is not for production use:
No SLA. "Performance and availability are not guaranteed, especially during periods of high demand" (Hetzner Docs).
No backups. You are responsible for your own configuration data.
No stable pricing. The experiment is free now, but Hetzner has not published future token prices. They will notify users before introducing billing — but you have no contractually guaranteed timeline.
No production guarantees. The service can be changed or withdrawn at any time without notice.
No DPA. Hetzner has not publicly documented a Data Processing Agreement for the experimental endpoint. If you are handling personal data under GDPR, you need a signed DPA before sending regulated data to any third-party API.
What it is good for right now:
Prototyping AI applications without spending money on inference
Testing prompt engineering and agent workflows on a real model
Evaluating whether Qwen3.6-35B meets your quality bar before committing to a paid provider
Development and staging environments where downtime is acceptable
Learning the OpenAI-compatible API pattern (which transfers to any provider)
Running AI coding agents like OpenCode against a free endpoint for experimentation
If you want a production-grade path, read our guide on the cheapest AI API subscription deals for open-weight models in 2026 — several providers offer stable, SLA-backed endpoints for under $20/month.
How does Hetzner's free API compare to other free inference providers?
The free AI inference landscape in 2026 is surprisingly competitive. Here is how Hetzner stacks up against other notable free-tier providers:
Provider
Model(s)
Context
Free tier limits
EU hosting
OpenAI-compatible
Hetzner Inference
Qwen3.6-35B-A3B
262K
500M input / 5M output per day
Yes (DE/FI)
Yes
Google Gemini API
Gemini 3.6 Flash, 3.5 Flash-Lite
Varies
Free tier with rate limits
No (US)
Yes
Groq
Llama, Gemma, Qwen variants
Varies
30 RPM, 14,400 req/day (8B models)
No (US)
Yes
Cerebras
Llama 3.1, Qwen3
Varies
30 RPM, 60K TPM, 1M tokens/day
No (US)
Yes
OpenRouter (free models)
Various :free model variants
Varies
Varies by model
No (US)
Yes
HuggingFace Inference
Thousands of community models
Varies
Rate-limited, cold starts
Mixed
Yes
NVIDIA NIM
DeepSeek R1/V3, Llama, Kimi K2.5
Varies
1,000 credits on signup (request up to 5K)
No (US)
Yes
Sources: Hetzner Docs, Groq Console Docs, Cerebras Cloud, Google AI for Developers, OpenRouter Pricing, NVIDIA NIM, HuggingFace
Hetzner's unique advantages:
EU data residency by default — all processing happens in German or Finnish data centers, which matters for GDPR-sensitive workloads. Most US-based free providers cannot guarantee this.
Vision support — Qwen3.6-35B accepts images alongside text, which not all free providers offer.
No credit card required — just a Hetzner account, which is free to create.
Massive 24-hour input budget — 500 million input tokens per day is among the most generous sustained-use free limits available.
Where Hetzner falls short:
Single model only — competitors like OpenRouter and Groq offer dozens of models to choose from.
No SLA — the experimental status means you cannot depend on it for anything that matters.
Potential streaming quirks — early users have reported that streaming responses may not flush tokens as frequently as other providers, meaning text can arrive in large chunks rather than token-by-token.
No production track — if you outgrow the free tier, there is no documented paid upgrade path yet.
How to run AI agents safely against free inference endpoints
One of the most compelling uses of a free inference API is running AI coding agents — tools like OpenCode, Claude Code, or open-source agent frameworks that make many LLM calls in a single session. But agents that can write and execute code also pose a security risk: a buggy or hallucinated command could delete files, leak secrets, or escape into your host system.
This is where Docker Sandboxes come in. Docker launched a new product in early 2026 that runs AI coding agents inside isolated microVMs — each with its own kernel, Docker daemon, filesystem, and network. The sbx CLI is free to use, including for commercial work (Docker Docs, Sandboxes).
Why microVMs beat regular containers for agent isolation
Traditional Docker containers share a single kernel with the host operating system. That is fine for trusted code, but AI-generated code is fundamentally untrusted — an LLM can produce a rm -rf command, mount a sensitive path, or try to escape via a kernel vulnerability. A microVM provides hardware-level isolation: the agent gets its own kernel, so even a full container escape inside the VM cannot reach the host or other sandbox sessions.
Feature
Regular container
Docker Sandbox (microVM)
Kernel
Shared with host
Dedicated per sandbox
Isolation boundary
OS namespace + cgroups
Hardware (hypervisor)
Cold start
~1 second
Comparable to containers
Docker-in-Docker
Requires privileged mode
Private daemon, no host socket
Platform support
Linux native, Docker Desktop elsewhere
Native macOS, Windows, Linux
Source: Docker Blog, Why MicroVMs: The Architecture Behind Docker Sandboxes, Docker Docs, Sandboxes
Docker built a custom VMM from scratch rather than using AWS's Firecracker (the microVM engine behind Lambda) because Firecracker was designed for cloud Linux/KVM environments and has no native macOS or Windows support. Docker's custom VMM runs natively on all three platforms — Apple Hypervisor.framework on macOS, Windows Hypervisor Platform on Windows, and KVM on Linux — from a single codebase (Docker Blog).
Running an agent in a Docker Sandbox
# Install the sbx CLI
# macOS:
brew install docker/tap/sbx
# Linux (Ubuntu):
curl -fsSL https://get.docker.com | sudo REPO_ONLY=1 sh
sudo apt-get install docker-sbx
sudo usermod -aG kvm $USER
newgrp kvm
# Sign in and run an agent
sbx login
cd ~/my-project
sbx run claude
The agent runs inside an isolated microVM with its own Docker daemon, filesystem, and network. If it goes rogue, the blast radius is limited to the disposable VM — your host machine is untouched. For more on running agents securely, see our guide on how to make AI coding agents work for your whole engineering team.
How does Hetzner's GPU infrastructure support this experiment?
Hetzner is not primarily a GPU company. Their reputation comes from cheap dedicated CPU servers and managed cloud instances, not from running AI accelerator clusters. Their current GPU lineup consists of just two dedicated server models:
Server
GPU
VRAM
Price
Status
GEX131
NVIDIA RTX PRO 6000 Blackwell Max-Q
96 GB GDDR7 ECC
€889/month
Available
GEX44
NVIDIA RTX 4000 SFF Ada
20 GB GDDR6
Varies
Currently unavailable
Source: Hetzner GEX131 product page, gpuhosted.com Hetzner GPU Review
Hetzner has never offered A100, H100, or SXM datacenter-class GPUs. Their GPU servers use workstation cards in single-socket configurations, with one GPU per server and no InfiniBand or multi-node clustering. This makes them suitable for always-on inference and fine-tuning workloads but not for distributed training of frontier models.
The Inference API experiment does not necessarily run on these public GEX servers. Hetzner may use entirely different internal hardware for the managed endpoint — the public dedicated server catalog does not prove what powers the experiment. What the experiment does signal is Hetzner testing the waters: if they see demand and can maintain quality, they may invest in larger GPU clusters for a commercial inference product down the line.
What this means for you
For developers and builders: The Hetzner Inference API is the lowest-friction way to test an open-source MoE model with a real agent workflow at zero cost. Create an account, generate a token, point your existing OpenAI SDK at a new base URL, and you are running inference. Pair it with Docker Sandboxes for agent isolation, and you have a complete, free local development environment for AI agents.
For small businesses: Use the free endpoint to prototype AI features — chatbots, document analyzers, image description tools — without committing to a paid API. When the experiment ends or your traffic grows, the OpenAI-compatible interface means you switch providers by changing two config values (base URL and API key). Your application code does not change. For a deeper look at budget-friendly options, our guide to AI automation business lessons that actually worked covers real implementations and their costs.
For teams with EU data residency requirements: Hetzner's German and Finnish data centers give you a GDPR-friendly free inference path that US-based providers like Groq, Cerebras, and OpenRouter cannot match by default. But do not conflate "EU-hosted" with "GDPR-compliant" — you still need a signed DPA and clear data-retention terms before sending regulated personal data to any third-party API, experimental or not.
FAQ
Q: Is the Hetzner Inference API really free?
A: Yes. As long as the API remains in experimental status, it is free of charge. Hetzner states they will notify users in advance via email before introducing any billing. No credit card is required — only a free Hetzner account and a generated API token. (Source: Hetzner Docs)
Q: Which model is available on the Hetzner Inference API?
A: The only model currently served is Qwen/Qwen3.6-35B-A3B-FP8, a Mixture-of-Experts model from Alibaba's Qwen team with 35 billion total parameters, 3 billion active per token, a 262,144-token context window, and text-plus-image (vision) input support. It is quantized to FP8 and released under the Apache 2.0 license. (Sources: Hetzner Docs, Hugging Face)
Q: Can I use the Hetzner Inference API in production?
A: No. Hetzner explicitly states the service is experimental, offered "as is," with no guaranteed performance or availability, no backups, and no SLA. It should not be used for production environments. It is designed for testing, prototyping, and gathering feedback. (Source: Hetzner Docs)
Q: Is the Hetzner Inference API OpenAI-compatible?
A: Yes. The API follows the OpenAI REST API format. You can use any OpenAI-compatible SDK (Python, Node.js, Go, etc.) by simply changing the base URL to https://inference.hetzner.com/api/v1 and using your Hetzner token as the API key. Standard chat completions, streaming (with caveats), and multimodal image inputs are supported. (Source: Hetzner Docs)
Q: What are the rate limits on the Hetzner Inference API?
A: Per API key: 3 million input tokens and 60,000 output tokens every 60 seconds; 500 million input tokens and 5 million output tokens every 24 hours. Exceeding any limit returns HTTP 429. (Source: Hetzner Docs)
Q: How fast is the Hetzner Inference API?
A: Independent testing on July 23, 2026 reported a 153 ms median time-to-first-token and 224 output tokens per second for a single client. However, this is a one-time snapshot, not a guaranteed performance level. The experimental status means speeds may vary significantly under load. (Source: Sliplane.io)
Q: Can I use the Hetzner Inference API with AI coding agents like OpenCode?
A: Yes. Hetzner published a community tutorial showing how to configure OpenCode with the Inference API. Because the endpoint is OpenAI-compatible, any agent tool that supports custom API base URLs can use it. For security, run coding agents inside Docker Sandboxes (microVM-based isolation) rather than directly on your host machine. (Sources: Hetzner Docs, Docker Docs, Sandboxes)
Sources
Hetzner Online GmbH, "Inference API," Hetzner Docs, created 2026-07-24, last changed 2026-07-24. https://docs.hetzner.com/general/company-and-policy/experiments/inference/
Qwen Team (Alibaba Cloud), "Qwen3.6-35B-A3B-FP8," Hugging Face. https://huggingface.co/Qwen/Qwen3.6-35B-A3B-FP8
Jonas Scholz, "Hetzner Inference: First Look," Sliplane.io, July 2026. https://sliplane.io/blog/hetzner-inference
Docker Inc., "Docker Sandboxes," Docker Docs. https://docs.docker.com/ai/sandboxes/
Docker Inc., "Why MicroVMs: The Architecture Behind Docker Sandboxes," Docker Blog, April 2026. https://www.docker.com/blog/why-microvms-the-architecture-behind-docker-sandboxes/
Hetzner Online GmbH, "Hetzner presents GPU server GEX131 with NVIDIA RTX PRO 6000 Blackwell Max-Q," December 11, 2025. https://www.hetzner.com/pressroom/new-gpu-server/
GPUHosted, "Hetzner GPU Review 2026," updated July 2026. https://gpuhosted.com/en/hetzner-gpu-review/
Google, "Gemini API Pricing," Google AI for Developers. https://ai.google.dev/gemini-api/docs/pricing
Groq Inc., "Overview," Groq Console Docs. https://console.groq.com/docs/overview
Cerebras Systems, "Cerebras Cloud," https://cloud.cerebras.ai
OpenRouter, "Pricing," https://openrouter.ai/pricing
NVIDIA, "NVIDIA NIM," https://build.nvidia.com
Updates & Corrections
2026-08-12 — Article created. All facts verified against primary sources as of this date. Model, rate limits, and experimental status confirmed via Hetzner Docs (last changed 2026-07-24). Docker Sandboxes details confirmed via Docker Docs and Docker Blog.
Researched and drafted with AI agents; reviewed and fact-checked under human editorial oversight.
Read original: https://dev.to/shaam_ai/hetzner-free-ai-inference-api-how-to-use-europes-newest-zero-cost-llm-endpoint-in-2026-3p8
← Previous
Wipro AI Frees 20,000 Employees' Capacity, No Layoffs
Next →
LLM Model Routing in 2026: The Guide Every Team Should Read
Related
I Built KIRA: A Local-First AI Agent That Has to Prove Its Work
AI & ML
2
Dev.to (EN Zone)
OpenCompany เปิดซอร์ส 22 บริษัทให้ agent รัน แต่สมองยังอยู่ที่อื่น
AI & ML
4
Dev.to (EN Zone)
ติดตั้ง skill ให้ agent ต้องระวังอะไร, อ่านจากเอกสาร Hermes เอง
AI & ML
6
Dev.to (EN Zone)
LLM Model Routing in 2026: The Guide Every Team Should Read
AI & ML
5
Dev.to (EN Zone)
Comments0
No comments yet — be the first