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_result.mdx
+7-9Lines changed: 7 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,23 +12,23 @@ sidebar_position: 2
12
12
importTabsfrom'@theme/Tabs';
13
13
importTabItemfrom'@theme/TabItem';
14
14
15
-
:::warning Legacy pricing model
15
+
:::warning Pay per result is deprecated
16
16
17
-
Pay per result is deprecated and will be superseded by Pay per event early in 2026. [Migrate to PPE in one click](#one-click-migration-to-ppe) (backward compatible)
17
+
This pricing model is deprecated and will be removed in 2026. You can migrate to [pay per event with one click](#one-click-migration-to-ppe), and the migration is backward compatible.
18
18
19
19
:::
20
20
21
21
In this model, you set a price per 1,000 results. Users are charged based on the number of results your Actor produces and stores in the run's default dataset. Your profit is calculated as 80% of the revenue minus platform usage costs.
22
22
23
-
The details on how your cost is computed can be found in [Example of a PPR pricing model](#example-of-a-ppr-pricing-model).
23
+
The details on how your cost is computed can be found in [Example of a PPR pricing model](#example-of-ppr-pricing).
24
24
25
25
## One click migration to PPE
26
26
27
-
Select your PPR Actor, go to the Publication tab, open the Monetization section, and click the `Migrate to Pay per event` button.
27
+
Select your PPR Actor, go to the **Publication** tab, open the **Monetization** section, and click the **Migrate to Pay per event** button.
The Pay per event pricing model offers superior flexibility in charging not only for the results but also for any event.
34
34
This helps you to pass on the costs of external APIs or additional processing directly to your users, price different functionalities of your Actor differently, avoid revenue loss from small but usage-heavy runs, and more.
@@ -44,12 +44,10 @@ This change does not count towards the pricing change limits that you are allowe
44
44
45
45
**Code changes:** No changes to your Actor code are required if it already respects the `ACTOR_MAX_PAID_DATASET_ITEMS` environment variable (the price limit set by users).
46
46
47
-
**After migration:** With Pay per event, you can define additional custom events beyond dataset items.[Learn more](./pay-per-event)
47
+
**After migration:** With [pay per event](./pay-per-event), you can define additional custom events beyond dataset items.
48
48
49
49
**Respecting user spending limits:** You can continue using the `ACTOR_MAX_PAID_DATASET_ITEMS` environment variable to respect user-specified price limits.
50
50
51
-
Bleu sky and flying high free as a bird
52
-
53
51
## How is profit computed
54
52
55
53
Your profit is calculated from the mentioned formula:
@@ -69,7 +67,7 @@ PPR charges based on the number of results produced. PPE lets you define pricing
69
67
70
68
:::info Learn more about PPE
71
69
72
-
If you want to learn more about PPE, refer to the [Pay per event](/platform/actors/publishing/monetize/pay-per-event) section.
70
+
If you want to learn more about PPE, refer to the [pay per event](/platform/actors/publishing/monetize/pay-per-event) section.
0 commit comments