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.
Reasoning is always enabled for Kimi models and returned in reasoning_content. Reasoning tokens count toward output. Avoid setting max_completion_tokens too low: reasoning may exhaust the output budget before any answer text is produced.

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>
default:kimi-k3.1-pro
required

Model to call:

All three models have a context window of 1,048,576 tokens and always have reasoning enabled.

Available options:
kimi-k3.1-pro,
kimi-k3.1-pro-highspeed,
kimi-k3
messages
object[]
required

Conversation messages. Include historical messages in order for multi-turn conversations; see the full reference for how to return reasoning and tool-call history.

Minimum array length: 1
reasoning_effort
enum<string>
default:max

Reasoning effort, default max. kimi-k3 supports only max; see the full reference for other compatible values.

Available options:
low,
high,
max
max_completion_tokens
integer
default:131072

Maximum generated tokens, including reasoning and the final answer; default 131072, maximum 1048576.

Required range: 1 <= x <= 1048576
stream
boolean
default:false

Whether to return the response as an SSE stream.

Response

Conversation generated successfully; streaming requests return an SSE event stream

id
string

Response ID.

Example:

"chatcmpl-6adc72a2823cc13b156bf863"

object
enum<string>
Available options:
chat.completion
Example:

"chat.completion"

created
integer

Creation time as a Unix timestamp in seconds.

Example:

1792832163

model
string

Model used for this call.

Example:

"kimi-k3.1-pro"

choices
object[]
usage
object