Skip to main content
POST
BaseURL: The default BaseURL is https://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.

Authorizations

Authorization
string
header
required

##All APIs require Bearer Token authentication##

Get API Key:

Visit API Key Management Page to get your API Key

Add to request header:

Body

application/json
model
enum<string>
required

Model ID.

Available options:
kimi-k3
messages
object[]
required

Conversation messages. For multi-turn conversations, include complete historical assistant messages.

Minimum array length: 1
max_completion_tokens
integer
default:131072

Maximum number of tokens allowed for the generated content. The default for Kimi K3 is 131,072 and the maximum is 1,048,576. Reasoning tokens count toward this limit.

Required range: 1 <= x <= 1048576
reasoning_effort
enum<string>
default:max

Reasoning effort. Kimi K3 always performs reasoning and currently supports only max.

Available options:
max
stream
boolean
default:false

Whether to return the response as an SSE stream.

stream_options
object

Streaming response options. These options apply only when stream=true and do not change token prices or generated token counts.

tools
object[]

Functions that the model may call.

Maximum array length: 128
tool_choice

Controls whether the model calls tools or forces a specific function call.

Available options:
auto,
none,
required

Response

Chat completion response; streaming requests return an SSE event stream

id
string
object
string
Example:

"chat.completion"

created
integer
model
string
Example:

"kimi-k3"

choices
object[]
usage
object