BlazeInferDocs
Integrations

Anthropic Messages API

Call BlazeInfer models with the Anthropic Messages API format, where the model supports it.

The Anthropic Messages API (POST /v1/messages) is the format used by Anthropic's SDKs and by tools built on them.

Which models support it

Messages API support is enabled per model. The model listing in the console shows which APIs each model supports, so check there to see whether a model can be called with the Messages API.

Use Chat Completions for everything else

Every model can be called with the OpenAI API format. Use it for any model that the console does not list with Messages API support.

Settings

SettingValue
Base URLhttps://blaze.e2enetworks.net (the SDK adds /v1/messages)
API keyYour blz_... key, sent as Authorization: Bearer blz_...
ModelA model ID that the console lists with Messages API support

BlazeInfer reads the key only from the Authorization: Bearer header, not from x-api-key, so pass it as an auth token rather than an API key in the SDK.

On this page