(usd float64)
| 154 | } |
| 155 | |
| 156 | func usdToAIC(usd float64) float64 { |
| 157 | return usd / 0.01 |
| 158 | } |
| 159 | |
| 160 | func computeModelInferenceCostUSD(provider, model string, inputTokens, outputTokens, cacheReadTokens, cacheWriteTokens, reasoningTokens int) float64 { |
| 161 | pricing, ok := findModelPricing(provider, model) |
no outgoing calls
no test coverage detected