No, not for the Instant Pot. The basket feels redundant when using a cake pan. The Instant Pot liner alone does the trick. I do however use a trivet to raise the cake pan from bottom of the Instant Pot liner and to promote air circulation all around it. If you have a different type of air fryer you might still need the basket, so use your best judgment for this.