The Giants are having their worst season in nearly a decade, but team president Larry Baer confirmed Thursday that both president of baseball operations Buster Posey and manager Tony Vitello will be back with the organization next season.

Despite starting the year with one of the MLB’s largest payrolls, the Giants enter their game with the Cleveland Guardians on Thursday with the second-worst record (52-74) in the National League and are on pace to finish the season with their lowest win total since 2017, when they went 64-98.

RELATED: The Giants’ biggest win of a disastrous season? The looming downfall of the Dodgers

Still, Baer, a guest on KNBR’s “Murph & Markus Show” on Thursday morning, expressed confidence in Posey and Vitello, saying he believes “2027 can be a totally different year than 2026, and I think everybody to their core believes it.”

Posey, hired in Sept. 2024 to be the president of baseball operations, first told the San Francisco Standard last weekend that Vitello would be back next year. Vitello, who spent eight years as the University of Tennessee’s head coach before he joined the Giants last October, still has two more years remaining on his contract.

“Everybody’s on the same page,” Baer said. “It’s Tony’s obviously first year, and whatever growing pains exist for any first-year manager, whether it’s first year ever in the majors or first year with a new team, they’re going to be growing pains.

“But the overall evaluation, I think, from everything I’ve heard and top to bottom, is that Tony is 100% capable of taking this team where it needs to go to a championship down the road. The combination of Buster and Tony, and the front office, Tony’s coaching staff, and Buster’s front office people are going to be our future, and we’re going to move that forward into 2027. So, absolutely, Tony’s back.”

Posey’s long-term signings of third baseman Matt Chapman and shortstop Willy Adames, and his acquisition of Rafael Devers from the Boston Red Sox last year, have not worked out as hoped. The Giants are 92-123 with Devers, who has seven years remaining on his 10-year, $313.5 million contract, in the lineup.

The Giants are also 20th in MLB in home runs (138) and OPS (.711), are 26th in RBIs (491), 27th in stolen bases (56) and rank last in walks (329).

Posey, though, earned kudos for flipping infielder Luis Arraez, outfielder Heliot Ramos and pitchers Robbie Ray, Tyler Mahle, Erik Miller and Caleb Kilian for prospects, helping restock the Giants’ farm system.

“It’s been hard, obviously, for everybody, and at the very top of the list is Buster. It’s really hard for him because he’s incredibly competitive,” Baer said. “It’s why we won three championships under his leadership. When you’re a catcher, you’re a leader. You don’t have any choice but to be a leader, especially when you’re an everyday catcher, and you’re managing a pitching staff that was critical to those championships.

“So, nobody’s taking it harder than Buster, and I think that competitive fire has been giving us this adrenaline surge as we get younger and as we bring new people into the organization, as we did at the trade deadline and we’ve done throughout the year. … It’s not like people are walking around hanging their heads. They’re walking around saying, ‘let’s go’ and get the ship righted literally immediately into next season.”

WINN TO IL

The Giants on Thursday placed right-hander Keaton Winn on the 15-day injured list with right elbow neuritis. The move is retroactive to August 19. Left-hander Reiver Sanmartin was recalled from Triple-A Sacramento to take Winn’s place on the roster.

SLASHING BEER PRICES FOR A GAME

Baer also announced special beer prices for the Giants’ Sept. 23 day game at Oracle Park against the Minnesota Twins. A Coors Light will be $6.80 and a Corona will be $10.45, prices that coincide with the team’s flagship station’s place on the AM and FM dials. It was unclear what the size of those beers would be.

MORE TUGBOAT

Vitello mentioned after Wednesday’s game that Matt “Tugboat” Wilkinson will be available to pitch this weekend in Boston. In his MLB debut on Wednesday, Wilkinson started the game and pitched two shutout innings in what became a 1-0 win over Cleveland.