Calculate the cost of API requests based on token usage and model pricing.
Model:
Input Tokens:
Output Tokens:
Total Tokens:
Total Cost:
💡 Quick Reference
Prices are calculated per million tokens. For example, if input price is $3.00/M and you use 1,000 tokens,
the cost would be: (1,000 / 1,000,000) × $3.00 = $0.003