I can give you an answer straight from the horses mouth of 2 different people that became ifbb pro bodybuilders, they're both under 23 years old btw. They don't know exact numbers of everything combined but...they do know this:
The Pharm GH was about $8500 for the year, and that's with the ridiculously amazing source we know. If it was any other source we see, it would have been at least $13,000.
The injectable and oral anabolics(test,deca,dbol,anadrol,tren,mast,etc) comes out to around $2,500 a year. Once again, if it was another source like the ones most people use, add at least $1,000 minimum.
They don't use insulin or peptides...yet...so no answer for that.
The food is approximately $4,500-5,000 a year, give or take 500ish, they don't count but they say it's definetly between 400-600 a month.
They only entered local competitions and never left the state, they don't know how much they spent on all that, they would say it was probably under $1,500 for the year.
So between the GH,Anabolics,Food,and Competition Costs....approximately $17,000-$18,000. If they used the prices that most people get on gear, it would have definetly come out to near $25,000 for the year or higher.
If there was insulin and peptides in there, it would have been higher. If they were high-tier IFBB pros rather than just young guys that just got their pro card, it would have been much higher.
So the money it costs per year for them to become an IFBB Pro :
$17-$18k
The money it would cost for most others assuming they had exact same genetics,training,diet,protocol,etc(which is impossible):
$23-25k
PS,keep in mind,both of them went from zero to hero very quickly. They didn't hold back or wait many years slowly tapering up gear use or cycle doses....they went all out and got there relatively quickly (both under 6-8 years of training, 3-5 years of gear)