The Giants beat the Rockies 5-1 on Wednesday night, and there was little reason to celebrate.

Pitchers Matt Cain and Santiago Casilla exited with strained right hamstrings, and both are scheduled to have MRI exams Thursday. Manager Bruce Bochy phoned general manager Brian Sabean shortly after the game, and at least one roster move is expected.

"It's a huge blow to lose Cain and Casilla," Hunter Pence said. "Casilla's value to this team is very underrated. He's huge for us, especially with all the tight ballgames we play.

"Both big blows. It's a tough day."

Cain threw three hitless innings in his third start since coming off the disabled list with a finger injury. But after striking out Charlie Blackmon with his 36th pitch, ending the third, Cain grabbed his hamstring and eventually was escorted to the trainers' room.

"We'll see how it reacts tomorrow," said Cain, who didn't predict if he'd make his next start.

Bochy chose to let Casilla, who had worked the eighth inning, get a rare at-bat in the ninth so he could pitch the bottom half. He worked the count to 3-2 and hit a chopper to shortstop Troy Tulowitzki, who threw him out. Casilla hustled to first base and collapsed while crossing the bag, pounding the ground in obvious pain. He was carried off the field by two trainers.

Reliever George Kontos is expected to be recalled from Triple-A Fresno.

Before the at-bat, Casilla was told to be a virtual statue at the plate.

"I was shocked he was running like that," Bochy said. "I told him, 'Don't even swing.' When he hit the ball, I guess he thought he had a hit. I don't know what got into him. I've never seen him run like that."

Casilla, who gingerly limped in the clubhouse after the game, was the second Giants reliever injured running to first base at Coors Field. The other was David Huff, who went on the disabled list last month with a strained quadriceps.

"I guess we'll have to make it a rule to jog," Bochy said. "These guys run every day. They run their sprints. It's a little different, I guess. You think you'll get a hit, you go for it."

The one baserunner Cain allowed was Justin Morneau, who was plunked in the second inning. Even though it was a two-strike pitch, plate umpire Adam Hamari warned both teams, an obvious follow-up to Tuesday's game in which three batters were hit by pitches, including Giants starter Madison Bumgarner, retaliation for Bumgarner drilling Troy Tulowitzki.

Bochy used five relievers, including Yusmeiro Petit (three innings), who got the win.