Not always — and usually not.
Subscription games exist, but they are required to advertise it clearly, so the price is on the box or the store page rather than something you discover after installing. If there is no such notice, the game is free to play online.
The distinction worth drawing is between a subscription and optional spending. Many free-to-play games take money, but only from players who choose to buy cosmetics, convenience, or expansions. That is a different thing from a mandatory monthly charge.