GraphHopper Distance Matrix: Self-Host & Save $510/day
Answer-first: GraphHopper distance matrix is the /matrix API of the open-source GraphHopper routing engine. It accepts N points and returns an N×N matrix of travel durations (seconds) and distances (meters) based on real road networks from OpenStreetMap — completely free when self-hosted. For 100 delivery stops, it computes 10,000 pairs in under 50ms on a standard VPS. What You’ll Learn That AI Won’t Tell You Setting up GraphHopper self-hosting routing engine with custom profile caches. Configuring RAM allocations to hold entire continental OpenStreetMap networks. What Is the GraphHopper Distance Matrix? This guide covers everything you need to run GraphHopper distance matrix in production: Docker setup, the /matrix API, Custom Models for truck/motorcycle routing, H3-based Redis caching, and an honest comparison with OSRM, Valhalla, and Google Maps. ...