We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a672f17 commit 59b2023Copy full SHA for 59b2023
1 file changed
apps/sim/providers/utils.ts
@@ -1,4 +1,4 @@
1
-import { getCostMultiplier, isHosted } from '@/lib/environment'
+import { isHosted } from '@/lib/environment'
2
import { createLogger } from '@/lib/logs/console/logger'
3
import { anthropicProvider } from '@/providers/anthropic'
4
import { azureOpenAIProvider } from '@/providers/azure-openai'
@@ -491,7 +491,6 @@ export function calculateCost(
491
logger.info('Final input cost', { finalInputCost })
492
logger.info('Final output cost', { finalOutputCost })
493
logger.info('Final total cost', { finalTotalCost })
494
-
495
496
return {
497
input: Number.parseFloat(finalInputCost.toFixed(8)), // Use 8 decimal places for small costs
0 commit comments