Skip to content

Commit a87138b

Browse files
Apply suggestions from code review
Co-authored-by: Michał Olender <[email protected]>
1 parent 82b0ffb commit a87138b

File tree

5 files changed

+19
-19
lines changed

5 files changed

+19
-19
lines changed

apify-api/openapi/paths/actor-runs/actor-runs@{runId}@charge.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ post:
77
The event you are charging for must be one of the configured events in your Actor. If the Actor is not set up as pay per event, or if the event is not configured,
88
the endpoint will return an error. The endpoint must be called from the Actor run itself, with the same API token that the run was started with.
99
10-
For more details about pay-per-event (PPE) pricing, see our [PPE documentation](/platform/actors/publishing/monetize/pay-per-event).
10+
For more details about pay-per-event (PPE) pricing, refer to our [PPE documentation](/platform/actors/publishing/monetize/pay-per-event).
1111
1212
operationId: PostChargeRun
1313
parameters:

sources/academy/ai/ai-agents.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ Apify's pay-per-event (PPE) pricing model allows charging users based on specifi
253253

254254
:::info How pay-per-event pricing works
255255

256-
If you want more details about PPE pricing, please refer to our [PPE documentation](/platform/actors/publishing/monetize/pay-per-event).
256+
If you want more details about PPE pricing, refer to our [PPE documentation](/platform/actors/publishing/monetize/pay-per-event).
257257

258258
:::
259259

sources/academy/platform/get_most_of_actors/store_basics/how_actor_monetization_works.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Monetizing your Actor on the Apify platform involves several key steps:
3535

3636
:::info Rental pricing details
3737

38-
If you want more details about rental pricing, please refer to our [rental pricing documentation](/platform/actors/publishing/monetize/rental).
38+
If you want more details about rental pricing, refer to our [rental pricing documentation](/platform/actors/publishing/monetize/rental).
3939

4040
:::
4141

@@ -55,7 +55,7 @@ If you want more details about rental pricing, please refer to our [rental prici
5555

5656
:::info Pay-per-result details
5757

58-
If you want more details about PPR pricing, please refer to our [PPR documentation](/platform/actors/publishing/monetize/pay-per-result).
58+
If you want more details about PPR pricing, refer to our [PPR documentation](/platform/actors/publishing/monetize/pay-per-result).
5959

6060
:::
6161

@@ -87,7 +87,7 @@ If you want more details about PPR pricing, please refer to our [PPR documentati
8787

8888
:::info Pay-per-event details
8989

90-
If you want more details about PPE pricing, please refer to our [PPE documentation](/platform/actors/publishing/monetize/pay-per-event).
90+
If you want more details about PPE pricing, refer to our [PPE documentation](/platform/actors/publishing/monetize/pay-per-event).
9191

9292
:::
9393

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ One of the options to charge for the time spent on starting the Actor is to char
148148

149149
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`. This event is enabled by default for all new PPE Actors, and when you use it Apify will cover the compute unit cost of the first 5 seconds of every Actor run.
150150

151-
The default price of the event is set intentionally low. This pricing means that the free 5 seconds of compute we provide costs us more than the revenue generated from the event. We've made this investment to **support our creator community** by reducing your startup costs while keeping your Actors competitively priced for users.
151+
The default price of the event is set intentionally low. This pricing means that the free 5 seconds of compute we provide costs us more than the revenue generated from the event. We've made this investment to _support our creator community_ by reducing your startup costs while keeping your Actors competitively priced for users.
152152

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

@@ -171,13 +171,13 @@ For new Actors, this event is added automatically as you can see on the followin
171171

172172
#### Synthetic start event for existing Actors
173173

174-
If you have existing Actors, you can add this event manually in Apify Console in the Publication tab.
174+
If you have existing Actors, you can add this event manually in Apify Console in the **Publication** tab.
175175

176176
#### Synthetic start event for Actors with start event
177177

178178
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.
179179

180-
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.
180+
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.
181181

182182
### Set memory limits
183183

@@ -320,8 +320,8 @@ You create a social media monitoring Actor with the following pricing:
320320

321321
You have two main strategies for charging AI-related operations:
322322

323-
1. **Fixed event pricing** (like `sentiment-analysis` above): Charge a fixed amount per operation, regardless of actual LLM costs
324-
2. **Usage-based pricing**: Use events like `llm-token` that charge based on actual LLM usage costs
323+
1. _Fixed event pricing_ (like `sentiment-analysis` above): Charge a fixed amount per operation, regardless of actual LLM costs
324+
2. _Usage-based pricing_: Use events like `llm-token` that charge based on actual LLM usage costs
325325

326326
Fixed pricing is simpler for users to predict, while usage-based pricing more accurately reflects your actual costs.
327327

@@ -392,15 +392,15 @@ Fixed pricing is simpler for users to predict, while usage-based pricing more ac
392392
</tbody>
393393
</table>
394394

395-
Your profit and costs are computed **only from the first two users** since they are on Apify paid plans.
395+
Your profit and costs are computed _only from the first two users_ since they are on Apify paid plans.
396396

397397
The platform usage costs are just examples, but you can see the actual costs in the [Computing your costs for PPE and PPR Actors](/platform/actors/publishing/monetize/pricing-and-costs#computing-your-costs-for-ppe-and-ppr-actors) section.
398398

399399
### Revenue breakdown
400400

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**
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_
404404

405405
## Event names
406406

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ PPR charges based on the number of results produced. PPE lets you define pricing
3535

3636
:::info Learn more about PPE
3737

38-
If you want to learn more about PPE, please refer to the [Pay per event](/platform/actors/publishing/monetize/pay-per-event) section.
38+
If you want to learn more about PPE, refer to the [Pay per event](/platform/actors/publishing/monetize/pay-per-event) section.
3939

4040
:::
4141

@@ -260,15 +260,15 @@ You make your Actor PPR and set the price to be _$1/1,000 results_. During the f
260260
</tbody>
261261
</table>
262262

263-
Your profit and costs are computed **only from the first two users** since they are on Apify paid plans.
263+
Your profit and costs are computed _only from the first two users_ since they are on Apify paid plans.
264264

265265
The platform usage costs are just examples, but you can see the actual costs in the [Computing your costs for PPE and PPR Actors](/platform/actors/publishing/monetize/pricing-and-costs#computing-your-costs-for-ppe-and-ppr-actors) section.
266266

267267
### Revenue breakdown
268268

269-
- **Revenue (paid users only)**: $50.00 + $20.00 = **$70.00**
270-
- **Platform cost (paid users only)**: $5.00 + $2.00 = **$7.00**
271-
- **Profit**: 0.8 × $70.00 − $7.00 = **$49.00**
269+
- _Revenue (paid users only): $50.00 + $20.00 = $70.00_
270+
- _Platform cost (paid users only): $5.00 + $2.00 = $7.00_
271+
- _Profit: 0.8 × $70.00 − $7.00 = $49.00_
272272

273273
## Next steps
274274

0 commit comments

Comments
 (0)