deepseek-v4-flash / deepseek-v4-prosystem fieldthinking object; thinking content is returned as a content[type=thinking] blocktool_use / tool_result flowhttps://direct.evolink.ai, which has better support for text models and long-lived connections. https://api.evolink.ai is the primary endpoint for multimodal services and serves as a fallback address for text models.##All APIs require Bearer Token authentication##
Get API Key:
Visit the API Key Management Page to obtain your API Key
Add to request header:
Authorization: Bearer YOUR_API_KEYNote: Although Anthropic's native API uses the x-api-key header, EvoLink's /v1/messages uniformly uses Bearer Token authentication.
Model to invoke
deepseek-v4-flash: Fast general-purposedeepseek-v4-pro: Deep reasoningTip: Both models have thinking enabled by default, and responses always contain a type="thinking" content block; set thinking.type="disabled" explicitly to turn it off. An unspecified or unsupported model is automatically mapped to deepseek-v4-flash.
deepseek-v4-flash, deepseek-v4-pro "deepseek-v4-flash"
Maximum number of tokens to generate (required)
Notes:
1 <= x <= 3840001024
List of conversation messages, alternating between user / assistant turns
Notes:
role=userimage / document content types are not yet supported1System prompt, used to define the AI's role and behavior
Notes:
system message on the OpenAI endpoint, the Anthropic endpoint uses a top-level system field"You are a helpful assistant."
Sampling temperature
Notes:
[0.0, 2.0]0 <= x <= 21
Nucleus sampling threshold
Notes:
[0, 1]0 <= x <= 11
Custom stop sequences
Notes:
4Whether to return via SSE streaming
true: Server-Sent Events streaming returnfalse: Return the complete response all at once (default)false
Thinking mode control (V4)
Notes:
type=enabled)content array includes a type="thinking" reasoning block (billed as output tokens)budget_tokens field; use output_config.effort to control depthcontent array verbatim (the Anthropic protocol is more lenient — missing thinking will not cause an error, but preserving the signature helps context consistency)Output configuration (V4 extension)
Notes: DeepSeek only supports the effort field
List of tool definitions
Notes:
input_schema uses a JSON Schema objectControls tool-calling behavior
Available types:
auto: Model decides automatically (default when tools are provided)any: Must call some tool (without specifying which)tool: Must call the specified namenone: Forbid tool callsMessage object
Anthropic-style message response
Unique message ID
Response object type
message assistant Model actually used
"deepseek-v4-pro"
List of response content blocks
Possible block types:
thinking: Reasoning process (only when thinking is enabled)text: Final answer texttool_use: Tool call initiated by the modelStop reason
end_turn: Natural completionmax_tokens: Reached the max_tokens limitstop_sequence: Hit a stop_sequences entrytool_use: Model triggered a tool callend_turn, max_tokens, stop_sequence, tool_use The specific sequence hit when stop_reason=stop_sequence; otherwise null
Token usage statistics (Anthropic specification)