Kimi Latestは、Moonshot Kimiによる汎用モデルです。MeshTok統一APIを通じて利用可能です。
OpenAIの直接代替。base_urlとモデルのみ変更。
# 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-latest", 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-latest","messages":[{"role":"user","content":"Hello!"}]}'
検討できる他のモデル。
Long-context coding specialist from Moonshot.
General Kimi model with strong Chinese.
General-purpose chat model.
General-purpose chat model.