The cost of creating a new compound for industry or academia would depend 1) the cost of the SMs, 2) the amount of material needed (scale) 3) the number of steps to make it, and 4) cost of labor.
Assuming a relatively simple compound with 3 simple steps, to get 1 gram of product might be $1000 in chemicals, and 3 days of labor. But that is just a wild guess without knowing the details, purification needed, etc.
In the would of Pharma, when buying set of many novel "screening" compounds, the average cost ran at $100 for 10 mg, or up to $1000 for 1g. But that was for commercially available compounds.
But again, if you only want one compound, the cost will be much higher than if you are making a series of them, where the chemicals might be shared. This all assumes a route is known, if not, then the cost will go up very quickly.