His pay was up from the $22 million in salary and bonuses he was paid in 2016, though his base salary was unchanged at $2 million. In addition to salary, Blankfein receives performance-based awards and a cash bonus.
Blankfein has been CEO of Goldman Sachs since 2006.
In Citigroup's filing, the bank said it paid CEO Michael Corbat $23 million. That is a 48 percent increase from his 2016 compensation. For 2017, Corbat's base salary was $1.5 million. He received a cash bonus of $6.45 million and other incentive pay of $15 million.
Corbat has been CEO of Citi since 2012.
— Liz Moyer and Reuters contributed to this report.