加载中…请求处理中,请稍候
Moonshot AI 模型

Kimi K2.7 Code

Kimi K2.7 Code is Moonshot AI's coding-focused model, available only through the Volcengine Agent Plan (no public ARK price list); its listed price tracks the OpenRouter reference rate for the same model.

Moonshot AI平台整理生产可用
工具调用JSON 模式长上下文流式输出推理
输入价格¥6.93 / 1M tokens
输出价格¥32.76 / 1M tokens
上下文长度128k 令牌
最大输出8.2k 令牌

Kimi K2.7 Code 在 NextModel 中是什么?

Kimi K2.7 Code 是 NextModel 目录中的 Moonshot AI 模型,常用于 agentic coding、代码审查、long-context refactors 工作负载。当前展示价格为输入 ¥6.93 / 1M tokens输出 ¥32.76 / 1M tokens 每 100 万 token,上下文窗口为 128k token。

适用场景

  • agentic coding
  • 代码审查
  • long-context refactors

OpenAI 兼容调用示例

保持 OpenAI SDK 调用方式不变,把 base_url 改为 NextModel,并使用模型目录 ID kimi-k2-7-code

Python
from openai import OpenAI

client = OpenAI(
    api_key="YOUR_API_KEY",
    base_url="https://api.nextmodel.app/v1"
)

resp = client.chat.completions.create(
    model="kimi-k2-7-code",
    messages=[{"role": "user", "content": "Hello from NextModel"}]
)

print(resp.choices[0].message.content)

相似替代项

Volcengine生产可用

Doubao Seed 2.0 Code is Volcengine's coding-focused variant, onboarded through the Volcengine Agent Plan for agentic and long-context coding workloads.

Starting at ¥3.20 / 1M tokens输入Starting at ¥16 / 1M tokens输出256k上下文
适用场景agentic coding, repository-scale refactors, long-context code review
路由已配置
工具调用JSON 模式长上下文流式输出
平台整理NextModel production gateway and Volcengine Agent Plan pricing config
查看详情
Moonshot AI生产可用

Kimi K2.6 是面向长上下文中文场景的模型候选,适合文档密集型团队在成本、上下文长度和国内模型覆盖之间做权衡。

¥6.18 / 1M tokens输入¥31.92 / 1M tokens输出128k上下文
适用场景general-purpose reasoning, 中文问答, agentic tool use
路由已配置
工具调用JSON 模式长上下文流式输出
平台整理NextModel production gateway; price referenced from OpenRouter moonshotai/kimi-k2.6
查看详情
Alibaba Cloud / Qwen目录

Qwen3 Coder Plus 是面向编码的模型候选,适合需要中文工程工作流和长上下文代码辅助的团队。

$0.65 / 1M tokens输入$3.25 / 1M tokens输出1M上下文
适用场景中文工程工作流, 代码生成, 代码库问答
路由已配置
工具调用JSON 模式长上下文流式输出
OpenRouter(可用时)OpenRouter 公开 Models API 的实时元数据;公开价格来自注册表价格规则。
查看详情

常见问题

Kimi K2.7 Code API 常见问题

What is Kimi K2.7 Code best for?

Agentic coding and long-context code review tasks.

How is Kimi K2.7 Code priced through NextModel?

¥6.93 per 1M input tokens and ¥32.76 per 1M output tokens, tracking Moonshot's OpenRouter reference rate.