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
+15-13Lines changed: 15 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -144,20 +144,22 @@ We recommend using the synthetic Actor start event in PPE Actors. It benefits bo
144
144
145
145
Starting an Actor takes time, and creates additional cost for the Actor creator, because the profit equals revenue minus platform costs.
146
146
147
-
One of the options to charge for the time spent on starting the Actor is to charge an “Actor start” event. Let’s say $1 for 1000 Actor starts. Unfortunately, this makes your Actor comparably expensive with other tools on the market (outside of [Apify Store](/platform/console/store)) that do not incur this startup cost.
147
+
One of the options to charge for the time spent on starting the Actor is to charge an “Actor start” event. Let’s say $1 for 1000 Actor starts. Unfortunately, this makes your Actor comparably expensive with other tools on the market (outside of [Apify Store](/platform/console/store)) that do not incur this startup cost.
148
148
149
-
We want to make it easier for Apify Store creators to stay competitive. To do that, we have the Apify Actor synthetic start event `apify-actor-start`.
149
+
We want to make it easier for Actor creators to stay competitive, but also help them to be profitable. Therefore, we have the Apify Actor synthetic start event `apify-actor-start`.
150
150
151
-
Users of your Actor are charged one event for each GB of memory used by the Actor (at least one event per run). We _strongly_ suggest setting the price of this event to $0.0001 to remain competitive in the Store and attractive for your customers. If you define this event, you also save 5 seconds of Actor runtime from each Actor run, which won't be deducted from your payout profits.
151
+
#### How the synthetic start event works
152
152
153
-
:::note Automatic charging of synthetic start event
154
-
155
-
You must _not_ manually charge for the synthetic start event (`apify-actor-start`) in your Actor code.
156
-
157
-
If you attempt to charge this event yourself, the operation will fail.
158
-
This event is _always_ charged automatically by the Apify platform whenever your Actor starts or is resurrected.
159
-
160
-
:::
153
+
- The Apify Actor start event is **automatically enabled** for all new PPE Actors. For existing Actors, you can enable it in Apify Console.
154
+
- Apify **automatically charges** the event.
155
+
- 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.
156
+
- The price of the event is **$0.00005**, which equals **$0.05 per 1,000 starts**.
157
+
- 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
+
- 128 MB RAM: 1 event, $0.00005
159
+
- 1 GB RAM: 1 event, $0.00005
160
+
- 4 GB RAM: 4 events, $0.0002
161
+
- You can increase the price of the event if you wish, but you **won't get more free compute**.
162
+
- You can delete the event if you wish, but if you do, you will **lose the free 5 seconds** of compute.
161
163
162
164
#### Synthetic start event for new Actors
163
165
@@ -167,13 +169,13 @@ For new Actors, this event is added automatically as you can see on the followin
167
169
168
170
#### Synthetic start event for existing Actors
169
171
170
-
If you have existing Actors, you can add this event manually in Apify Console.
172
+
If you have existing Actors, you can add this event manually in Apify Console in the Publication tab.
171
173
172
174
#### Synthetic start event for Actors with start event
173
175
174
176
Your Actor might already have a start event defined, such as `actor-start` or another variant of the event name. In this case, you can choose whether to use the synthetic start event or keep the existing start event.
175
177
176
-
If you want to use the synthetic start event, remove the existing start event from your Actor and add the synthetic start event in Apify Console.
178
+
If you want to use the synthetic start event, remove the existing start event from your Actor and add the synthetic start event in Apify Console in the Publication tab.
0 commit comments