Skip to content

Commit 423e0c8

Browse files
icecrasher321waleedlatif
authored andcommitted
improvement(docs): add base exec charge info to docs (#826)
1 parent 7e96e4a commit 423e0c8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

apps/docs/content/docs/execution/advanced.mdx

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,18 @@ Sim automatically calculates costs for all AI model usage:
136136

137137
### How Costs Are Calculated
138138

139+
Every workflow execution includes two cost components:
140+
141+
**Base Execution Charge**: $0.001 per execution
142+
143+
**AI Model Usage**: Variable cost based on token consumption
139144
```javascript
140-
cost = (inputTokens × inputPrice + outputTokens × outputPrice) / 1,000,000
145+
modelCost = (inputTokens × inputPrice + outputTokens × outputPrice) / 1,000,000
146+
totalCost = baseExecutionCharge + modelCost
141147
```
142148

143149
<Callout type="info">
144-
Prices are per million tokens. The calculation divides by 1,000,000 to get the actual cost.
150+
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.
145151
</Callout>
146152

147153
### Pricing Options

0 commit comments

Comments
 (0)