Token 成本試算器 (Price Calculator)
依據每次請求之 Input / Output Token 數量與請求次數,精確試算並排名各供應商總成本。
重要說明:下方輸入的 Input / Output Tokens 代表「每次請求 (Per Request)」的 Token 數量,總成本會自動乘以 Request Count(請求次數)。
Total Cost = ((Input Tokens × Input USD/1M + Output Tokens × Output USD/1M) / 1,000,000) × Request Count
常用試算情境預設:
最低總成本供應商
$3.04
Weights & Biases (Weave) (wandb/zai-org/GLM-5.2)
Highest Cost Provider
$7.30
Scaleway Generative APIs (scaleway/glm-5.2)
最高與最低價差
$4.26
Total workload difference
最高可節省比例
58.4%
Choosing lowest vs highest
Estimated Workload Cost by Provider (USD)
各供應商預估成本排名(僅列出具備完整 Input 與 Output 報價之方案)
若某供應商缺少 Input 或 Output 任一必要價格欄位,系統不會將其納入總成本排名,以避免不完整的成本比較。
| Rank | Provider · LiteLLM ID | Input / 1M | Output / 1M | Input Cost | Output Cost | Total Cost | vs Cheapest |
|---|---|---|---|---|---|---|---|
| #1 | Weights & Biases (Weave)· Standard · Global wandb/zai-org/GLM-5.2 | $0.62 | $2.42 | $0.6200 | $2.42 | $3.04 | Cheapest |
| #2 | DeepInfra· Standard · Global deepinfra/zai-org/GLM-5.2 | $0.75 | $2.40 | $0.7500 | $2.40 | $3.15 | +$0.1100 (save 3.5%) |
| #3 | OpenRouter· Standard · Global openrouter/z-ai/glm-5.2 | $0.069 | $4.30 | $0.0690 | $4.30 | $4.37 | +$1.33 (save 30.4%) |
| #4 | Cloudflare Workers AI· Standard · Global cloudflare/@cf/zai-org/glm-5.2 | $1.40 | $4.40 | $1.40 | $4.40 | $5.80 | +$2.76 (save 47.6%) |
| #5 | Alibaba DashScope· Standard · Global dashscope/glm-5.2 | $1.40 | $4.40 | $1.40 | $4.40 | $5.80 | +$2.76 (save 47.6%) |
| #6 | Nebius AI Studio· Standard · Global nebius/zai-org/GLM-5.2 | $1.40 | $4.40 | $1.40 | $4.40 | $5.80 | +$2.76 (save 47.6%) |
| #7 | Together AI· Standard · Global together_ai/zai-org/GLM-5.2 | $1.40 | $4.40 | $1.40 | $4.40 | $5.80 | +$2.76 (save 47.6%) |
| #8 | Novita AI· Standard · Global novita/zai-org/glm-5.2 | $1.40 | $4.40 | $1.40 | $4.40 | $5.80 | +$2.76 (save 47.6%) |
| #9 | Baseten· Standard · Global baseten/zai-org/GLM-5.2 | $1.40 | $4.40 | $1.40 | $4.40 | $5.80 | +$2.76 (save 47.6%) |
| #10 | Google Vertex AI (Zai)· Standard · Global vertex_ai/zai-org/glm-5.2-maas | $1.40 | $4.40 | $1.40 | $4.40 | $5.80 | +$2.76 (save 47.6%) |
| #11 | Scaleway Generative APIs· Standard · Global scaleway/glm-5.2 | $1.80 | $5.50 | $1.80 | $5.50 | $7.30 | +$4.26 (save 58.4%) |