In looking at some of the 5 and 4 star recruits on ND, Miami, OSU, etc, you basically need $1M plus for a 5 star recruit, and $300k-$1m for a mid to high 4-star. It took over $3m/year to get Jacobs to Miami, and you can probably get the top edge rusher out of the portal for that price.
Unless you have FU money like Miami, investing large sums for true freshmen is a complete waste unless they're either going to start or contribute immediately, or you've scouted them well enough to believe they'll be patient and wait to develop. For other programs playing money ball, it's best to fill the class with lower cost 3 and 4 star recruits ($50K-$300K range), with 5-10 higher level recruits at the top of the class.
Looking at Florida, they had a top 15 class last year. They now have 3 freshman from last year's class in the portal, including a high school All American WR and OL. None of them got meaningful playing time. Probably just flushed $1-2M down the drain.