The 2014 album that Freddie Gibbs released with Madlib is *Piñata*.
*Piñata* is a collaborative studio album by American rapper Freddie Gibbs and producer Madlib. It was released in 2014 and is widely regarded as a landmark of Gibbs’s career, pairing his direct, street-focused storytelling with Madlib’s dusty soul samples, jazz textures and unconventional drum programming.
The project grew from Gibbs’s collaboration with Madlib after the producer sent him instrumental tracks. Rather than sounding like a conventional producer showcase, the album gives Gibbs room to tell interconnected stories about violence, drugs, loyalty and survival. Its title uses the Spanish word “piñata,” and the album is sometimes described as “Cocaine Piñata,” although *Piñata* is the official title.
The other options are real Freddie Gibbs-related albums but belong to different points in his discography. *Shadow of a Doubt* is a 2015 Gibbs solo album, *Bandana* is his second major collaboration with Madlib from 2019, and *Alfredo* is his 2020 collaboration with The Alchemist. That chronology makes *Piñata* the single canonical answer.