Amux AI

new-api Format

Last updated October 29, 2026

Compatible with the new-api token balance API, for new-api instances connected as a "New API" channel.

Compatible with the new-api token balance API. When new-api connects to this platform as a "New API" channel, it requests the following two endpoints in turn to retrieve the balance.

GEThttps://gateway.amux.ai/api/usage/token/

Authorization

header
AuthorizationstringRequired

Bearer <your Amux AI key> An Amux key created in the console. If you lose it, you can view it again on the keys page.

Response

200response

Token balance.

401response

Missing or invalid key.

GEThttps://gateway.amux.ai/api/status

Response

200response

Conversion rate.

Quota conversion

new-api measures balances in quota points. Divide total_available by quota_per_unit from /api/status to obtain the amount in USD:

balance (USD) = total_available ÷ 500000

total_available is the spendable amount of the current key. If the spendable amount is unlimited, unlimited_quota is true and total_available is 0, and new-api reports that the balance is unavailable. To display the balance, use a key from a personal workspace or one owned by an organization admin.

/api/status does not require authentication and returns only the conversion rate.

Configuring new-api

Select "New API" as the channel type, set the Base URL to https://gateway.amux.ai, and enter your API key for this platform. After saving, update the balance from the channel list.

cURL
curl https://gateway.amux.ai/api/usage/token/ \
  -H "Authorization: Bearer $AMUX_API_KEY"
{
  "code": true,
  "message": "ok",
  "data": {
    "object": "token_usage",
    "name": "Amux",
    "total_available": 24125000,
    "unlimited_quota": false
  }
}