The i5 will both draw less power and will output more heat due to difference in die size and improvements in the efficiency of the architecture.
TDP is basically a measurement of how much heat a CPU or GPU or chip puts out measured in watts, power consumption will vary depending on load and current power state.
Power consumption isn't the same as TDP and it shouldn't be mixed up when buying new CPUs and GPUs.