BlazeInferDocs
Integrations

OpenAI API

Call BlazeInfer with the OpenAI API format, from any OpenAI SDK or OpenAI-compatible tool.

BlazeInfer speaks the OpenAI API format. Code and tools written for OpenAI work by changing three things: the base URL, the API key and the model ID.

SettingValue
Base URLhttps://blaze.e2enetworks.net/v1
API keyYour blz_... key, sent as Authorization: Bearer blz_...
ModelA full model ID from the console, for example deepseek-ai/deepseek-v4.1-flash

Make a request

curl https://blaze.e2enetworks.net/v1/chat/completions \
  -H "Authorization: Bearer $BLAZE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "deepseek-ai/deepseek-v4.1-flash",
    "messages": [{"role": "user", "content": "Say hello in one sentence."}]
  }'

Which OpenAI endpoints you can use

Chat Completions (POST /v1/chat/completions) and List models (GET /v1/models) work with every model, including streaming, tool calling and structured outputs.

Other OpenAI endpoints, such as Responses (POST /v1/responses), are enabled per model. The model listing in the console shows which APIs each model supports. Check it before you rely on an endpoint.

On this page