The max level you can reach in Nier Replicant is level 99, but most players shouldn't need to grind beyond level 40 or so to beat the game and unlock all endings.