TOKEN PLANS / OPEN METHOD
完成同一任务要花多少钱?
先核对套餐,再计算一次 API 请求的示例成本。同一任务的真实消耗单独比较。
01 / SUBSCRIPTIONS
订阅与额度
条款随地区和日期变化。美元与人民币保留原币种,订阅额度不换算为保证可完成的任务数。 核验日期: 2026-10-31.
| 平台 | 标准价格/销售地区 | 额度与重要条件 |
|---|---|---|
| Claude Code | 美元 · Pro $20/月;Max $100;Ultra $200官方来源 ↗ | Claude 与 Claude Code 共享额度。Max:每5小时及每周为 Pro 的5倍。Ultra:每周10倍;已验证账户无5小时限制。API 单独计费。缓存写入:5分钟 $2.50/百万 token,1小时 $4。订阅额度不等于固定任务数。尚无同一任务的实测数据。 |
| ChatGPT / Codex | 美元 · Free $0;Go $8;Plus $20;Pro $100 / $200 / $500 每月官方来源 ↗ | ChatGPT Work 与 Codex 共享额度。消耗取决于模型与任务。Pro 目前无5小时限制;可能存在每周限制。API 与订阅分别计费。缓存写入 $2.50/百万 token。输入超过272K时,整个请求的输入及缓存价格×2、输出×1.5。尚无同一任务实测。 |
| Kimi Code | 请查看官方现行价格官方来源 ↗ | 新套餐:Plus及以上可用 Kimi Code,Go无编程额度。保留滚动5小时及月度额度,取消每周限制。旧套餐沿用原规则。国际商店订阅价格及 API 数值费率尚未核实。Kimi API 单独按量计费,不使用 Kimi Code 额度。尚无同一任务实测。 |
| Z.ai / ZCode | 国际美元价 · Lite $18;Pro $80;Max $168 每月官方来源 ↗ | Lite:每周10,000积分;Pro:Lite的6倍;Max:14倍。积分不等于 token 或任务数量。ZCode 是客户端,GLM Coding Plan 是订阅,API 单独计费。中国大陆 BigModel 标准月价:¥118 / ¥538 / ¥1078,并非美元换算。估算不含缓存存储及工具费用。尚无任务实测。 |
| Qwen Code / QwenCloud | 国际美元价 · Lite $8;Essential $16;Standard $25;Pro $80 每月官方来源 ↗ | QwenCloud 新加坡:每月11,500 / 25,500 / 45,000 / 180,000积分。未用额度不结转,额外积分包另购。订阅来自 QwenCloud;API 示例来自独立的 Alibaba Model Studio。此 API 费率仅适用于输入≤32K,更长请求采用其他阶梯。缓存读取费率未核实。尚无同一任务实测。 |
| MiniMax Code / M Plan | 国际美元价 · Go $22;Explore $55;Build $132 每月官方来源 ↗ | Explore 为 Go 的3倍;Build为7.5倍。实际剩余额度请查看账户用量页面。包含 MiniMax Code,额外积分另购。现名为 M Plan,旧 Coding/Token Plan 条款可能不同。价格不含首月优惠。API 与订阅额度分别计费。尚无同一任务实测。 |
| Xiaomi MiMo Code | MiMo Token Plan — 查看官方价格官方来源 ↗ | Token Plan 的数值价格及额度尚未核实。MiMo Code 支持 MiMo 及其他供应商,限制取决于所选接入方式。MiMo Code 是小米的智能体,不是模型或 API 费率。MiMo Auto 免费接入属于限时活动。API 数值费率尚未核实。尚无同一任务实测。 |
02 / API RATES
API 成本计算器
这是单次 API 调用的假设场景,不是基准实测,也不是订阅内一项任务的价格。不含缓存写入、工具及其他费用。不同模型完成相同工作可能消耗不同数量的 Token。
表格在同一币种内按估算 API 成本排序,不是代码质量排名。
| 平台 | 示例模型 | 每百万输入/输出 | 请求成本估算 |
|---|---|---|---|
| Claude Code | claude-sonnet-5-5全球 API、标准处理、上下文最多1M。缓存写入及工具另计。API 费率 ↗ | USD 2 / 10 | 暂无核实费率 |
| ChatGPT / Codex | gpt-6.1-sol标准处理,每次请求输入最多272K;更长请求采用其他费率。缓存写入及工具另计。API 费率 ↗ | USD 2 / 10 | 暂无核实费率 |
| Kimi Code | 暂无核实费率 | — | 暂无核实费率 |
| Z.ai / ZCode | glm-5.3Z.ai 国际 API。缓存存储及工具另计。API 费率 ↗ | USD 1.4 / 4.4 | 暂无核实费率 |
| Qwen Code / QwenCloud | qwen3-coder-flash-2025-07-28Alibaba Model Studio 新加坡 / International;每次请求输入最多32K。缓存费率未知。API 费率 ↗ | USD 0.3 / 1.5 | 暂无核实费率 |
| MiniMax Code / M Plan | MiniMax-M3.1-FlashMiniMax 国际 API 标准费率;不含额外费用。API 费率 ↗ | USD 0.15 / 0.6 | 暂无核实费率 |
| Xiaomi MiMo Code | 暂无核实费率 | — | 暂无核实费率 |
03 / FIFO–01
同一任务的真实测量
下载统一的 FIFO–01 任务契约并用自己的代理运行。目前尚无真实消耗测量。可填写用量或导入 CSV,数据仅在浏览器内处理。
| 平台 | 示例模型 | 输入 Token | 输出 Token | 其中缓存读取 Token | 单次调用最大输入 | 验收通过 | 按用量计算的成本 |
|---|---|---|---|---|---|---|---|
| Claude Code | claude-sonnet-5-5 | 尚未测量 | |||||
| ChatGPT / Codex | gpt-6.1-sol | 尚未测量 | |||||
| Kimi Code | — | 尚未测量 | |||||
| Z.ai / ZCode | glm-5.3 | 尚未测量 | |||||
| Qwen Code / QwenCloud | qwen3-coder-flash-2025-07-28 | 尚未测量 | |||||
| MiniMax Code / M Plan | MiniMax-M3.1-Flash | 尚未测量 | |||||
| Xiaomi MiMo Code | — | 尚未测量 |
验收标准
接口准确、复位正确、空满边界、同时入队出队、数据顺序及可复现随机测试。先保证正确,再比较成本。
用量 ≠ 回答长度
记录代理与模型版本、设置、全部调用和重试、输入输出、推理、缓存读写、最大提示词及测试结果。不同分词器的 Token 不能视为等量工作。
FIFO–01 / task.md
# FIFO–01: one task, one contract Version: fifo-v1. Canonical prompt language: English. Freeze this file and the acceptance testbench before running any provider. This is a proposed comparison protocol, not a published benchmark result. ## Assignment Implement a synthesizable single-clock synchronous FIFO in SystemVerilog. File: rtl/fifo.sv. Module name: fifo. Parameters WIDTH=8 and DEPTH=16. DEPTH is a power of two and at least 2. Also support WIDTH=16, DEPTH=4. Ports: ```systemverilog input logic clk, input logic rst, input logic in_valid, output logic in_ready, input logic [WIDTH-1:0] in_data, output logic out_valid, input logic out_ready, output logic [WIDTH-1:0] out_data ``` The interface declarations above illustrate widths; the final module must use valid complete parameterized SystemVerilog syntax. - rst is active-high and synchronous. It clears occupancy and pointers. - A push occurs on a rising edge when in_valid && in_ready and !rst. - A pop occurs on a rising edge when out_valid && out_ready and !rst. - in_ready is true exactly when occupancy < DEPTH. It is false when full, even if out_ready is true in that cycle. - out_valid is true exactly when occupancy > 0. - out_data exposes the oldest stored word when out_valid is true; it may be unspecified when empty. There is no empty-FIFO fall-through. - Simultaneous push/pop preserves occupancy and FIFO order. - Reset has priority over push/pop. Do not require clearing the memory array. Provide RTL, a cocotb test suite, a minimal reproducible simulation command, and a short explanation. Do not modify the acceptance testbench. Do not add network dependencies, generated IP, or proprietary simulator requirements. ## Common acceptance gates The experiment owner must prepare one independent read-only testbench, pin its revision/hash, and use it unchanged for all runs. Agent-authored tests are useful artifacts but are not an independent acceptance oracle. 1. Compile and lint with the same pinned tool versions. 2. Reset while idle and while data is queued. 3. Check empty/full boundaries, rejected pushes/pops and stable ordering. 4. Check simultaneous push/pop, wraparound and output backpressure. 5. Run a seeded random scoreboard test (seed 42, at least 1000 cycles). 6. Repeat for WIDTH=16, DEPTH=4. Do not call a run successful until every fixed acceptance gate passes. ## Fair comparison - Same task and repository revision, same read-only testbench. - Record agent version, exact model ID, region and API/subscription storefront. - Same time/tool/retry budgets and model settings where comparable. - Start clean. Save every prompt, response, tool invocation and repair loop. - Use billed provider usage. Do not estimate tokens from visible answer length. - Record input (including cache reads), cached reads, output/reasoning, cache writes, largest single prompt, retries, elapsed time and test outcome. - Keep subscription quota/credits separate from API token billing. ## CSV import Required columns (UTF-8, comma-separated): task_id,provider,model,input_tokens,cached_input_tokens,output_tokens,max_prompt_tokens,passed task_id must be fifo-v1. Provider IDs: claude, openai, kimi, zai, qwen, minimax, mimo. The calculator only uses a model rate when the exact imported model matches its verified model example and the encoded context tier is applicable. It excludes cache writes, tool fees and other charges. Retain those separately in the trace; this estimate is not an invoice or measured subscription capacity. Blank counts mean not measured. A zero count is a measured numerical value, not a substitute for missing data. No provider measurements ship with the site.