Skip to main content

Endpoint

Authenticate with Authorization: Bearer sdn_.... Any model in the catalog is valid in model.

Request parameters

A few legacy OpenAI parameters are refused with a 400 rather than silently ignored: n > 1 (multiple choices), echo: true, a non-empty suffix (fill-in-the-middle), and multi-element prompt arrays.

Example

Request
Response (shape)

When to use it

Only when a tool you don’t control requires it. Chat-tuned models expect message structure — the same request through Chat Completions will generally behave better, and tools, vision, and structured output live on the chat surfaces only.
Errors follow the OpenAI shape, like Chat Completions — see Errors.