curl --request POST \
--url https://direct.evolink.ai/v1/chat/completions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "kimi-k3",
"messages": [
{
"role": "user",
"content": "Kimi K3를 세 문장으로 소개해 주세요."
}
]
}
'
{
"id": "<string>",
"object": "chat.completion",
"created": 123,
"model": "kimi-k3",
"choices": [
{
"index": 123,
"message": {
"role": "system",
"content": "<string>",
"reasoning_content": "<string>",
"tool_calls": [
{
"id": "<string>",
"type": "function",
"function": {
"name": "<string>",
"arguments": "<string>"
}
}
],
"tool_call_id": "<string>"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 123,
"completion_tokens": 123,
"total_tokens": 123,
"prompt_tokens_details": {
"cached_tokens": 123
},
"completion_tokens_details": {
"reasoning_tokens": 123
}
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
}
}Chat Completions API
Kimi K3 - OpenAI 호환 API
OpenAI Chat Completions 프로토콜로 kimi-k3를 호출합니다. 비스트리밍 JSON과 SSE 스트리밍 응답을 지원합니다. K3는 항상 추론하며 reasoning_effort는 현재 max만 지원합니다.
POST
/
v1
/
chat
/
completions
curl --request POST \
--url https://direct.evolink.ai/v1/chat/completions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"model": "kimi-k3",
"messages": [
{
"role": "user",
"content": "Kimi K3를 세 문장으로 소개해 주세요."
}
]
}
'
{
"id": "<string>",
"object": "chat.completion",
"created": 123,
"model": "kimi-k3",
"choices": [
{
"index": 123,
"message": {
"role": "system",
"content": "<string>",
"reasoning_content": "<string>",
"tool_calls": [
{
"id": "<string>",
"type": "function",
"function": {
"name": "<string>",
"arguments": "<string>"
}
}
],
"tool_call_id": "<string>"
},
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 123,
"completion_tokens": 123,
"total_tokens": 123,
"prompt_tokens_details": {
"cached_tokens": 123
},
"completion_tokens_details": {
"reasoning_tokens": 123
}
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
}
}{
"error": {
"message": "<string>",
"type": "<string>",
"code": "<string>"
}
}BaseURL: 기본 BaseURL은
https://direct.evolink.ai이며 텍스트 모델과 장시간 연결을 더 잘 지원합니다. https://api.evolink.ai는 멀티모달 서비스의 기본 엔드포인트이자 텍스트 모델의 대체 주소입니다.인증
##모든 API에는 Bearer Token 인증이 필요합니다##
API Key 발급:
API Key 관리 페이지에서 API Key를 발급받으세요
요청 헤더에 추가:
Authorization: Bearer YOUR_API_KEY
본문
application/json
모델 ID입니다.
사용 가능한 옵션:
kimi-k3 대화 메시지입니다. 여러 턴 대화에서는 과거 assistant 메시지 전체를 포함하세요.
Minimum array length:
1Show child attributes
Show child attributes
생성 콘텐츠에 허용되는 최대 token 수입니다. Kimi K3의 기본값은 131,072이고 최대값은 1,048,576입니다. 추론 tokens도 이 한도에 포함됩니다.
필수 범위:
1 <= x <= 1048576추론 강도입니다. Kimi K3는 항상 추론하며 현재 max만 지원합니다.
사용 가능한 옵션:
max 응답을 SSE 스트림으로 반환할지 여부입니다.
스트리밍 응답 옵션입니다. stream=true일 때만 적용되며 token 가격이나 생성량을 변경하지 않습니다.
Show child attributes
Show child attributes
모델이 호출할 수 있는 함수입니다.
Maximum array length:
128Show child attributes
Show child attributes
모델이 도구를 호출할지 또는 특정 함수를 강제로 호출할지 제어합니다.
사용 가능한 옵션:
auto, none, required