While GTA: Online, one of their most popular Online products, has micro-transactions, they do not severely break the game in terms of balancing.
While many publishers would have charged a hefty sum to play GTA: Online, which is honestly another title by itself rather than just an online component.
However, on PC, you can play any online game, including GTA: Online for free, other than obviously the cost of purchasing the game.