Kimi K2.7 Code 用量账单计算器
该模型为 Moonshot Kimi K Code,用于代码相关任务且价格与 K 一致。
| 项目 | 取值 |
|---|---|
| 模型 | Kimi K2.7 Code |
| 档位 | 转述。与 K2.6 同输入输出价 |
| 输入单价 | $0.95 / 百万 tokens |
| 输出单价 | $4 / 百万 tokens |
| 缓存读单价 | $0.19 / 百万 tokens |
| 单次输入 | 4000 tokens |
| 单次输出 | 1000 tokens |
| 每日调用 | 2000 次 |
| 单次费用 | $0.0078 |
| 每日费用 | $15.6 |
| 30 天费用 | $468 |
Python
INPUT_PER_M = 0.95
OUTPUT_PER_M = 4
CACHE_READ_PER_M = 0.19
INPUT_TOKENS = 4000
OUTPUT_TOKENS = 1000
CALLS_PER_DAY = 2000
def cost(tokens: int, per_m: float) -> float:
return tokens / 1_000_000 * per_m
once = cost(INPUT_TOKENS, INPUT_PER_M) + cost(OUTPUT_TOKENS, OUTPUT_PER_M)
day = once * CALLS_PER_DAY
month = day * 30
print("USD", once, day, month)
JavaScript
const inputPerM = 0.95;
const outputPerM = 4;
const inputTokens = 4000;
const outputTokens = 1000;
const callsPerDay = 2000;
function cost(tokens, perM) {
return (tokens / 1000000) * perM;
}
const once = cost(inputTokens, inputPerM) + cost(outputTokens, outputPerM);
const day = once * callsPerDay;
const month = day * 30;
console.log("USD", once, day, month);
HTML
<form id="bill">
<p>Kimi K2.7 Code 官方单价计算器</p>
<label>输入 tokens <input name="input_tokens" type="number" value="4000" /></label>
<label>输出 tokens <input name="output_tokens" type="number" value="1000" /></label>
<label>每日调用 <input name="calls" type="number" value="2000" /></label>
<output id="result"></output>
</form>
<script>
const inputPerM = 0.95;
const outputPerM = 4;
function cost(tokens, perM) { return tokens / 1000000 * perM; }
const form = document.getElementById("bill");
function render() {
const data = new FormData(form);
const once = cost(Number(data.get("input_tokens")), inputPerM)
+ cost(Number(data.get("output_tokens")), outputPerM);
document.getElementById("result").textContent = String(once * Number(data.get("calls")));
}
form.addEventListener("input", render);
render();
</script>
单价出处:Moonshot / Kimi 官方价表
站内推荐
同系工具:Clavue CLI / imux IDE / clavue-2.1
Clavue · CLI 与 Agent 平台
CLI / GUI Agent 运行时、设备登录、会员额度与通用对话 API(api.clavue.com)。开发脚本、CI 与本地工具一条链路。
打开 Clavue ↗imux · 原生 macOS AI IDE
Clavue 平台的原生 IDE:多 Agent 分屏、Ghostty 级终端、Agent Chat、浏览器自动化与 Supervisor——不是又一个 Electron 壳。
了解 imux ↗Clavue 2.1 · 产品级大模型
旗舰模型 clavue-2.1(及 fast / pro / rev):适合复杂推理与长程 Agent 循环。Chat、imux、API 共用会员额度。
查看模型 ↗