官方单价计算器 · 官方价表

qwen3.8-max 用量账单计算器

阿里云百炼平台上的通义千问 Max 模型

单次¥0.100800
每日¥201.6000
30 天¥6048.00
项目取值
模型qwen3.8-max
档位北京 PAI · 输入 ≤1M
输入单价¥14.4 / 百万 tokens
输出单价¥43.2 / 百万 tokens
缓存读单价—
单次输入4000 tokens
单次输出1000 tokens
每日调用2000 次
单次费用¥0.1008
每日费用¥201.6
30 天费用¥6048

Python

INPUT_PER_M = 14.4
OUTPUT_PER_M = 43.2
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("CNY", once, day, month)

JavaScript

const inputPerM = 14.4;
const outputPerM = 43.2;
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("CNY", once, day, month);

HTML

<form id="bill">
  <p>qwen3.8-max 官方单价计算器</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 = 14.4;
  const outputPerM = 43.2;
  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>

单价出处:通义 / 阿里云百炼 官方价表

qwen3.8-max 官方单价计算器:每日 2000 次,输入 4000、输出 1000 · GrokCode 倍率榜