The PS4 has 8GB of GDDR5 which is shared between the CPU and GPU ('unified memory system'). There is also an additional 256MB of DDR3 on board, used by the ARM-RISC processor for secondary tasks.
The PS4 Pro has 8GB GDDR5 but running at a higher clock-speed, with an additional 1GB DDR3 for the secondary ARM processor.