Anki is free on anything but iOS. Don't know why the iOS app is the only one with a fee.
Here's the FAQ entry for why it costs as much as it does for iOS/iPadOS with some explanation for why he only charges on those platforms.
I know people who have used it on iOS for years for free by just using the web version and never buying the app, and they seem quite happy with that setup.