Prerequisites
- A project in Hetzner Console with at least one Inference Token. To create an Inference Token, see Creating an Inference Token.
- To change an Inference Token, you need the Owner, Admin, or Member role in the project. All other roles can only view Inference Tokens and their consumption.
Opening the Inference Token overview
Open your project in the Hetzner Console and click Inference under AI in the left menu. In the Inference Tokens tab, you'll see all the Inference Tokens for the project.
| Column | Content |
|---|---|
Name |
Name of the Inference Token, with the token type and token prefix below it |
Consumption (excl. VAT) |
Consumption in the current calendar month (excluding VAT), the consumption cap, and the percentage used |
Created |
When you created the Inference Token |
Click on the filter icon above the list to filter by Name, Token type, Token prefix, and labels. To sort the list, click on the column header Name, Consumption (excl. VAT), or Created. This way, you can quickly find the Inference Tokens with the highest consumption, for example.
The token prefix (for example hit_a1b2c3d4) is the first part of an Inference Token. Use it to find the entry in the list that belongs to the Inference Token your application uses.
Viewing usage
In the Inference Token overview, click on the name of an Inference Token. The Overview tab shows the following sections:
CONSUMPTION (EXCL. VAT): consumption in the current calendar month compared to the consumption capAPI URL: the address you send your requests toUSAGE BY MODEL: the columnsCACHED TOKENS,INPUT TOKENS,OUTPUT TOKENS,HOURS,RPM, andCONSUMPTION (EXCL. VAT)for each model
All values refer to the current calendar month. Hetzner Console updates them when you reload the page.
Adjusting the consumption cap
The consumption cap defines the maximum amount an Inference Token can cost per calendar month. When the Inference Token reaches the cap, the Inference API rejects further requests. Requests that are already running at that point still complete. This means consumption can slightly exceed the cap.
-
Open the dialog Open the Inference Token and click on
Actions→Adjust consumption capin the top right corner. In the Inference Token overview, you can find the same option in the…menu next to the Inference Token.
-
Set the amount Enter an amount in euros per month excluding VAT, or use the slider. The slider goes from €1 to €20,000.
-
Save the cap Click on
Save consumption cap.
Please note: Each account has its own limit, which can be lower than €20,000. If you select a higher amount, you need to verify it. Follow the instructions in Hetzner Console. For more information, see the limits documentation.
Adjusting the rate limit
Each Inference Token can send up to 100 requests per minute (RPM) to each model. The details of the Inference Token show the current rate limit in the RPM column. To request a higher rate limit, use the support assistant in Hetzner Console.
-
Open the dialog Open the Inference Token and click on
Actions→Adjust rate limit. In the Inference Token overview, you can find the same option in the…menu next to the Inference Token.
-
Start the request Click on
Request rate limit adjustment. The support assistant opens in a new tab. The message field already contains a request with the ID of your Inference Token. -
Complete and send the request In the message, add which rate limit you need for which model, and explain why 100 requests per minute are not enough. Send the message. The support team reviews your request and adjusts the limit based on your project's requirements.
For more information on the rate limit, see Limits.
Editing labels
Use labels to organize your Inference Tokens, for example by team or application. In the Inference Token overview, you can filter by labels.
-
Open the dialog Open the Inference Token and click on
Actions→Add labels. TheEdit labelsdialog opens. -
Enter the labels Enter your labels in the text field. A label is a key-value pair, and the value is optional. Keys and values can have up to 63 characters each and must begin and end with an alphanumeric character. In between, you can also use dashes, underscores, and dots.
-
Save the changes Click on
Confirm changes.
Rotating an Inference Token
Hetzner Console shows an Inference Token only once, right after you create it. You cannot regenerate an existing Inference Token. To rotate an Inference Token, replace it with a new Inference Token.
Rotate an Inference Token if you lost it, if someone else might know it, or if your security policy requires regular rotation.
-
Create a new Inference Token Create a new Inference Token as described in Creating an Inference Token. Use the same consumption cap and labels as the old Inference Token if you want to keep them. Copy the new Inference Token and save it in a secure place.
-
Update your application Replace the old Inference Token with the new one in your application. Send a test request to check that your application works with the new Inference Token.
-
Delete the old Inference Token Delete the old Inference Token as described in Deleting an Inference Token. Use the token prefix to find the entry in the list that belongs to the old Inference Token.
Please note: Both Inference Tokens work until you delete the old one. If someone else might know your Inference Token, delete it right away. Your application can only send requests again once you switch it to the new Inference Token.
Deleting an Inference Token
When you delete an Inference Token, Hetzner Console immediately revokes API access for all applications that use it. You cannot undo this action.
-
Open the Delete tab Open the Inference Token and go to the
Deletetab. In the Inference Token overview, you can also findDeletein the…menu next to the Inference Token. -
Delete the Inference Token Click on
Delete Inference Tokenand confirm the deletion.
The Inference Token no longer shows up in the Inference Token overview.