Taylor Swift, 26, took the stage at the Formula One U.S. Grand Prix race in Austin, Texas, on Saturday night to perform a song she's never sung in front of an audience.

>> Taylor Swift shares footage from Formula One rehearsals

Swift sang her version of "This Is What You Came For," which she co-wrote with ex-boyfriend Calvin Harris. Harris and Rihanna came together to sing the song this summer.

>> Read more trending stories

“I’ve never played this song live before,” Swift, who was recovering from a cold, told her fans. “But if you know it, maybe you could sing along, and then I could get to know what that feels like to hear it sung back to me.”

>> PHOTOS: Taylor Swift through the years

It was her only concert of the year.

>> Click here or scroll down to see videos and photos from the performance