{
  "type": "formula",
  "id": "ascend-cost",
  "slug": "ascend-cost",
  "domain": "昇腾部署",
  "title": "昇腾服务吞吐与单位成本换算器：每千 token 多少钱",
  "h1": "吞吐与单位成本换算器",
  "question": "我这个吞吐、这个卡价，摊到每千 token 上是多少钱？一天能扛多少请求？",
  "summary": "官方只给口径，不给价格：成本 = 实测吞吐 × 按实际计价。本工具把口径变成算式——输入纯模型实测吞吐、卡数、单价与平均输出长度，算出服务化吞吐、日可支撑请求数与每千 token 成本。注意：单位成本只取决于「单卡吞吐 × 单价」，与卡数无关（线性假设下）。",
  "keywords": "昇腾成本估算,每千 token 成本,服务化吞吐,tokens/s,卡数换算,推理成本,吞吐折算",
  "updated": "2026-11-19",
  "source": {
    "title": "G8 容量与成本（吞吐折算与成本取数口径）",
    "url": "/report-course-ascend-g8.html"
  },
  "inputs": [
    {
      "id": "tps",
      "label": "纯模型实测吞吐（单卡）",
      "unit": "tokens/s",
      "default": "500",
      "step": "0.1",
      "hint": "实测值：纯模型跑出来的，不是服务化的"
    },
    {
      "id": "eff",
      "label": "服务化折算系数",
      "unit": "倍",
      "default": "0.85",
      "step": "0.01",
      "hint": "官方口径 0.8~0.9：服务化吞吐按纯模型的 80%~90% 估"
    },
    {
      "id": "cards",
      "label": "卡数",
      "unit": "张",
      "default": "8",
      "step": "1",
      "hint": "按你的集群/单机配置填"
    },
    {
      "id": "price",
      "label": "单卡单价",
      "unit": "元/天",
      "default": "60",
      "step": "0.01",
      "hint": "官方文档不含价格，按你的实际采购或云计费填"
    },
    {
      "id": "out_len",
      "label": "平均每请求输出 token 数",
      "unit": "token",
      "default": "300",
      "step": "1",
      "hint": "用来把 token 量折成请求数"
    }
  ],
  "outputs": [
    {
      "id": "tps_service",
      "label": "单卡服务化吞吐",
      "unit": "tokens/s",
      "expr": "tps*eff",
      "digits": 1
    },
    {
      "id": "tps_cluster",
      "label": "集群吞吐",
      "unit": "tokens/s",
      "expr": "tps*eff*cards",
      "digits": 1
    },
    {
      "id": "tok_day",
      "label": "日可产出 token",
      "unit": "万 token/日",
      "expr": "tps*eff*cards*86400/10000",
      "digits": 1
    },
    {
      "id": "req_day",
      "label": "日可支撑请求数",
      "unit": "次/日",
      "expr": "Math.floor(tps*eff*cards*86400/out_len)",
      "digits": 0
    },
    {
      "id": "cost_day",
      "label": "日用卡成本",
      "unit": "元/日",
      "expr": "price*cards",
      "digits": 2
    },
    {
      "id": "cost_k",
      "label": "每千 token 成本",
      "unit": "元/千token",
      "expr": "price*1000/(tps*eff*86400)",
      "digits": 4
    }
  ],
  "formulas": [
    {
      "name": "服务化吞吐",
      "expr": "纯模型实测吞吐 × 服务化系数（0.8~0.9）× 卡数",
      "note": "官方口径：服务化吞吐按纯模型折算，不要直接拿纯模型数字对外承诺"
    },
    {
      "name": "日可支撑请求数",
      "expr": "集群吞吐(tokens/s) × 86400 ÷ 平均输出token数",
      "note": "只算输出侧；实际还受输入侧与并发限制"
    },
    {
      "name": "每千 token 成本",
      "expr": "单卡单价 × 1000 ÷ (单卡吞吐 × 折算系数 × 86400)",
      "note": "卡数在这个式子里约掉了：单位成本取决于单卡吞吐与单价，不取决于规模（线性假设）"
    },
    {
      "name": "取数纪律",
      "expr": "吞吐用实测；单价按实际采购/计费",
      "note": "官方文档不含价格与「一张卡多少并发」的通用值，任何写死的行情数字都会过期"
    }
  ],
  "notes": [
    "公式骨架与折算系数（0.8~0.9）来自 G8《容量与成本》：成本 = 实测吞吐 × 按实际计价；官方不给价格，也不给「一张卡支持多少并发」的通用值。",
    "每千 token 成本与卡数无关，前提是线性扩展——真实集群有并行效率损失（通信、调度），卡数越多偏离越大，请用实测吞吐而不是单卡吞吐 × 卡数来修正。",
    "本工具不含电费、机架、运维人力与网络成本；只算「算力卡」这一项，用于量级判断，不用于报价。",
    "输入侧 token 也会消耗算力（尤其是长上下文），本工具只用输出侧折算请求数，属于偏乐观的估法。"
  ],
  "sourceUrl": "https://loudilaoshi.com/report-course-ascend-g8.html",
  "canonical": "https://loudilaoshi.com/tools/ascend-cost.html",
  "license": "转载或引用请注明作者「娄迪老师」与原文链接"
}