BARCELONA, Spain (AP) Gold medal at stake or nothing at all, the U.S. Olympic basketball team is too good for Spain.

Carmelo Anthony came off the bench to score 23 of his 27 points in the first half, and the Americans beat Spain 100-78 on Tuesday night in a rematch of the gold-medal game – and possible preview of the next one.

LeBron James added 25 and Kevin Durant had 13, including 10 in the first 3 1/2 minutes of the third quarter to help the U.S. break open the teams’ final exhibition game before heading to London.

The teams played a memorable gold-medal game four years ago, the Americans pulling away for a 118-107 victory after leading by only four points with under 2 1/2 minutes left.

This one turned out much easier once the U.S. controlled the final three quarters.

Pau Gasol scored 19 points and Oklahoma City forward Serge Ibaka, a native of the Republic of Congo who became a Spanish national last year, had 16.

Both teams have been weakened by injuries, with the U.S. missing Dwyane Wade, Dwight Howard and Chris Bosh, all key contributors in Beijing, along with Derrick Rose. The Spaniards are without point guard Ricky Rubio, and All-Star center Marc Gasol, Juan Carlos Navarro and Rudy Fernandez have battled injuries this year.

They’re still the best two teams in the world and favored to meet again in the Aug. 12 gold-medal game. Spain would have a different look, as Marc Gasol was held out of this one while recovering from a left shoulder injury and backup point guard Sergio Rodriguez also sat out.

It may not matter if the Americans play like this in the games that count.

Spain’s players said Monday that while they would try to win this tuneup, the bigger priority was preparing for London. The Americans responded that the Spaniards, playing in front of their home fans, would be compelled to go all out in hopes of a victory.

Spain seemed to be playing for real, but was simply overmatched and the Americans eventually ran away from them.

The Americans, who would have had Howard, Bosh and Blake Griffin on this roster, believe their quickness and versatility will overcome their size problems, and that’s what happened in this one.

Spain’s size advantage was evident early, especially once Tyson Chandler, the only center on the U.S. roster, went to the bench with two quick fouls. The Spanish pounded the ball inside to Ibaka, who accounted for three straight Spain baskets on dunks, and the Americans were forced to use a timeout – that never happened 20 years ago when the Dream Team ruled Barcelona – after Victor Sada’s jumper made it 22-13 with 1:40 left in the opening period.

But though Gasol and Ibaka had an obvious advantage inside, neither could deal with Anthony on the perimeter. He made five 3-pointers in the first half while often appearing unguarded behind the arc.

He opened and closed a 20-6 burst with 3-pointers as the Americans went from four down to ahead 42-32 with about 3 minutes left in the half. They later went up by 13 before taking a 48-40 lead into the locker room.

Gasol had the first basket of the second half, but Durant dominated the next few minutes as the Americans extended the lead to 60-46. Russell Westbrook scored seven straight later in the period, his steal and dunk making it 69-48 with 4:19 left.

Spain trimmed it to 12 later in the period, but never had a real shot of getting back into it.

At times it felt like a serious game at Palau Sant Jordi, where nearly every seat was filled well before an energetic pregame ceremony, in which the U.S. national anthem was performed live, instead of the usual recording.

But it also felt like a show, something along the lines of the NBA All-Star game. Navarro was honored before the game for his 200 appearances for Spain, and Dream Teamers Chris Mullin, David Robinson and Clyde Drexler were introduced during first-quarter timeout.

The U.S. had a pair of quality tests in Barcelona, beating Argentina 86-80 on Sunday and going 5-0 overall in exhibition play. But the Americans were pushed by all three opponents with legitimate NBA size, the two here and Brazil in an 80-69 victory in Washington.

The U.S. and Spain were drawn into opposite Olympic pools, so they wouldn’t play until the elimination round. And it’s likely to be at the very end of it.