OpenAI Chat Completions
OpenAI-compatible Chat Completions endpoint. Any LinkModel chat model can be
called here with the native OpenAI request/response shape — point an OpenAI
SDK at this base URL and set model to one of the supported names.
Set stream: true to receive the response as Server-Sent Events
(text/event-stream): a sequence of data: {chunk} lines whose deltas
accumulate into the final message, terminated by data: [DONE].
Supported models
| Model | Provider | Details |
|---|---|---|
claude-opus-4-7 | Claude | Pricing & specs |
deepseek-v4-pro | DeepSeek | Pricing & specs |
kimi-k2.6 | Moonshot | Pricing & specs |
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
ID of the chat model to use. Must be one of the supported models listed above.
claude-opus-4-7, deepseek-v4-pro, kimi-k2.6 "claude-opus-4-7"
The conversation so far, as an ordered list of messages.
If true, partial deltas are streamed as Server-Sent Events.
Maximum number of tokens to generate in the completion.
1024
Up to 4 sequences where the API stops generating further tokens. The generated text will not contain the stop sequence.
Response
Chat completion result. When stream is true, the body is an SSE stream instead.