GraphHopper vs Photon

A side-by-side comparison of two self-hosted maps & gis options — licensing, setup difficulty, resource needs, and what each one replaces.

Not the right match-up?
FeatureGraphHopperPhoton
CategoryMaps & GISMaps & GIS
LicenseApache-2.0Apache-2.0
LanguageJavaJava
Setup difficultyMediumMedium
Min. RAM4,096 MB4,096 MB
Deploymentdocker, bare-metal, binarydocker, bare-metal, binary
GitHub stars★ 6,619★ 2,972
First released20122013
ReplacesGoogle Directions APIGoogle Geocoding API

Why pick each one

Choose GraphHopper if…

  • Released under the Apache-2.0 license
  • First-class Docker support for quick deployment
  • Mature project with 6.6k GitHub stars
  • Written in Java
GraphHopper details

Choose Photon if…

  • Released under the Apache-2.0 license
  • First-class Docker support for quick deployment
  • Active community (3k GitHub stars)
  • Written in Java
Photon details

Frequently asked questions

Is GraphHopper or Photon better?

Neither is universally better. GraphHopper has the larger community; both share a medium setup difficulty, so the decision comes down to features and licensing.

Are GraphHopper and Photon free and open-source?

Yes. GraphHopper is licensed under Apache-2.0 and Photon under Apache-2.0. Both can be self-hosted at no software cost.

Can I run GraphHopper and Photon with Docker?

GraphHopper: yes. Photon: yes.

Related comparisons