Different ovens and air-fryers perform differently, hence I don't think there is a one- size-fits-all kind of a conversion factor. In my case, I roast a kilo of peanuts in one go and it takes 22-24 minutes and another 9 minutes of the free heat from the cooling down. I have another air-fryer that stops operating at the set time and does not offer free cooling down heat and so I air-fry for perhaps 29-30 minutes.
I suggest you invest in a kilograms of peanuts and experiment with the duration. Be prepared to write off losses. Also, do not to expose the air-fryer to the sun. You fryer will suffer for it.
Cashew nuts and hazel nuts brown faster, about half the time of peanuts. You absolutely do not want to roast as long as for peanuts.
Using drum is undoubtedly superior to tray. With a tray, you probably need to stir at least once to get a more even roasting and yet still can't beat drum-roasting.
You can also roast green coffee beans with drums.