Skip to content

Commit 9649ded

Browse files
docs: remove unused example
1 parent 4f8fda3 commit 9649ded

File tree

1 file changed

+0
-76
lines changed

1 file changed

+0
-76
lines changed

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

Lines changed: 0 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -402,82 +402,6 @@ The platform usage costs are just examples, but you can see the actual costs in
402402
- **Platform cost (paid users only)**: $2.50 + $1.50 = **$4.00**
403403
- **Profit**: 0.8 × $31.07 − $4.00 = **$20.86**
404404

405-
{/* ### Example: usage-indexed PPE pricing
406-
407-
- `llm-token-cent`: $0.02 per $0.01 LLM spend - emit one event for each cent billed by your LLM provider.
408-
409-
:::info Simplified example
410-
411-
For the simplicity of the example, we show only the LLM-token-cent event. In reality, you can charge for any event you want.
412-
413-
::: */}
414-
415-
{/* #### Pricing breakdown by user
416-
417-
<table>
418-
<thead>
419-
<tr>
420-
<th>User</th>
421-
<th style={{whiteSpace: 'nowrap'}}>Plan</th>
422-
<th style={{width: '45%'}}>Events</th>
423-
<th style={{width: '35%'}}>Charges</th>
424-
<th style={{whiteSpace: 'nowrap'}}>Total</th>
425-
<th style={{whiteSpace: 'nowrap'}}>Cost</th>
426-
</tr>
427-
</thead>
428-
<tbody>
429-
<tr>
430-
<td>1</td>
431-
<td style={{whiteSpace: 'nowrap'}}>Paid plan</td>
432-
<td>
433-
<div style={{marginBottom: '4px'}}>$25.40 LLM usage:</div>
434-
<div>2,540 × <code>llm-token-cent</code></div>
435-
</td>
436-
<td>
437-
<div>2,540 × $0.02 = $50.80</div>
438-
</td>
439-
<td><strong>$50.80</strong></td>
440-
<td>$2.60</td>
441-
</tr>
442-
<tr>
443-
<td>2</td>
444-
<td style={{whiteSpace: 'nowrap'}}>Paid plan</td>
445-
<td>
446-
<div style={{marginBottom: '4px'}}>$12.10 LLM usage:</div>
447-
<div>1,210 × <code>llm-token-cent</code></div>
448-
</td>
449-
<td>
450-
<div>1,210 × $0.02 = $24.20</div>
451-
</td>
452-
<td><strong>$24.20</strong></td>
453-
<td>$1.20</td>
454-
</tr>
455-
<tr>
456-
<td>3</td>
457-
<td style={{whiteSpace: 'nowrap'}}>Free plan</td>
458-
<td>
459-
<div style={{marginBottom: '4px'}}>$3.90 LLM usage:</div>
460-
<div>390 × <code>llm-token-cent</code></div>
461-
</td>
462-
<td>
463-
<div>390 × $0.02 = $7.80</div>
464-
</td>
465-
<td><strong>$7.80</strong></td>
466-
<td>$0.35</td>
467-
</tr>
468-
</tbody>
469-
</table>
470-
471-
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.
472-
473-
#### Revenue breakdown
474-
475-
- **Revenue (paid users only)**: $50.80 + $24.20 = **$75.00**
476-
- **Underlying cost (paid users only)**: $2.60 + $1.20 = **$3.80**
477-
- **Profit**: 0.8 × $75.00 − $3.80 = **$56.20**
478-
479-
This example illustrates the key trade-off of PPE pricing: while it's harder for users to predict exact costs upfront, it provides developers with a safer and more scalable revenue model that grows with actual usage. */}
480-
481405
## Event names
482406

483407
If you need to know your event names, you can retrieve the list of available pricing event names using the [Get Actor](https://apify.com/docs/api/v2/act-get) API endpoint.

0 commit comments

Comments
 (0)