It took Luis Severino 97 pitches to get through 4¹/₃ innings in the Yankees’ 4-1 loss to the Astros in Game 3 of the ALCS on Tuesday.

He only regretted two of them.

“I made two bad pitches,’’ Severino said of the solo homers he allowed to Jose Altuve and Josh Reddick. “Two bad sliders right down the middle to Reddick and Altuve. You can’t miss location like that.”

The right-hander also needed 36 pitches to get through a grueling top of the first. After Altuve’s one-out homer, Severino loaded the bases with two out before he got Carlos Correa to pop to second to end the inning.

Reddick opened the top of the second with a long homer to right to make it 2-0. Like Altuve’s shot, it came off a slider, which was producing no swings and misses for Severino early on.

That led to speculation — including by Alex Rodriguez, who was on the Fox broadcast — that Severino was tipping his pitches. The Astros have gained a reputation for being good at taking advantage of pitchers who do that.

“I wish I knew,’’ Alex Bregman said. “He struck me out. … But every time we get a hit now, I think everyone thinks somebody’s tipping. We’re just trying to compete and put together good at-bats.”

Severino responded after Reddick’s homer by retiring eight of the next nine batters, with only Altuve reaching on Severino’s error on a comebacker. The righty needed just six pitches to finish the third and pitched around a Martin Maldonado two-out double in the fourth.

After a delay to start the fifth inning, when home plate umpire Jeff Nelson was removed with a concussion after he had taken two balls off his face mask, Severino got Altuve on a grounder before Michael Brantley singled and Bregman walked to end Severino’s outing.

“The decision to send him back out there for the fifth, I thought he was at a point where he was still strong and throwing the ball well,’’ Aaron Boone said. “I thought overall he competed really well. Obviously [he] got himself in some trouble there, a couple of solo homers, but overall I thought he was pretty good.’’

Pretty good, though, is not good enough against the Astros and Gerrit Cole.

“When you’re facing a team and pitcher like Gerrit Cole, you have to do your best to keep the team scoreless or to one run,’’ Severino said. “It’s a tough lineup.”