exotic-emerald
exotic-emerald4w ago

Hey bro,

Hey bro, But are these numbers normal? When I run the actor myself, the cost per 1,000 results is very low — but when customers run it, the cost becomes huge. I don’t understand why.
No description
13 Replies
thenetaji
thenetaji4w ago
@chinhfree Are you giving option to use proxy to the user, they either use residential one or the memory is set too high or either the user is starting the actor with single output or the user enters some url which dont produce any output due to error or if you retry in logic but still dont produce any result which consume resource but eventually dont produce result so you get loss Can i see your actor, then i can help in more detailed way? And you shoud set pricing by trying different sceneries like what if only one output is produced try with some invalid url and like this types to eventually set a best price
harsh-harlequin
harsh-harlequin4w ago
Hi, My actor only needs the most minimal settings to run: timeout 180s, memory 128MB, no proxies required. Here is my actor: https://apify.com/freshdata/linkedin-open-profile-status I’ve only been active on this platform for a few days, so I don’t understand many things yet, especially about pricing. My revenue is $94, however my profit is only $34.
Apify
Linkedin Open Profile Status · Apify
Accurately detects whether a LinkedIn profile is open to receiving InMail messages (i.e., Open Profile status: true or false).
harsh-harlequin
harsh-harlequin4w ago
As you can see, my actor has 15k runs, and my price is set at $8 per 1,000 requests, so my revenue is around $90. I noticed that after my own test run, the platform cost per 1,000 results was only $0.684 — an insignificant number — but in reality, when customers run it, I’ve lost tens of dollars in costs.
MEE6
MEE64w ago
@chinhfree just advanced to level 1! Thanks for your contributions! 🎉
thenetaji
thenetaji4w ago
have you run your actor on edge cases? also you have not set a memory limit that means when anyone would run your actor it would start at 4GB so it also contribute to your cost however I guess not much but at high volume will surely contribute
harsh-harlequin
harsh-harlequin4w ago
All 15k runs were successful, with no 400 or 500 status codes. How can I set a limit for the memory and timeout?
harsh-harlequin
harsh-harlequin4w ago
I can change them here, right?
No description
thenetaji
thenetaji4w ago
yeah
harsh-harlequin
harsh-harlequin4w ago
oh my god! I don't know this simple knowledge Thanks bro. You are so kind.
thenetaji
thenetaji4w ago
No issue, even I started losing tens on cost have a good day!
aciku
aciku4w ago
@chinhfree As a creator, you can set memory limits in the .actor/actor.json file, defining both a minimum and a maximum value. However, the timeout parameter can only be modified by the end user, not by the actor’s creator.
No description
aciku
aciku4w ago
User section
No description
harsh-harlequin
harsh-harlequin4w ago
@aciku Thank you so much!

Did you find this page helpful?