Routing devices are located on layer 3 (network) in the OSI model.
Wikipedia
In the seven-layer OSI model of computer networking, the network layer is layer 3. The network layer is responsible for packet forwarding including routing through intermediate routers.