You have to know something about the players at your table to make this decision. If they would play the way they are playing against you with only strong pairs, you might fold, especially AK off-suit. Suited, you should play more often, especially if you can call to see a flop. When you connect there, you can go or call all-in later nicely. Against a wild loose player you should be willing to go all-in preflop even with off-suit AK sometimes, especially when your stack size is bigger. Close to the bubble or at final table, always use this hand to block short stack jams, pre-flop or post-flop.