API 成本計算器
根據輸入和輸出 token 數量估算 LLM API 成本,價格表取自官方定價頁面並標註日期。
使用方法
- Choose a model.
- Enter input and output token counts (and cached input tokens if you know them), or paste text to estimate.
- Set requests per day to see the daily and monthly (×30) totals.
注意事項
Prices are the list prices verified on the providers' official pricing pages on 2026-11-16 (USD per 1M tokens). Discounts, free tiers, batch pricing and exchange rates are not included. Text mode estimates tokens as characters ÷ 4, which is not an exact count. The data date and sources are always shown inside the tool.
常見問題
- What are cached input tokens?
- The part of your input that a prompt cache reuses. Many models bill reused input at a lower rate. Here you can mark part of the input as cached; it is billed at the model's cached rate, or at the normal input rate when the model has no cached price.
- Will this match my actual bill?
- It is a list-price estimate. Actual bills vary with your plan, discounts, minimums and how tokens are metered. Always confirm on the provider's pricing page and your billing console.