Tesla has said it produced some 18,345 vehicles in the second quarter, an increase of 20% from Q1, and exited the quarter consistently producing just under 2,000 vehicles per week. The company is ramping up rapidly after production delays to its Model X.

It said that due to the steep production ramp, almost half of the quarter's production occurred in the final four weeks.

With continued productivity improvements, Tesla says it expects output to reach 2,200 vehicles per week in Q3 and 2,400 vehicles per week in Q4. Current order rate trends and backlog support production at those levels, the company says. In total, Tesla expects to produce and deliver about 50,000 vehicles during the second half of 2016, approximately equal to all of 2015.

However, the company did say that it missed its sales target in the second quarter. Due to the extreme production ramp in Q2 and the high mix of customer-ordered vehicles still on trucks and ships at the end of the quarter, Tesla Q2 deliveries were lower than anticipated at 14,370 vehicles, consisting of 9,745 Model S and 4,625 Model X. In total, 5,150 customer-ordered vehicles were still in transit at the end of the quarter and will be delivered in early Q3, Tesla said. That amount was higher than expected (there were 2,615 vehicles in transit to customers at the end of Q1) and is more than a third of the number of cars that completed delivery in Q2.