How is monthly AI API spend calculated from input and output tokens?
Monthly LLM API cost is computed by multiplying your total monthly input and output token volume across requests by each provider's published per-1M token rate, factoring in cached input discounts where applicable.