Softwr

Maps · head to head

GraphHopper vs OpenLayers

GraphHopper logo

GraphHopper

Maps

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

From
Free
Free plan
Yes
OpenLayers logo

OpenLayers

Maps

High-performance, feature-packed JavaScript library for creating interactive maps on the web with

From
Free
Free plan
Yes

The short version

  • GraphHopper is an open-source routing engine for road networks.
  • OpenLayers is free; GraphHopper starts at €69/mo.
  • Where GraphHopper falls short: the free plan is non commercial use only.
  • Where OpenLayers falls short: no commercial support included; community-driven library.

How do GraphHopper and OpenLayers differ?

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

Attributes where GraphHopper and OpenLayers differ
AttributeGraphHopperOpenLayers
Pricing modelFreemiumOpen-source

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

Not yet recorded: founded for OpenLayers.

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 OpenLayers does not also cover.

Only in OpenLayers

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; OpenLayers for embedding interactive maps showing store locations on retail websites. The jobs each tool is most often brought in to do.

GraphHopper

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

OpenLayers

  • Embedding interactive maps showing store locations on retail websitesnot GraphHopper
  • Visualizing GPS tracking data for delivery routes on web dashboardsnot GraphHopper
  • Creating choropleth maps displaying regional sales performancenot GraphHopper
  • Building mapping interfaces for real estate property searchesnot GraphHopper

Where do GraphHopper and OpenLayers fall short?

GraphHopper's most cited limit: the free plan is non commercial use only. OpenLayers's: no commercial support included; community-driven library. 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

OpenLayers

  • No commercial support included; community-driven library
  • Ships no basemap of its own; you must supply tiles from a source such as OSM, Bing, Mapbox or Stadia Maps, each with its own terms
  • A client-side JavaScript library for web pages only, so native mobile apps need a different SDK or a web view

How much do GraphHopper and OpenLayers cost?

GraphHopper has a free plan, with paid plans from €69/mo; OpenLayers 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

OpenLayers

Free
  • Open source (BSD 2-clause)Free

Which should you pick?

Choose GraphHopper if

  • You want to start without paying.

Choose OpenLayers if

  • You want to start without paying.

Questions people ask

Is GraphHopper or OpenLayers better?
It depends on the job. GraphHopper fits routing, distance matrix and route optimisation over an API; OpenLayers fits embedding interactive maps showing store locations on retail websites. GraphHopper starts at Free and OpenLayers at Free.
Which is cheaper, GraphHopper or OpenLayers?
GraphHopper starts at Free and OpenLayers at Free.
Does GraphHopper or OpenLayers 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 OpenLayers 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
OpenLayers: How much does OpenLayers cost?

OpenLayers is completely free, open source JavaScript library released under the 2-clause BSD License (FreeBSD License) with no cost for use, modification, or distribution.

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
OpenLayers: What license does OpenLayers use?

OpenLayers is released under the 2-clause BSD License (also known as the FreeBSD License), allowing free use, modification, and distribution.

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
OpenLayers: Can I use OpenLayers commercially?

Yes, OpenLayers is free to use commercially without any licensing fees. The open source license permits commercial use without restriction.

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