DETROIT — Over the past 2½ seasons, Khris Davis has more homers than anyone else in baseball except Giancarlo Stanton, who is tied with Davis at 105 homers in that span.

Stanton, the former Marlins star now with the Yankees, has competed in three Home Run Derbies during Major League Baseball’s All-Star week, winning in 2016 with a record 61. Davis has participated in none.

Last year, Davis made it clear that he didn’t welcome a trip to Miami for the event, telling The Chronicle on June 28 that he had no wish for an invite.

This year might be different. When The Chronicle again asked him about his thoughts about the derby, Davis said he’s considering it if invited, and if he goes he would take manager Bob Melvin with him.

“I’m just going to wait and see,” Davis said. “But if I do, BoMel is throwing to me.”

Davis, who is tied for fourth in the AL with 20 homers, is more likely to want to participate if he’s on the American League All-Star team. He’s not getting any notice in the fan balloting, however, not appearing among the top five AL DHs. His best bet for making the team is off the players’ ballot.

Like many sluggers, Davis has concerns about the toll the derby might take on his swing after the break; the last time he participated in a home-run contest was in low-A ball, and he thought it threw his swing off for a time afterward.

Plus, Davis preferred the event in its old format: 10 outs per round, not a timed period.

“I liked the classic 10 outs versus the two or three minutes to rush through,” Davis said. “Rushing is what really throws your swing off.”

Last year’s Home Run Derby champ, Aaron Judge of the Yankees, already has said that he doesn’t plan to participate, and Stanton recently told reporters that he hasn’t thought about it yet.

Briefly: Melvin said it remains undecided whether third baseman Matt Chapman, who had a cortisone shot for his sore right hand, will trying swinging a bat Thursday or Friday. ... Starter Trevor Cahill (Achilles tendon) will throw another bullpen session Friday. ... Starter Brett Anderson (shoulder) will make his next rehab start for Triple-A Nashville on Thursday.

Susan Slusser is a San Francisco Chronicle staff writer.