L4 (Transport layer): routes based on IP and port, faster, no content inspection. L7 (Application layer): routes based on content (URL, headers, cookies), more flexible, can do SSL termination, caching. L4 for: TCP/UDP traffic, maximum performance. L7 for: HTTP routing, content-based decisions, API gateway features.