SAN FRANCISCO — Johnny Cueto said publicly Sunday what neither he nor his agent had told the Giants yet.
Cueto, 31, indicated he likely won’t opt out of the $130 million, six-year contract he signed before the 2016 season and become a free agent — but he left himself some wiggle room.
Cueto struggled in the season finale, but Pablo Sandoval hit a game-ending homer with one out in the ninth inning, lifting the Giants past the San Diego Padres 5-4.
Cueto addressed his future after the game.
“I don’t know, maybe, I mean I’m sure I will,” come back next year, Cueto said through a translator after a rocky outing in which he allowed four runs and 12 hits in five innings.
He qualified his remark, saying any decision would have to go through his agent, but he expects to make his return official soon.
“Of course I would like to stay here and finish my career in San Francisco,” Cueto said.
Bochy said Sunday’s outing was “kind of the story of Johnny’s season.”
“He kept us in the game. He did well, battled without his best stuff,” Bochy said.
Sandoval, whose future with the team is uncertain, too, hit a 3-2 fastball from rookie Phil Maton (3-2). It was his fifth homer in 47 games since returning to San Francisco this summer.
Giants reliever Hunter Strickland (4-3) pitched 1⅓ scoreless innings.
“On your last game and at home here, you want to win the game, but how we won it, in that kind of fashion, it was a great ballgame,” Bochy said.
“For (Sandoval) to hit a home run, to walk it off, I know that’s special for him and it was cool to see because he’s done a nice job since coming here.
“It brought back good memories, I’m not going to lie.”
After the game, San Francisco honored retiring pitcher Matt Cain on his 33rd birthday. Cain made the final appearances of his 13-year career Saturday. Bochy and catcher Buster Posey both spoke, and Bochy also thanked the fans for supporting the Giants through a 64-98 season.
Sandoval, who wants to return to San Francisco next year, made a strong closing argument Sunday.
“I feel excited for that moment, especially when I was running the bases, I wanted to cry,” said the 2012 World Series MVP.
“I want to be here for the rest of my career. I want to be like Cain,” he added
The Giants lost 23 more games than they did last season in their worst year since 1985, when they lost 100 games. They finished tied with the Detroit Tigers for the worst record in baseball. The Tigers will get the first overall pick in the 2018 amateur draft under MLB’s tiebreaking rules awarding the first pick to the team with a worse record the previous season.
The Padres (71-91) lost for the sixth time in seven games as they concluded their seventh consecutive losing season with a modest improvement of three more wins than last season.
The Giants hadn’t won a series with the Padres since the 2016 All-Star break, losing seven of eight with one series tie over that stretch.