The song was produced by JBeatzz, who also has a credit on Travis Scott's "Stop Trying to Be God
" and Richie Souf, who has worked with the likes of Chris Brown ("High End") and Dufure and Young Thug ("All Da Smoke"). Minaj's recording engineer, Aubry "Big Juice" Delaine, recalled the story of the song to Rolling Stone
"At first she was gonna keep it all for herself, but then she told me, I have the perfect person to put on this: Foxy. That beat was so nasty. The fondest memory I have of that song, when Nicki first got that beat, she was in New York, it was cold as s--t, f---ing 12 degrees.
Snowing, 12 degrees out, I had to go to the studio. They had that beat playing, she started freestyling again. That beat is straight old-school reggaeton mixed with gutter New York rap. That song screams New York. She really kept hip-hop culture in mind during this album."