Type M is thinner wall, but should still be sufficient for compressed air especially if smaller bore. The bigger you go the lower it's pressure rating is. Personally if I was plumbing it, anything 3/4" or bigger would be L, smaller would be plenty fine for M, or anything regulated would be fine M.