Tesla is walking back plans to close most of its showrooms worldwide and announced price hikes for most of its electric vehicles.

Tesla announced last month that it would shutter most of its stores to cut costs so it could sell its lower-priced Model 3 for $35,000. The company continues its shift to toward online-only sales, but now says it won't close as many stores as originally thought.

The $35,000 base Model 3 will still be available, but the company is raising prices by 3 percent on all other models.

In a Monday filing with government regulators, Tesla now says it closed 10 percent of its stores, but a few of those will now remain open. Another 20 percent are being evaluated and some could remain open.

The company gave no numbers, but said it would close only about half the stores that it had intended to. It has 378 stores and service centers worldwide and about 100 stores in the U.S. If the company closes 30 percent of the stores that would equal about 110.

"As a result of keeping significantly more stores open, Tesla will need to raise vehicle prices by about 3 percent on average worldwide," a company statement said. "We will only close about half as many stores, but the cost savings are therefore only about half."

Remaining stores could have fewer workers but will have vehicles available for test drives and a small inventory in case people want to buy immediately, the statement said.

Also Monday, a New York attorney announced that Tesla's former chief of security has filed a whistleblower complaint with the U.S. Securities and Exchange Commission. Attorney Andrew Meissner said in a statement that Sean Gouthro provided information about Musk's Aug. 7 tweet that he had the financing to take the company private at $420 per share. As it turned out, Musk didn't have the funding secured. The SEC filed a securities fraud complaint, and Musk and Tesla agreed to each pay $20 million and to governance changes including a Twitter monitor for Musk.

The SEC submission says the go-private plan was discussed internally at Tesla many days before Musk's tweet "and that many were suspect of the purported deal's legitimacy," Meissner's statement said.

Tesla also announced Monday that it has purchased car-hauling trucks and trailers from a California company in a stock deal worth about $14.2 million. Tesla paid for the purchase with about 50,000 previously authorized shares. Tesla wants to increase its vehicle transportation capacity and cut delivery times.

The moves come on the day that lawyers for Tesla CEO Elon Musk have to file a legal brief explaining to a New York federal judge why he shouldn't be held in contempt of court for an inaccurate Feb. 19 tweet that could have influenced the company's stock price.

On Feb. 19 Musk tweeted that Tesla would produce around 500,000 vehicles this year — a tweet that wasn't blessed by the person in charge of baby-sitting Musk's Twitter account as required by the fraud settlement. The tweet was later corrected.

The judge has ordered Musk to file a brief by Monday explaining why he isn't in contempt for violating the court-approved settlement.

The store-closing reversal shows that Tesla had second thoughts about shuttering the stores and whether buyers would make such a large purchase without a test drive. The company says it still plans to offer buyers the ability to return purchased vehicles at no cost after a seven-day or 1,000 mile test drive.

Gartner analyst Michael Ramsey called the move "startling" and said it undermines the credibility of Musk and Tesla's management.

"How else can you view it except to see it as a remarkable example of lack of foresight or planning?" Ramsey asked. "It's almost as if the decision was announced and made without any analysis of what the outcome would be."

The move made no sense to begin with because Tesla had spent millions fighting in courts and state legislatures trying to change laws that prevented companies from selling vehicles at their own stores, Ramsey said.

But he also said the move to close 10 percent of stores and evaluate others is the right thing to do, and said most retail companies do that all of the time.

A Tesla spokesman declined comment Monday beyond the company's statement.

Shares of Tesla Inc. edged up less than 1 percent in Monday trading.

In announcing the move on Feb. 28, CEO Elon Musk said it was necessary to cut costs in order to profitably sell the mass-market version of the Model 3 sedan for $35,000. That's a price point needed to reach more consumers and generate the sales that the company needs to survive, Musk has said.

Before the announcement, the cheapest Model 3 started at $42,900.

On Feb. 28, the company said shifting totally to online sales would allow it to lower all vehicle prices by 6 percent, on average, including its higher-end Model S and Model X.

At the time, Musk also walked back the company's guidance that it would be profitable in all future quarters, saying it would post a loss in the first quarter of this year.