No question the packaging has to be considered, but talking about that adds a really complex question.
Something that may not be well known, the cost per wafer went way, way up past 7nm. There were some articles on this a couple years ago, but basically they said that 7nm was the last point where the higher density gave a cost advantage. At 5nm and below, the chips actually cost more to produce even in volume due to the cost of the wafer going up faster than the density was increasing on the new nodes.
So that is going to factor into getting a bunch of small chiplets at 7nm / 5nm and lower, while using a 12nm IO tile which is much cheaper.
AnandTech has an article directly on this subject. There's another site I found that did cost analysis and used calculus... So anyway, not something I'm going to delve into in detail, but this was a factor.
I pulled two blurps of interest from the article linked to below. I should probably note, this article was in Jan 2022 and the 5600X no longer sells for $299 - it's $179 at my local Microcenter. I'm going to make a WAG that this is probably no longer a profitable part for AMD. Certainly current market prices for a 5600X are basically liquidation levels.
"In AMD’s consumer-focused product stack, the only products it ships with chiplets are the high-performance Ryzen 3000 and Ryzen 5000 series processors.
...
Everything else consumer focused is a single piece of silicon, not chiplets. Everything in AMD’s mobile portfolio relies on single pieces of silicon, and they are also migrated into desktop form factors in AMD’s desktop APU strategy. We’re seeing a clear delineation between where chiplets make financial sense, and where they do not. From AMD’s latest generation of processors, the Ryzen 5 5600X is still a $299 cost at retailers."
"Ultimately there has to be a tipping point where simply building a monolithic silicon product becomes better for total cost than trying to ship chiplets around and spend lots of money on new packaging techniques. I asked the question to Dr. Lisa Su, acknowledging that AMD doesn’t sell its latest generation below $300, as to whether $300 is the realistic tipping point from the chiplet to the non-chiplet market.
Dr. Su explained how in their product design stages, AMD’s architects look at every possible way of putting chips together."
https://www.anandtech.com/show/1720...-on-the-optimization-says-amds-ceo-dr-lisa-su