Text API

Text API

BeatAPI exposes public text models as a synchronous, token-metered API. Keep one BeatAPI key and choose the wire format that already matches your application.

FormatEndpointBest for
OpenAI ResponsesPOST /v1/responsesReasoning, tools, structured outputs, and new integrations
OpenAI Chat CompletionsPOST /v1/chat/completionsExisting OpenAI chat integrations
Anthropic MessagesPOST /v1/messagesExisting Messages SDK integrations
Gemini-compatiblePOST /v1beta/models/{model}:{action}Existing Gemini SDK integrations

Use GET /v1/models to read the models enabled for your environment. Text calls return JSON immediately or stream server-sent events; they do not create an asynchronous BeatAPI Task.

Store permanent BeatAPI API keys on trusted servers. The different authentication headers exist for SDK compatibility; they all identify the same BeatAPI account and USD balance.