这个模型有了通用 Agentic 能力和推理能力,并可以进行多轮工具调用,上下文长度 256k
模型代号:kimi-k2-thinking,在原有项目中替换即可,输入¥4,输出 ¥16 / 百万 tokens
另有高速版:kimi-k2-thinking-turbo,最高可达 100 tokens/s, 输入¥8,输出 ¥58 / 百万 tokens
详细信息可以在这里找到
https://platform.moonshot.cn/docs/guide/use-kimi-k2-thinking-model
实测信息稍后奉上
代码示例
$ curl https://api.moonshot.cn/v1/chat/completions \x5c
-H "Content-Type: application/json" \x5c
-H "Authorization: Bearer $MOONSHOT_API_KEY" \x5c
-d \x26#39;{
"model": "kimi-k2-thinking",
"messages": [
{"role": "user", "content": "你好"}
],
"temperature": 1.0
}\x26#39;
打开网易新闻 查看精彩图片
热门跟贴