Skip to content

Commit 6cf2de2

Browse files
docs: Rebase and PR comments
1 parent 148ca1a commit 6cf2de2

File tree

1 file changed

+21
-27
lines changed

1 file changed

+21
-27
lines changed

sources/platform/actors/publishing/monetize/pay_per_event.mdx

Lines changed: 21 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ When using [Crawlee](https://crawlee.dev/), use `crawler.autoscaledPool.abort()`
132132

133133
## Best practices for PPE Actors
134134

135-
Use our SDKs ([JS](/sdk/js/) and, [Python](/sdk/python/) or use [`apify actor charge`](/cli/docs/next/reference#apify-actor-charge-eventname) when using our Apify CLI) to simplify PPE implementation into your Actor. SDKs help you handle pricing, usage tracking, idempotency keys, API errors, and, event charging via an API. You can also choose not to use it, but then you must handle API integration and possible edge cases manually.
135+
Use our [SDKs](/sdk) (JS and, Python or use [`apify actor charge`](/cli/docs/next/reference#apify-actor-charge-eventname) when using our Apify CLI) to simplify PPE implementation into your Actor. SDKs help you handle pricing, usage tracking, idempotency keys, API errors, and, event charging via an API. You can also choose not to use it, but then you must handle API integration and possible edge cases manually.
136136

137137
### Use synthetic start event `apify-actor-start`
138138

@@ -152,16 +152,16 @@ The default price of the event is set intentionally low. This pricing means that
152152

153153
#### How the synthetic start event works
154154

155-
- The Apify Actor start event is **automatically enabled** for all new PPE Actors. For existing Actors, you can enable it in Apify Console.
156-
- Apify **automatically charges** the event.
155+
- The Apify Actor start event is _automatically enabled_ for all new PPE Actors. For existing Actors, you can enable it in Apify Console.
156+
- Apify _automatically charges_ the event.
157157
- You must _not_ manually charge for the synthetic start event (`apify-actor-start`) in your Actor code. If you attempt to charge this event yourself, the operation will fail.
158-
- The default price of the event is **$0.00005**, which equals **$0.05 per 1,000 starts**. We recommend keeping the default price to keep your Actors competitive.
159-
- The number of events charged **depends on the memory** of the Actor run. Up to and including 1 GB of RAM, the event is charged once. Then it's charged once for each extra GB of memory. For example:
158+
- The default price of the event is _$0.00005_, which equals _$0.05 per 1,000 starts_. We recommend keeping the default price to keep your Actors competitive.
159+
- The number of events charged _depends on the memory_ of the Actor run. Up to and including 1 GB of RAM, the event is charged once. Then it's charged once for each extra GB of memory. For example:
160160
- 128 MB RAM: 1 event, $0.00005
161161
- 1 GB RAM: 1 event, $0.00005
162162
- 4 GB RAM: 4 events, $0.0002
163-
- You can increase the price of the event if you wish, but you **won't get more free compute**.
164-
- You can delete the event if you wish, but if you do, you will **lose the free 5 seconds** of compute.
163+
- You can increase the price of the event if you wish, but you _won't get more free compute_.
164+
- You can delete the event if you wish, but if you do, you will _lose the free 5 seconds_ of compute.
165165

166166
#### Synthetic start event for new Actors
167167

@@ -313,8 +313,8 @@ If you're not using the Apify SDKs (JS/Python), you need to handle idempotency (
313313
You create a social media monitoring Actor with the following pricing:
314314

315315
- `post`: $0.002 per post - count every social media post you extract.
316-
- `profile`: $0.001 per profile - count every user profile you extract.
317-
- `sentiment-analysis`: $0.005 per post - count every post analyzed for sentiment, engagement metrics, and content classification using external LLM APIs.
316+
- `profile`: $0.005 per profile - count every user profile you extract.
317+
- `sentiment-analysis`: $0.01 per post - count every post analyzed for sentiment, engagement metrics, and content classification using external LLM APIs.
318318

319319
:::info Fixed pricing vs. usage-based pricing
320320

@@ -346,47 +346,41 @@ Fixed pricing is simpler for users to predict, while usage-based pricing more ac
346346
<td style={{whiteSpace: 'nowrap'}}>Paid plan</td>
347347
<td>
348348
<div style={{marginBottom: '4px'}}>5,000 × <code>post</code></div>
349-
<div style={{marginBottom: '4px'}}>50 × <code>profile</code></div>
350-
<div>2,000 × <code>sentiment-analysis</code></div>
349+
<div>1,000 × <code>sentiment-analysis</code></div>
351350
</td>
352351
<td>
353352
<div style={{marginBottom: '4px'}}>5,000 × $0.002</div>
354-
<div style={{marginBottom: '4px'}}>50 × $0.001</div>
355-
<div>2,000 × $0.005</div>
353+
<div>1,000 × $0.01</div>
356354
</td>
357-
<td><strong>$20.05</strong></td>
355+
<td><strong>$20</strong></td>
358356
<td>$2.50</td>
359357
</tr>
360358
<tr>
361359
<td>2</td>
362360
<td style={{whiteSpace: 'nowrap'}}>Paid plan</td>
363361
<td>
364362
<div style={{marginBottom: '4px'}}>3,000 × <code>post</code></div>
365-
<div style={{marginBottom: '4px'}}>20 × <code>profile</code></div>
366-
<div>1,000 × <code>sentiment-analysis</code></div>
363+
<div>500 × <code>sentiment-analysis</code></div>
367364
</td>
368365
<td>
369366
<div style={{marginBottom: '4px'}}>3,000 × $0.002</div>
370-
<div style={{marginBottom: '4px'}}>20 × $0.001</div>
371-
<div>1,000 × $0.005</div>
367+
<div>500 × $0.01</div>
372368
</td>
373-
<td><strong>$11.02</strong></td>
369+
<td><strong>$11</strong></td>
374370
<td>$1.50</td>
375371
</tr>
376372
<tr>
377373
<td>3</td>
378374
<td style={{whiteSpace: 'nowrap'}}>Free plan</td>
379375
<td>
380376
<div style={{marginBottom: '4px'}}>1,000 × <code>post</code></div>
381-
<div style={{marginBottom: '4px'}}>5 × <code>profile</code></div>
382-
<div>200 × <code>sentiment-analysis</code></div>
377+
<div>100 × <code>sentiment-analysis</code></div>
383378
</td>
384379
<td>
385380
<div style={{marginBottom: '4px'}}>1,000 × $0.002</div>
386-
<div style={{marginBottom: '4px'}}>5 × $0.001</div>
387-
<div>200 × $0.005</div>
381+
<div>100 × $0.01</div>
388382
</td>
389-
<td><strong>$3.01</strong></td>
383+
<td><strong>$3</strong></td>
390384
<td>$0.40</td>
391385
</tr>
392386
</tbody>
@@ -398,9 +392,9 @@ The platform usage costs are just examples, but you can see the actual costs in
398392

399393
### Revenue breakdown
400394

401-
- _Revenue (paid users only): $20.05 + $11.02 = $31.07_
402-
- _Platform cost (paid users only): $2.50 + $1.50 = $4.00_
403-
- _Profit: 0.8 × $31.07 − $4.00 = $20.86_
395+
- **Revenue (paid users only)**: $20 + $11 = **$31**
396+
- **Platform cost (paid users only)**: $2.50 + $1.50 = **$4**
397+
- **Profit**: 0.8 × $31 − $4 = **$20.80**
404398

405399
## Event names
406400

0 commit comments

Comments
 (0)