中文版正在随流水线自动整理,稍后刷新即可;可先阅读下方英文原文。
本文由 AI图鉴自动抓取并翻译,版权归原作者所有;如需查看原文请点下方链接。
AI图鉴首页 › AI 资讯 › Hetzner 推论 API
文章 URL:https://www.hetzner.com/ai/inference-api/ 评论 URL:https://news.ycombinator.com/item?id=50712416 要点:168# 评论:60
中文版正在随流水线自动整理,稍后刷新即可;可先阅读下方英文原文。
本文由 AI图鉴自动抓取并翻译,版权归原作者所有;如需查看原文请点下方链接。
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.
GLM 5.3 Flash
Tasks
Parameters
Context window
Input
Output
API compatible
- 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.
- 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
Price
GLM 5.3
Tasks
Parameters
Context window
Input
Output
API compatible
- 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.
- 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
Price
Kolibri 1
Tasks
Parameters
Context window
Input
Output
API compatible
- 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.
- 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
Price
BGE M3
Tasks
Parameters
Context window
Input
Output
API compatible
- 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.
- 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.
Auto-fetched and translated by AI Atlas. All rights belong to the original author.
Things To Do API:图像生成方向的 AI 工具,Hacker News 新品(热度 26)。
BlumifyBlumify:音频语音方向的 AI 工具,Hacker News 新品(热度 90)。
BreadcrumbBreadcrumb:效率方向的 AI 工具,Hacker News 新品(热度 32)。
CarryCarry:对话助手方向的 AI 工具,Hacker News 新品(热度 25)。
5 台免费云电脑(每台 4 vCPU/8GB)
E2BAgent 沙箱:注册送 $100 赠金
DaytonaAgent 沙箱:注册送 $200 算力
腾讯混元腾讯混元新人免费体验包(每模型可领,截至 2026-12-31)
标题、摘要与正文均来自该信源的公开页面,版权归原作者所有;本站自动聚合与翻译,仅作出处跳转。