From 38fe260d2c9154346446e324c923965fe5b8ac66 Mon Sep 17 00:00:00 2001 From: Shuchang Zheng Date: Mon, 22 Sep 2025 00:50:28 -0400 Subject: [PATCH] update to $0.05 per step both in frontend and backend (#3495) --- skyvern/forge/sdk/workflow/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skyvern/forge/sdk/workflow/service.py b/skyvern/forge/sdk/workflow/service.py index 6f428456..b8d32a58 100644 --- a/skyvern/forge/sdk/workflow/service.py +++ b/skyvern/forge/sdk/workflow/service.py @@ -1430,7 +1430,7 @@ class WorkflowService: # TODO: This is a temporary cost calculation. We need to implement a more accurate cost calculation. # successful steps are the ones that have a status of completed and the total count of unique step.order successful_steps = [step for step in workflow_run_steps if step.status == StepStatus.completed] - total_cost = 0.1 * (len(successful_steps) + len(text_prompt_blocks)) + total_cost = 0.05 * (len(successful_steps) + len(text_prompt_blocks)) return WorkflowRunResponseBase( workflow_id=workflow.workflow_permanent_id, workflow_run_id=workflow_run_id,