From 87be8da84809e2efb1e02f9b0076f8c1a2b40e61 Mon Sep 17 00:00:00 2001 From: Vikhyath Mondreti Date: Wed, 30 Jul 2025 11:05:27 -0700 Subject: [PATCH] improvement(docs): add base exec charge info to docs --- apps/docs/content/docs/execution/advanced.mdx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/apps/docs/content/docs/execution/advanced.mdx b/apps/docs/content/docs/execution/advanced.mdx index d510b676cb8..a928211016e 100644 --- a/apps/docs/content/docs/execution/advanced.mdx +++ b/apps/docs/content/docs/execution/advanced.mdx @@ -136,12 +136,18 @@ Sim automatically calculates costs for all AI model usage: ### How Costs Are Calculated +Every workflow execution includes two cost components: + +**Base Execution Charge**: $0.001 per execution + +**AI Model Usage**: Variable cost based on token consumption ```javascript -cost = (inputTokens × inputPrice + outputTokens × outputPrice) / 1,000,000 +modelCost = (inputTokens × inputPrice + outputTokens × outputPrice) / 1,000,000 +totalCost = baseExecutionCharge + modelCost ``` - Prices are per million tokens. The calculation divides by 1,000,000 to get the actual cost. + AI model prices are per million tokens. The calculation divides by 1,000,000 to get the actual cost. Workflows without AI blocks only incur the base execution charge. ### Pricing Options