Thermal seems to be cheaper here.
Electronic photocells could be more expensive because they can have lots of features, such as a DC relay, silicon sensor with IR filter, etc.
What the "DC relay" feature means for the user/application? Why should the user care at all?
It is just a marketing "blahblah" - the application does not care at all how the switching work, if it works, that is what matters. The DC relay itself is way cheaper than an AC one (way simpler - no need for shielded poles to hold the contact closed even during coil current zero cross or so, smaller parts,...).
But of course, marketing wizards are very creative in promoting any cost cutting measure as "an extra feature", even when it makes no practical meaning for the user at all, sometimes even when it actually degrades the real product value (e.g. a "brake assistant" in modern cars actually means the ABS, once activates, is not capable to track the pedal "requirement" information, so instead it then brakes at full force the actual adhesion allows; it only switches OFF once you completely release the pedal - so once the ABS activates e.g. on a small ice patch, the car then goes to full brakes, even when you wanted just a soft slow down).
The "IR filter" does have effect on the application (less sensitivity to an artificial light), but in reality it cost nothing. It is intrinsic silicon nature to be more sensitive in the IR; on the contrary, for the visible light sensors such extra IR sensitivity has to be extra suppressed (therefore the IR blocking filter in cameras), so an attempt to make it responding really on the visible only (such as CdS does) would make the sensor actually more expensive. But this at least means an improvement for the performance the user really sees (less false responses for an artificial light spill)...