{"slug": "hetzner-inference-api", "title": "Hetzner Inference API", "summary": "Hetzner launched an Inference API that runs models exclusively in its own ISO 27001-certified, GDPR-compliant data centers and does not store chat histories or generated output or use them for training. The API serves GLM 5.3, GLM 5.3 Flash, Kolibri 1 and BGE M3, and is compatible with both the OpenAI API and the Anthropic API, so projects built on those formats can migrate by pointing the base URL to https://inference.hetzner.com/v1 and adding an API key. Hetzner said the product followed customer feedback on an earlier experiment, and it bills per usage with user-set spending limits and lower rates for input tokens on recurring prompts.", "body_md": "## AI inference on your terms\n\nWe do not store chat histories or generated output. None of this is used for training purposes.\n\nWithout exception, the models run in our own data centers: GDPR-compliant and ISO 27001-certified.\n\nYou can see how much your usage costs at any time, and you can set your own upper limit using usage limits.\n\nHere's where you can save money: For recurring prompts, we charge a much lower rate for your input tokens.\n\nWhether you're looking for an all-rounder or a specialized model, you'll find the right fit here. Openly available, no lock-in.\n\nCreate an API token in the Hetzner Console, select a model, and get started right away.\n\n## GLM 5.3 Flash\n\n### Tasks\n\n### Parameters\n\n### Context window\n\n### Input\n\n### Output\n\n### API compatible\n\n- \nOur 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.\n- \nOur 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.\n\n### Price optimization\n\n### Price\n\n## GLM 5.3\n\n### Tasks\n\n### Parameters\n\n### Context window\n\n### Input\n\n### Output\n\n### API compatible\n\n- \nOur 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.\n- \nOur 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.\n\n### Price optimization\n\n### Price\n\n## Kolibri 1\n\n### Tasks\n\n### Parameters\n\n### Context window\n\n### Input\n\n### Output\n\n### API compatible\n\n- \nOur 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.\n- \nOur 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.\n\n### Price optimization\n\n### Price\n\n## BGE M3\n\n### Tasks\n\n### Parameters\n\n### Context window\n\n### Input\n\n### Output\n\n### API compatible\n\n- \nOur 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.\n- \nOur 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.\n\n### Price\n\n## Easy to migrate thanks to \n\nthe OpenAI-compatible API\n\nSet base URL\n\nAdd API Key\n\nRun your app\n\n``` python\nfrom openai import OpenAI\n\nclient = OpenAI(\n    base_url=\"https://inference.hetzner.com/v1\",\n    api_key=\"<YOUR_INFERENCE_TOKEN>\",\n)\n\nr = client.chat.completions.create(\n    model=\"zai-org/GLM-5.3-Flash\",\n    messages=[{\"role\": \"user\", \"content\": \"Hello!\"}],\n)\n\nprint(r.choices[0].message.content)\ncurl https://inference.hetzner.com/v1/chat/completions \\\n  -H \"Authorization: Bearer <YOUR_INFERENCE_TOKEN>\" \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"model\": \"zai-org/GLM-5.3-Flash\", \"messages\": [{\"role\": \"user\", \"content\": \"Hello!\"}]}'\n```\n\n## Getting started made easy\n\n## How an experiment turned into a finished product\n\nWhether 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.\n\n## Frequently asked questions\n\n- \nFor 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.\n- \nYes. 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.\n- \nNo. 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.\n- \nEach 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.\n- \nNo. 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.", "url": "https://wpnews.pro/news/hetzner-inference-api", "canonical_source": "https://www.hetzner.com/ai/inference-api/", "published_at": "2026-12-01 08:51:47+00:00", "updated_at": "2026-12-01 09:43:29.945226+00:00", "lang": "en", "topics": ["artificial-intelligence", "large-language-models", "ai-infrastructure", "ai-products", "developer-tools"], "entities": ["Hetzner", "GLM 5.3", "GLM 5.3 Flash", "Kolibri 1", "BGE M3", "OpenAI", "Anthropic"], "also_reported_by": [], "takeaway": "Point the OpenAI SDK's base_url at https://inference.hetzner.com/v1 with a Hetzner inference token to call GLM 5.3 Flash, GLM 5.3, Kolibri 1 or BGE M3, and use the /v1/messages endpoint for Anthropic-format code.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/hetzner-inference-api", "markdown": "https://wpnews.pro/news/hetzner-inference-api.md", "text": "https://wpnews.pro/news/hetzner-inference-api.txt", "jsonld": "https://wpnews.pro/news/hetzner-inference-api.jsonld"}}