You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sources/platform/actors/publishing/monetize/pay_per_event.mdx
+21-27Lines changed: 21 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -132,7 +132,7 @@ When using [Crawlee](https://crawlee.dev/), use `crawler.autoscaledPool.abort()`
132
132
133
133
## Best practices for PPE Actors
134
134
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.
136
136
137
137
### Use synthetic start event `apify-actor-start`
138
138
@@ -152,16 +152,16 @@ The default price of the event is set intentionally low. This pricing means that
152
152
153
153
#### How the synthetic start event works
154
154
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.
157
157
- 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:
160
160
- 128 MB RAM: 1 event, $0.00005
161
161
- 1 GB RAM: 1 event, $0.00005
162
162
- 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.
165
165
166
166
#### Synthetic start event for new Actors
167
167
@@ -313,8 +313,8 @@ If you're not using the Apify SDKs (JS/Python), you need to handle idempotency (
313
313
You create a social media monitoring Actor with the following pricing:
314
314
315
315
-`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.
318
318
319
319
:::info Fixed pricing vs. usage-based pricing
320
320
@@ -346,47 +346,41 @@ Fixed pricing is simpler for users to predict, while usage-based pricing more ac
0 commit comments