Skip to content

Overview

OpenAI- and Anthropic-compatible API for chat, images, video and speech.

The Aderra API serves Aderra’s models over the formats your code already speaks: OpenAI Chat Completions, OpenAI Responses, Anthropic Messages, OpenAI Images and OpenAI Audio (speech). Point an official OpenAI or Anthropic SDK at https://api.aderra.ai and use an Aderra key.

Authentication. Every endpoint takes an Aderra key (it starts with ak_) as Authorization: Bearer <key>. Messages, Responses, Models, Speech, Voices, Speech models and Prices also accept x-api-key: <key>, which is how the Anthropic SDK sends it.

Billing. A call made with an API key is paid from your prepaid API wallet. Before a request runs, Aderra holds the most it could cost; when it finishes you pay what it used and the rest is released. A failed call costs nothing. Prices are listed live by GET /v1/usage/prices and on the Developers page: https://aderra.ai/developers

System prompts. With an API key, your system prompt (system, instructions, or system/developer messages) reaches the model untouched. Aderra adds exactly one line, “Never produce any sexual content involving minors.” (about ten tokens): after your system text on Messages and Responses, as the first system message on Chat Completions. Terminal keys also carry Aderra’s agent instructions; see https://aderra.ai/docs/api/coding-tools/#instructions-on-terminal-keys

Errors. Each endpoint answers in its own format’s error shape. See https://aderra.ai/docs/api/errors/ for every code.

Guides: https://aderra.ai/docs/api/

An Aderra key, Authorization: Bearer ak_....

Security scheme type: http

An Aderra key, x-api-key: ak_... (the Anthropic SDK default). Accepted on /v1/messages, /v1/responses, /v1/models, /v1/audio/speech, /v1/audio/voices, /v1/audio/models and /v1/usage/prices.

Security scheme type: apiKey

Header parameter name: x-api-key