Deepseek V3 was created by distilling 4o.
Deepseek R1 was created by V3 teaching itself to reason.

Only the second was relatively inexpensive... 

Frontier models still cost a lot to move towards higher intelligence