Anthropic Messages
Anthropic-compatible Messages endpoint. Any LinkModel chat model can be
called here with the native Anthropic request/response shape — point an
Anthropic SDK at this base URL and set model to one of the supported names.
Note the Anthropic contract differs from OpenAI: system is a top-level
field (not a message), max_tokens is required, and the response body is
a list of content blocks rather than choices.
Set stream: true to receive Server-Sent Events (text/event-stream): a
sequence of typed events (message_start, content_block_delta, …,
message_stop).
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"
Input messages. Alternating user / assistant turns.
The maximum number of tokens to generate before stopping. Required.
1024
A system prompt providing context and instructions, set at the top level.
"You are a helpful assistant."
If true, the response is streamed as Server-Sent Events.
Custom text sequences that will cause the model to stop generating. The generated text will not contain the stop sequence.
Response
Message result. When stream is true, the body is an SSE stream instead.