A once-tortured al Qa​e​da terrorist is living like a king at the Guantánamo Bay prison — complete with strawberry Oreos, rabbit dinners and episodes of the sit-com “Arrested Development,” according to a report Sunday.

Ahmed al Darbi, 42 — who admitted aiding an attack on an oil tanker near Yemen in 2002 — scored the sweet deal after snitching on fellow terrorists, the Miami Herald reported. He will also testify for the prosecution in two upcoming war court cases.

As a reward, he spends his days relaxing in a cabin-style lockup, where he can garden, paint and exercise, according to sworn testimony obtained by the paper.

There, the terrorist-turned-rat gobbles down sweets such as Strawberries n’ Creme Oreos, baklava, and pecan pie, according to the report.

He often cooks elaborate meals, such as veggies and shrimp, spiced rabbit and chicken, according to the report. He has also requested culinary goodies, such as cilantro, cumin and cloves.

Four years ago, Darbi pleaded guilty to being an accomplice in a 2002 al Qaeda attack on a French oil tanker in Yemeni waters.

His brother-in-law Khalid al-Mihdhar hijacked the plane flown into the Pentagon on 9/11 .

But last year, he recorded testimony that may be used as evidence against the alleged mastermind of the tanker attack, Abd al Rahim al Nashiri. He also separately testified about his life as a jihadist in al Qaeda.

Since he agreed to the plea, Darbi has scored a personal laptop and DVDs of the American sit-com “Arrested Development,” starring Portia de Rossi and Jason Bateman, which streams on Netflix.

He was also given Rosetta Stone software to learn English, a PlayStation 3 and oil paints.

But things haven’t always been so cushy for him at the military prison.

In 2002 and 2003, he was beaten, sleep-deprived, hung by the wrists, and threatened with rape, according to court documents obtained by the paper.

He was also forced to undergo unwanted rectal exams, kept nude and forced to empty other detainees’ feces buckets with his fingers, according to the report.

Darbi is scheduled to go home to a Saudi rehabilitation program later this month, under an Obama-era plea agreement.