Moonshot Kimi

Kimi Thinking Preview API

CN Moonshot Kimi
Testar no Probador → Obter API key

Kimi Thinking Preview é um modelo de raciocínio da Moonshot Kimi. Ele oferece raciocínio passo a passo. Disponível através da API unificada MeshTok.

Raciocínio

Preços (oficial, por 1M tokens)

Entrada
$4.08/M
Saída
$4.08/M

Especificações

Janela de contexto128K tokens Modalidades de entradaTexto StreamingSim APICompatível OpenAI

Como usar Kimi Thinking Preview

Substituição direta do OpenAI. Mude apenas base_url e modelo.

# Python - pip install openai
from openai import OpenAI

client = OpenAI(
    base_url="https://meshtok.com/v1",
    api_key="sk-your-MeshTok-key",
)

resp = client.chat.completions.create(
    model="moonshot/kimi-thinking-preview",
    messages=[{"role":"user","content":"Hello!"}],
)
print(resp.choices[0].message.content)
# cURL
curl https://meshtok.com/v1/chat/completions \
  -H "Authorization: Bearer sk-your-MeshTok-key" \
  -H "Content-Type: application/json" \
  -d '{"model":"moonshot/kimi-thinking-preview","messages":[{"role":"user","content":"Hello!"}]}'

Modelos relacionados

Outros modelos que você pode considerar.