If you purchase an in-app subscription through the App Store with your Apple ID, the only option is a yearly subscription.
If you purchase a subscription directly from Microsoft's website, you can purchase either a yearly or monthly subscription.
The yearly subscription costs the same in both cases, and is cheaper unless you only want to use the app for a few months.