Set AVELIN_API_KEY to the secret shown when you create a key.
KEY REGISTRY
Account API keys
Name
Status
Models
Usage
Key cap
RPM
TPM
// USAGE
Usage control
Track prepaid balance consumption and API activity.
PREPAID BALANCE
—% used
LAST 30 DAYS
—
—API activity
LIFETIME
—
—All recorded usage
BURN RATE
—
—projected runway
// ANALYTICS
API activity
Total requests—
Selected range
Successful—
Completed calls
Failed—
Errored calls
Avg cost / req—
Spend in range
Total tokens—
Prompt + completion
Input tokens—
Prompt
Output tokens—
Completion
DAILY SPEND
Spend over time
BY MODEL
Model breakdown
KEY USAGE
Provider key activity
RELIABILITY
Failed requests
// ADMIN
Promo campaigns
Issue promo codes, follow their claims, stop a code, and check how much a customer can be refunded.
CAMPAIGNS
Promo codes
Campaign
Code
Status
Amount
Claims
Granted
Redeemable until
REFUNDS
Refund check
Promotional credit is spent first and is never refunded. Usage lags the API by about a minute and a Stripe refund counts once its webhook arrives: revoke the customer's keys, check again after the next sync, then refund at most the refundable amount in Stripe.
ACCESS
Admins
An admin signs in with that Google account and can issue promo codes, check refunds and manage admins. Admins from the deployment configuration cannot be removed here.
// NEW KEY
Create API key
// SAVE THIS KEY NOW
Key created
This secret is shown once. Copy it now. You won't be able to see it again.
Secret key
Scope
Endpoint
Loading endpoint...
Example request
// CONFIRM
Revoke key
// ADD BALANCE
Top up API balance
Top-ups are temporarily unavailable: we have paused accepting payments for now.
You'll be redirected to Stripe. Balance applies to direct API usage. Existing active keys resume automatically when balance is available.
Have a promo code?
Promo credit is spent before purchased balance and is not refundable.
// BILLING
Billing history
// NEW PROMO CODE
Create promo code
// SAVE THIS CODE NOW
Code created
This code is shown once. Copy it now: the portal keeps only its hash and the last four characters.