Some air fryers are not as hot as others and cook time could take a few minutes more. Usually, the cooking time is 2 to 3 minutes. If your marshmallow is not golden brown at all cook in one-minute increments after the original two minute cooking time.