Cost of Research of all spells
KD, KR: here's the actually total for researching all spells (it's actually just 5 times the scribe cost):
PHB:1,402,000 gp
T&B: 191,500 gp
MoF: 515,000 gp
ELH: 470,000 gp
MoP: 86,000 gp
It'd also take 1 week per spell level, or slightly less than...