NeuEco-Spur jetzt für 91 Modelle: dasselbe Modell zu einem niedrigeren Preis

Währung

Du lädst immer in Euro auf. Andere Währungen zeigen wir zum heutigen EZB-Kurs an. EZB-Referenzkurse

AnmeldenJetzt starten

Budget, allowed models and expiry date

Limit what a key can spend, which models it can use and how long it works.

Das Hilfe-Center gibt es auf Englisch und Niederländisch. Du liest die englische Fassung.

Set these when you create a key, or later with Edit on app.nexrouting.com/keys.

Budget
The total a key may spend, from $0.01 to $1,000,000. It’s a total over the key’s whole life, not per month. When it’s reached, requests fail with 402 and the code key_budget_exceeded until you raise the budget.
Allowed models
All models, or Only these. Other models fail with 403 and the code model_not_allowed. Allowing a model also allows its Eco lane; allowing only the Eco lane (…:eco) doesn’t allow Standard.
Expiry date
The key works until the end of that day (UTC), at most five years ahead. After that, requests fail with 401 and the code api_key_expired.

Check a key from your code with GET /v1/key. It returns the limit, usage, remaining budget, rate limit, allowed models and expiry date of the key you send:

curl https://api.nexrouting.com/v1/key \
  -H "Authorization: Bearer $NEXROUTING_API_KEY"
In diesem Thema: API-Keys

Noch Fragen? Kontaktiere den Support

Frag Miles in deinem Dashboard oder sprich mit einem Menschen. Geht es um einen API-Aufruf? Schick die Request-ID mit.