PHOTO: sean r. clark/cnn
Now playing
01:30
Tesla cuts jobs to offset Model 3 cost
Passengers look out at American Airlines flight 718, a Boeing 737 Max, parked at its gate at Miami International Airport as people load for the flight to New York on December 29, 2020 in Miami, Florida. The Boeing 737 Max flew its first commercial flight since the aircraft was allowed to return to service nearly two years after being grounded worldwide following a pair of separate crashes. (Photo by Joe Raedle/Getty Images)
Passengers look out at American Airlines flight 718, a Boeing 737 Max, parked at its gate at Miami International Airport as people load for the flight to New York on December 29, 2020 in Miami, Florida. The Boeing 737 Max flew its first commercial flight since the aircraft was allowed to return to service nearly two years after being grounded worldwide following a pair of separate crashes. (Photo by Joe Raedle/Getty Images)
PHOTO: Joe Raedle/Getty Images
Now playing
03:15
Airlines & TSA boost security ahead of Inauguration
Philanthropist Chief Executive Officer of Las Vegas Sands Sheldon Adelson listens to US President Donald Trump address to the Israeli American Council National Summit 2019 at the Diplomat Beach Resort in Hollywood, Florida on December 7, 2019. (Photo by MANDEL NGAN / AFP) (Photo by MANDEL NGAN/AFP via Getty Images)
Philanthropist Chief Executive Officer of Las Vegas Sands Sheldon Adelson listens to US President Donald Trump address to the Israeli American Council National Summit 2019 at the Diplomat Beach Resort in Hollywood, Florida on December 7, 2019. (Photo by MANDEL NGAN / AFP) (Photo by MANDEL NGAN/AFP via Getty Images)
PHOTO: Mandel Ngan/AFP/Getty Images
Now playing
03:14
Major GOP donor and casino magnate Sheldon Adelson dies
Democratic presidential candidate and former US Vice President Joe Biden speaks on the state of the US economy on September 4, 2020, in Wilmington, Delaware. (Photo by JIM WATSON / AFP) (Photo by JIM WATSON/AFP via Getty Images)
Democratic presidential candidate and former US Vice President Joe Biden speaks on the state of the US economy on September 4, 2020, in Wilmington, Delaware. (Photo by JIM WATSON / AFP) (Photo by JIM WATSON/AFP via Getty Images)
PHOTO: JIM WATSON/AFP/Getty Images
Now playing
02:02
Why Wall Street is hopeful about Biden despite economic challenges
Now playing
05:39
Ben & Jerry's calls for Trump's removal
This illustration picture shows the social media website from Parler displayed on a computer screen in Arlington, Virginia on July 2, 2020. - Amid rising turmoil in social media, recently formed social network Parler is gaining with prominent political conservatives who claim their voices are being silenced by Silicon Valley giants. Parler, founded in Nevada in 2018, bills itself as an alternative to "ideological suppression" at other social networks. (Photo by Olivier Douliery/AFP/Getty Images)
This illustration picture shows the social media website from Parler displayed on a computer screen in Arlington, Virginia on July 2, 2020. - Amid rising turmoil in social media, recently formed social network Parler is gaining with prominent political conservatives who claim their voices are being silenced by Silicon Valley giants. Parler, founded in Nevada in 2018, bills itself as an alternative to "ideological suppression" at other social networks. (Photo by Olivier Douliery/AFP/Getty Images)
PHOTO: Olivier Douliery/AFP/Getty Images
Now playing
03:49
Parler sues Amazon in response to being deplatformed
Panasonic
Panasonic's Augmented Reality Heads-up Display
PHOTO: Panasonic USA
Now playing
01:06
This tech gives drivers directions on the road in front of them
PHOTO: Wimkin
Now playing
03:18
The online warning signs of the violent Capitol siege
PHOTO: Twitter
Now playing
02:39
Twitter permanently suspends Donald Trump from platform
PHOTO: CNN
Now playing
03:56
'What are we supposed to do?': Rioter speaks to CNN reporter
President Donald Trump arrives to speak at a rally protesting the electoral college certification of Joe Biden as President, Wednesday, Jan. 6, 2021, in Washington. (AP Photo/Evan Vucci)
President Donald Trump arrives to speak at a rally protesting the electoral college certification of Joe Biden as President, Wednesday, Jan. 6, 2021, in Washington. (AP Photo/Evan Vucci)
PHOTO: Evan Vucci/AP
Now playing
01:38
Facebook blocks Trump through end of presidency
PHOTO: CNN
Now playing
02:56
CNN speaks to Trump supporters about Trump's election lies
NEW YORK, NY - JUNE 3: The Google logo adorns the outside of their NYC office Google Building 8510 at 85 10th Ave on June 3, 2019 in New York City. Shares of Google parent company Alphabet were down over six percent on Monday, following news reports that the U.S. Department of Justice is preparing to launch an anti-trust investigation aimed at Google. (Photo by Drew Angerer/Getty Images)
NEW YORK, NY - JUNE 3: The Google logo adorns the outside of their NYC office Google Building 8510 at 85 10th Ave on June 3, 2019 in New York City. Shares of Google parent company Alphabet were down over six percent on Monday, following news reports that the U.S. Department of Justice is preparing to launch an anti-trust investigation aimed at Google. (Photo by Drew Angerer/Getty Images)
PHOTO: Drew Angerer/Getty Images North America/Getty Images
Now playing
03:25
Google employee on unionizing: Google can't fire us all
FILE - In this undated file photo issued by the University of Oxford, a researcher in a laboratory at the Jenner Institute in Oxford, England, works on the coronavirus vaccine developed by AstraZeneca and Oxford University. Britain on Wednesday, Dec. 30, authorized use of a second COVID-19 vaccine, becoming the first country to greenlight an easy-to-handle shot that its developers hope will become the "vaccine for the world." The Department of Health said it had accepted a recommendation from the Medicines and Healthcare Products Regulatory Agency to authorize the vaccine developed by Oxford University and U.K.-based drugmaker AstraZeneca.  (John Cairns/University of Oxford via AP, File)
FILE - In this undated file photo issued by the University of Oxford, a researcher in a laboratory at the Jenner Institute in Oxford, England, works on the coronavirus vaccine developed by AstraZeneca and Oxford University. Britain on Wednesday, Dec. 30, authorized use of a second COVID-19 vaccine, becoming the first country to greenlight an easy-to-handle shot that its developers hope will become the "vaccine for the world." The Department of Health said it had accepted a recommendation from the Medicines and Healthcare Products Regulatory Agency to authorize the vaccine developed by Oxford University and U.K.-based drugmaker AstraZeneca. (John Cairns/University of Oxford via AP, File)
PHOTO: John Cairns/University of Oxford/AP
Now playing
02:36
AstraZeneca vaccine provides 'logistical convenience'
President Donald Trump
President Donald Trump's name appears on a stimulus check on May 3, 2020.
PHOTO: Will Lanzoni/CNN
Now playing
03:05
Here's what the new stimulus package means for Americans
PHOTO: Branislav Nenin/Shutterstock
Now playing
02:27
Is working from home the new normal?
(CNN Business) —  

Tesla has announced plans to reduce its full-time workforce by 7% as it works to increase Model 3 production and cut prices.

CEO Elon Musk told workers about the job cuts Friday in a letter that Tesla posted online. The company will only retain the most critical temps and contractors, Musk said.

Musk wrote in the letter that Tesla is “up against massive, entrenched competitors” and must work “much harder than other manufacturers to survive while building affordable, sustainable products.”

“To those departing, thank you for everything you have done to advance our mission,” he said. “I am deeply grateful for your contributions to Tesla.”

Tesla currently has about 45,000 employees, so 3,150 people will be losing their jobs.

The layoffs follow a surprise profit of $312 million for Tesla in the third quarter driven by solid sales of the Model 3. But Musk said Friday that unaudited results indicate Tesla will produce less profit in the fourth quarter.

“This quarter, as with Q3, shipment of higher priced Model 3 variants (this time to Europe and Asia) will hopefully allow us, with great difficulty, effort and some luck, to target a tiny profit,” Musk wrote.

Tesla (TSLA) shares dropped 9% in New York.

Musk said the layoffs were necessary because Tesla has to produce cheaper variants of the Model 3.

The cheapest version of the carmaker’s most affordable model currently sells for $44,000. The goal is to reduce the price to $35,000 this year.

“The road ahead is very difficult,” Musk wrote in his letter. “This is not new for us — we have always faced significant challenges — but it is the reality we face.” 

Gene Munster, managing partner at venture capital firm Loup Ventures, said in a research note that the layoffs do not change his long-term view on the company.

The tech analyst said the carmaker’s manufacturing process has become more efficient, allowing it to reduce headcount while increasing production.

Getting a cheaper Model 3 to market is crucial for Tesla, which wants to sell cars to mass audiences and not just luxury buyers. But the company has come up against a host of challenges.

Tesla had been burning cash while it ramped up production of the Model 3. In June 2018, the carmaker laid off 9% of its staff to help stem losses.

The US federal government has also slashed a tax credit for Tesla buyers from $7,500 to $3,750. Tesla lowered the prices of the Model S, Model X and Model 3 by $2,000 earlier this month in response.

The credit will fall further to $1,875 in the second half of this year, and will be eliminated in 2020. Analysts expect the tax change to hurt the company’s revenue.

There have also been questions about Musk’s leadership of the company.

The outspoken executive resigned as chairman last year after Tesla reached a settlement with the Securities and Exchange Commission over his tweets.

The agency got involved after Musk tweeted in August that he intended to take Tesla private at $420 per share, triggering a stock surge. The deal never happened.

The billionaire has also attracted attention for tangling with journalists, investors and analysts he believed were covering Tesla unfairly.