WizzyFlow
Docs menu

LLMs (OpenAI-compatible)

The chat endpoint is OpenAI's: in the SDK you already use, change only the base URL and the key.

The base URL for LLMs is https://api.wizzyflow.ai/v1, with the same key as the media models. The model name goes in the model field, as in anthropic/claude-sonnet-4.6.

curl https://api.wizzyflow.ai/v1/chat/completions \
  -H "Authorization: Bearer $WIZZYFLOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "anthropic/claude-sonnet-4.6",
    "messages": [
      {
        "role": "user",
        "content": "A slogan for a neighborhood bakery"
      }
    ]
  }'

Endpoints

EndpointWhat it does
POST /v1/chat/completionsSends the conversation and returns the reply, whole or in chunks (stream).
GET /v1/modelsLists the LLMs, with each one's context length and price.

Pricing

Charged per token, for the input and output of each call, in your account's currency. Before replying, we reserve the maximum possible cost from your balance: the input plus max_tokens. At the end, we charge only what was used and release the rest. Without max_tokens, the reservation assumes a long reply; set a value to reserve less.

The response includes the amount charged in usage.price, with the currency in usage.currency. When streaming, pass stream_options: { include_usage: true } to get the tokens and the price in the last chunk. If the connection drops midway, you're only charged for what was already generated.

Parameters

Besides model, messages, max_tokens and stream, each model accepts the parameters its family supports, such as temperature, tools, response_format or reasoning. Each model's list is in its reference, under All models.