Rough guess in my mind with initial setup buying lights, construction come to 4-5 dollars a gram in the first round. Or a little more depending on build complexity, and level of consult.
Recreational prices at a shop is around 20-24 a gram or 10 for a rolled J. I'll double check but an OZ last time a friend checked is around 400-500 and that includes state tax.
Keep in mind that its almost all indoor produced.
I'm still able to sell for 3000 per LB, Premium Indoor from some of the genetics I put out there can get 250 an OZ easy.
So homegrown cost for 2 a gram of lovingly produced weed is realistic, if we are not taking into account labor costs and just calculating power, food, consumables for indoor. I think it could be less if its outdoor using lower cost materials.