List prices
const url = 'https://api.aderra.ai/v1/usage/prices';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.aderra.ai/v1/usage/prices \ --header 'Authorization: Bearer <token>'Every price, live, in credits (1,000 credits = $1), as exact decimal strings. The same figures the Developers page shows and the endpoints bill with: one price for the API and for plans. Chat is per million tokens; images per image; video per second; speech per 1,000 characters.
Served on https://api.aderra.ai only (not on the aderra.ai alias). Any live key works.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The price list.
object
object
object
The sizes this model is sold at; the first is its default.
Whether the model’s own content filter applies.
The model used when a request names none.
object
Credits per second for a text or image clip. reference clips cost more: see https://aderra.ai/docs/api/models/#video-models
object
Billable characters per request.
Every voice name (200).
Example
{ "chat": [ { "model": "glm-5.3-flash" } ], "speech": [ { "model": "aderra-voice-1", "max_characters": 4096 } ]}The key is missing, unknown or revoked: {"error": "unauthorized"}.
Media and a few early refusals send error as a plain string, sometimes with a message for a person.
object
Example
{ "error": "unauthorized"}