Goldman Sachs’ uncanny ability to make money during the recession has drawn the attention of a bipartisan group of House members who suggest the investment bank took taxpayer dollars and ratcheted up the risk in order to pay fat bonuses.

The congressional members, including Reps. Alan Grayson, (D-Fla.), Ron Paul (R-Texas), Maxine Waters (D-Calif.) and Walter B. Jones (R-NC), wrote a two-page letter yesterday asking the Federal Reserve to explain why it granted a special exemption allowing Goldman to take on more risk over the past few quarters.

“The company and its employees have taken full advantage of its new government subsidies, and the retained ability to bet big,” said the letter.

Goldman sought bank-holding company status late last year because the move would offer the financial institution easier access to taxpayer funds. In exchange for that access, the firm would face more oversight from the Fed and stricter rules that would require it take less risk.

However, the Fed granted Goldman, along with Morgan Stanley, temporary exemptions that allowed them to take on the same risky bets an investment bank would have.

That risky stance helped Goldman post a second-quarter profit of $2.7 billion on revenues of $13.76 billion — a performance that could see every Goldman employee’s bonus amount to $772,858, the representatives’ letter noted.

“I think we should do our best to find out as much as we can about [Goldman], especially with all the bailout money that’s been spent,” Paul told The Post.