Softwr

Maps · head to head

GraphHopper vs OSRM

GraphHopper logo

GraphHopper

Maps

Open-source routing engine for road networks, providing fast route calculations, turn-by-turn navigation

From
Free
Free plan
Yes
O

OSRM

Maps

High-performance open-source routing engine designed for OpenStreetMap data, providing fast route calculations

From
Free
Free plan
Yes

The short version

  • GraphHopper is an open-source routing engine for road networks; OSRM is a high-performance open-source routing engine.
  • OSRM is free; GraphHopper starts at €69/mo.
  • Where GraphHopper falls short: the free plan is non commercial use only.
  • Where OSRM falls short: free and open source routing engine under the 2-clause BSD license, no commercial tier.

How do GraphHopper and OSRM differ?

GraphHopper and OSRM differ on pricing model (Freemium against Open-source). Only the attributes on which GraphHopper and OSRM actually diverge.

Attributes where GraphHopper and OSRM differ
AttributeGraphHopperOSRM
Pricing modelFreemiumOpen-source

Identical on both: starting price (Free), free tier (Yes), platforms (Web), category (Maps).

Not yet recorded: founded for OSRM.

Which features does each one have?

They share 2 listed features. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in GraphHopper

Nothing recorded that OSRM does not also cover.

Only in OSRM

Nothing recorded that GraphHopper does not also cover.

Both cover

  • Core Functionality
  • User Interface

What is each one used for?

GraphHopper is most often brought in for routing, distance matrix and route optimisation over an API; OSRM for integrating OpenStreetMap data for real-time routing in web applications. The jobs each tool is most often brought in to do.

GraphHopper

  • Routing, distance matrix and route optimisation over an APInot OSRM
  • Map matching GPS traces and generating isochronesnot OSRM

OSRM

  • Calculating efficient delivery routes across continental-sized road networks in millisecondsnot GraphHopper
  • Building navigation features for mobile apps without constructing routing infrastructurenot GraphHopper
  • Customizing route optimization for car, bicycle, and pedestrian transportation modesnot GraphHopper
  • Integrating OpenStreetMap data for real-time routing in web applicationsnot GraphHopper

Where do GraphHopper and OSRM fall short?

GraphHopper's most cited limit: the free plan is non commercial use only. OSRM's: free and open source routing engine under the 2-clause BSD license, no commercial tier. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

GraphHopper

  • The free plan is non commercial use only
  • Free allows 500 credits a day, 5 locations per request and a single vehicle
  • Request complexity is capped per plan, at 30 locations and 2 vehicles on Basic at 69 EUR a month, rising to 200 locations and 20 vehicles on Premium at 479 EUR
  • Isochrone range is limited by plan, at 15 minutes on Basic and 30 on Premium
  • Credits are a daily allowance, so a busy day cannot draw on a quiet one

OSRM

  • Free and open source routing engine under the 2-clause BSD license, no commercial tier
  • Millisecond route queries rely on Contraction Hierarchies preprocessing of the map data before serving
  • Without a speedup technique, shortest-path computation on a continent-sized network can take several seconds

How much do GraphHopper and OSRM cost?

GraphHopper has a free plan, with paid plans from €69/mo; OSRM is free to use. Plan by plan below, from each vendor's own pricing page.

GraphHopper

Free
  • FreeFree
  • Basic€69/mo
  • Standard€199/mo
  • Premium€479/mo

OSRM

Free

No published plan breakdown. See the OSRM review.

Which should you pick?

Choose GraphHopper if

  • You want to start without paying.

Choose OSRM if

  • You want to start without paying.

Questions people ask

Is GraphHopper or OSRM better?
It depends on the job. GraphHopper fits routing, distance matrix and route optimisation over an API; OSRM fits calculating efficient delivery routes across continental-sized road networks in milliseconds. GraphHopper starts at Free and OSRM at Free.
Which is cheaper, GraphHopper or OSRM?
GraphHopper starts at Free and OSRM at Free.
Does GraphHopper or OSRM run on more platforms?
Both run on Web, so platform support will not decide this one for you.
Can I use GraphHopper for free?
Both have a free tier, so you can try either at no cost before committing.
What is GraphHopper best used for?
GraphHopper is most often used for routing, distance matrix and route optimisation over an api, map matching gps traces and generating isochrones. Of those, routing, distance matrix and route optimisation over an api and map matching gps traces and generating isochrones are not what OSRM is typically brought in for.

Answered from the vendors’ own pages

GraphHopper: Is the free plan actually usable for production?

No. The free tier is limited to non-commercial use only and includes 500 daily credits. To use GraphHopper in production, you need a paid plan starting at 69 euros per month.

Source
OSRM: How much does Project OSRM cost?

Project OSRM is completely free and open source, distributed under the permissive 2-clause BSD license with no licensing costs or fees.

Source
GraphHopper: What happens if I exceed my daily credit limit?

The page does not specify. Each tier has a daily credit limit (500 for free, 5,000 for Basic, 15,000 for Standard, 50,000 for Premium), but no overage policy is documented.

Source
GraphHopper: Does GraphHopper offer a trial period?

No. There is no trial period. You can start with the free plan to test, but commercial use requires a paid subscription.

Source
GraphHopper: How much does the Premium plan cost and what do I get?

Premium is 479 euros per month and includes 50,000 daily credits, up to 200 locations per request, up to 20 vehicles, email and phone support, and access to all APIs including routing and optimization.

Source
GraphHopper: Is there a discount if I link back to GraphHopper?

Yes. A 20% discount is available with proper attribution. The page also mentions a 99.5% uptime SLA on paid plans only.

Source
Share

Related pages

Other head to heads