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
常用試算情境預設:
最低總成本供應商
$1.75
Perplexity (perplexity/codellama-34b-instruct)
Highest Cost Provider
$1.75
Perplexity (perplexity/codellama-34b-instruct)
最高與最低價差
$0.00 (Free)
Total workload difference
最高可節省比例
0.0%
Choosing lowest vs highest
各供應商預估成本排名(僅列出具備完整 Input 與 Output 報價之方案)
若某供應商缺少 Input 或 Output 任一必要價格欄位,系統不會將其納入總成本排名,以避免不完整的成本比較。
| Rank | Provider · LiteLLM ID | Input / 1M | Output / 1M | Input Cost | Output Cost | Total Cost | vs Cheapest |
|---|---|---|---|---|---|---|---|
| #1 | Perplexity· Standard · Global perplexity/codellama-34b-instruct | $0.35 | $1.40 | $0.3500 | $1.40 | $1.75 | Cheapest |
1 offerings excluded from cost ranking (missing required price fields or filtered out):
Together AI (together_ai/togethercomputer/CodeLlama-34b-Instruct): Non-text modality or incompatible billing unit