上线前先估算成本
成本由模型价格、输入 token、输出 token 和请求量共同决定。先用定价计算器做上线前估算,再在上线后追踪项目和密钥层面的真实用量。
| input cost | input_tokens × input_price_per_1M / 1,000,000 |
|---|---|
| output cost | output_tokens × output_price_per_1M / 1,000,000 |
| monthly estimate | per-request estimate × expected monthly requests |