(Reuters) - Tesla Inc on Friday was set to raise up to $2.7 billion in a record-setting capital raising for the electric carmaker, as investors scooped up a mix of new stock and convertible notes that will recharge the company’s cash-depleted balance sheet.

FILE PHOTO: A Tesla electric car supercharger station is seen in Los Angeles, California, U.S. August 2, 2018. REUTERS/Lucy Nicholson/File Photo

The company said in a filing that it had increased its offer to 3.1 million shares, rising to 3.5 million including a tranche for underwriting banks, from an initially planned 2.7 million, priced at $243 per share.

The filing also showed it would place convertible debt worth $1.6 billion, up from an initial planned $1.35 billion. That all pointed to buoyant interest in the offering and shares in the company rose 2.5 percent in morning trading.

The coupon for the debt offering, however, was set at 2.0 percent - the top of the indicated range - suggesting the company had ceded ground to investors to borrow so much.

The conversion premium at which the bonds can be exchanged for stock in the future, was also at the bottom of the initial range given by the company - another concession.

“Seeing the offering amount raised does not surprise me at all,” Clement Thibault, senior analyst at global financial markets platform Investing.com.

“As far as Tesla is concerned, the more money in the bank, the better.”

Tesla’s launch of a capital raise was greeted with relief by Wall Street on Thursday after a tumultuous year which has seen analysts and investors cast doubt on its ability to produce, sell and deliver enough cars to make a sustainable profit.

The company faces expensive challenges, including launching production in China, overhauling its U.S. retail and service operations and developing new models, including the high-volume Model Y SUV and a Semi commercial truck.

Many analysts had calculated that without new cash Tesla - which burned through $1.5 billion in the first quarter and has seen demand for its cars soften - would not be able to carry out its plans.

The company said that after all costs had been deducted it could now get up to $2.7 billion in new capital from the offer. That compared to the $2.2 billion in cash reserves the company held at the end of March.

BUY IN

Billionaire Musk, whose fortune centers around a 20 percent stake in the $42-billion company, also doubled his initial commitment for buying shares and will now buy stock worth up to $25 million, the company said.

“The fact that Musk could increase its share from $10 million to $25 million is in line with the usual marketing scheme,” said Nord LB analyst Frank Schwope. “Musk always tries to surprise with promises that are often not kept.”

Including the option for underwriters to buy 15 percent in each offering, Tesla will sell about $860 million in new shares and $1.84 billion in debt.

Tesla had said on Thursday it would raise up to $2.3 billion in new capital through shares and debt. That included an offering of 2.7 billion shares worth around $650 million and $1.35 billion in debt, before issues to underwriters.

Tesla’s junk and convertible bonds opened roughly unchanged from Thursday’s close, with the bonds of its SolarCity unit higher, according to Refinitiv data. The $1.8 billion junk bond maturing in 2025 < 88160RAE1=>, which rose 1.8% Thursday to a high of 87 cents on the dollar, was last at 86.5 cents.