Appearance
The OpenAI API, as served
Every Diffuse Enterprise deployment answers the OpenAI API on port 8443, with the deployment's CA certificate and an API key. Since 1.5.0 the surface is the one OpenAI documents today, checked against its OpenAPI specification (openai/openai-openapi, commit 0ef225c4f701, 2026-10-08) and the official SDKs (openai 3.26.1 for Python, 7.31.0 for Node).
| Endpoint | What it serves |
|---|---|
GET /v1/models | the models your key may call |
POST /v1/chat/completions | chat, tools, structured outputs, reasoning, streaming |
POST /v1/responses | the Responses API, on the same models |
POST /v1/embeddings | embeddings, on an embedding model |
Refused rather than ignored
A field this deployment cannot honour is answered 400 unsupported_parameter with the field's name in param. It is never dropped in silence: a server that ignored it would answer a different question, and nothing in the answer would say so.
Which engine serves a model decides a few of them. Your operator's deployment list shows it: llamacpp for a GGUF model, vllm for a safetensors model on an NVIDIA card, reference otherwise.
| Field | Served |
|---|---|
messages, stream, stop, seed, temperature, top_p | everywhere |
max_completion_tokens, max_tokens | everywhere; the first wins, under the deployment's ceiling (4096 by default) |
stream_options.include_usage | everywhere: a last chunk with choices: [] and the usage |
tools, tool_choice, parallel_tool_calls, role: "tool" | llama.cpp and vLLM; reference serves tool_choice: "auto" for Qwen-style templates |
response_format json_object and json_schema | llama.cpp and vLLM, by grammar |
logprobs, top_logprobs, n, frequency_penalty, presence_penalty, logit_bias, reasoning_effort | llama.cpp and vLLM |
top_k, min_p, repetition_penalty, chat_template_kwargs | outside the specification, sent by some clients; llama.cpp and vLLM |
user, safety_identifier | accepted; written on the audit trail as end_user |
store: false, prompt_cache_key, service_tier: "auto", modalities: ["text"] | accepted; they change nothing here |
store: true, functions, function_call, audio, prediction, web_search_options, verbosity, metadata, any other key | refused by name |
An image in content is refused with no_vision_model: no model this product serves reads images yet. A PDF or a text file in a file part is read, as before.
Waiting, and stopping
A model answers several requests at once in one batch. When the batch is full the others wait in a queue, and a wait that runs out, or a full queue, answers 429 with Retry-After. The generation timeout counts from the moment a request starts generating, not while it waits. A request stops when you close the connection, when its key is revoked and when its deployment is removed. Engines and concurrency says how this is decided and measured.
