Create a chat completion
OpenAI Chat Completions-compatible skin over the same Infer routing, wallet, privacy, cache, media, tool, and receipt engine used by /v1/responses. With stream=true, chat.completion.chunk events carry upstream reasoning, text, and tool-call argument deltas as they arrive; the final finish chunk includes relay receipt metadata and stream_options.include_usage adds the settled usage chunk. Infer emits keepalive comments during quiet periods and does not impose a generation wall-clock timeout while the connection remains alive.
Request
- Base URL: https://infer.flow7.org
- URL: https://infer.flow7.org/v1/chat/completions
- Auth: HTTP bearer
Headers
Optional Infer idempotency key. A one-use key is generated when omitted.
Optional Infer session-affinity/cache-routing extension.
Request body
Response
Chat completion or SSE stream
Changes
No recorded changes to this operation across all 1 revision of this API.