Gupta, 64, was sentenced to two years of imprisonment after he was convicted of leaking secrets about the company to his friend and business associate Galleon founder Raj Rajaratnam, who is serving an 11-year prison term for running one of the biggest insider trading schemes in US history.
Gupta, who is currently on bail while applying his conviction, was told to pay USD 6.2 million for legal fees to Goldman Sachs by federal Judge Jed Rakoff in New York.
After reviewing the firm's 542 pages of billing records related to the case, Judge Rakoff however cut the bill by 10 per cent noting that there were some extraneous entries in the 542 pages of billing records submitted by Goldman Sachs.
"On a few occasions the number of attorneys staffed on a task - while perhaps perfectly appropriate on the assumption that Goldman Sachs wished to spare no expense on a matter of great importance to it - exceeded what was reasonably necessary" under the statute, Rakoff wrote.
In addition to USD 6.2 million, his legal bill runs into more than USD 30 million.