GraphHopper vs Open Source Routing Machine (OSRM)

Two self-hosted Maps and Global Positioning System (GPS) apps, compared on the facts we track: GitHub popularity and activity, license, language, Docker images and a rough hosting estimate.

Side by side

GraphHopperOpen Source Routing Machine (OSRM)
DescriptionFast routing library and server using OpenStreetMap.High performance routing engine designed to run on OpenStreetMap data and offering an HTTP API, C++ library interface, and Nodejs wrapper.
GitHub stars6,7558,191
Forks––
Open issues––
Commits (12 months)307335
Last activity2026-11-042026-11-02
Latest release11.1 (2026-09-29)v26.11.0 (2026-11-01)
Maintenance healthActiveActive
LicenseApache-2.0BSD-2-Clause
Language / platformJavaC++
Docker Hub image––
Docker pulls––
Est. server size~2 GB, 1 vCPU~512 MB, 1 vCPU
Est. hosting from$10/mo$3.5/mo
CategoriesMaps and Global Positioning System (GPS)Maps and Global Positioning System (GPS)
LinksWebsite · SourceWebsite · Source

What the numbers say

Summary: Open Source Routing Machine (OSRM) leads on GitHub popularity. The right choice depends on the features you need — read both project descriptions and docs.

This summary is generated from GitHub, Docker Hub and awesome-selfhosted data as of 2026-11-05. It does not rate features or quality.

Frequently asked questions

Is GraphHopper or Open Source Routing Machine (OSRM) more popular?

Open Source Routing Machine (OSRM) has more GitHub stars (8,191 vs 6,755 for GraphHopper, as of 2026-11-05). Stars measure interest, not quality.

Which is more actively maintained, GraphHopper or Open Source Routing Machine (OSRM)?

Commits in the last 12 months: GraphHopper 307, Open Source Routing Machine (OSRM) 335. The last recorded activity was 2026-11-04 for GraphHopper and 2026-11-02 for Open Source Routing Machine (OSRM). Our health labels: GraphHopper is “Active”, Open Source Routing Machine (OSRM) is “Active”.

What licenses do GraphHopper and Open Source Routing Machine (OSRM) use?

GraphHopper: Apache-2.0. Open Source Routing Machine (OSRM): BSD-2-Clause.

Can I run GraphHopper and Open Source Routing Machine (OSRM) with Docker?

We did not detect a Docker Hub image for either app. Check each project's documentation for install options.

Read more

GraphHopper

Fast routing library and server using OpenStreetMap.

Active ★ 6.8k Apache-2.0 ~$10/mo

Open Source Routing Machine (OSRM)

High performance routing engine designed to run on OpenStreetMap data and offering an HTTP API, C++ library interface, and Nodejs wrapper.

Active ★ 8.2k BSD-2-Clause ~$3.5/mo

Browse all self-hosted Maps and Global Positioning System (GPS) apps.

Related comparisons

Dawarich vs GraphHopperGraphHopper vs NominatimDawarich vs Open Source Routing Machine (OSRM)Nominatim vs Open Source Routing Machine (OSRM)