Skip to content
OSM-Monitor.com

Independent community monitoring project; not affiliated with or endorsed by the OpenStreetMap Foundation.

Open routing

Public OSRM and Valhalla Servers: Status and Differences

Both engines route over OpenStreetMap data and expose a free public server. Each solves a different routing problem, and neither public instance is intended for production traffic.

Operational valhalla1.openstreetmap.de

Valhalla Public Isochrone Engine

p50 (24 h)
116 ms
p95
154 ms
Uptime
100%
Probe details and policy

Operational router.project-osrm.org

OSRM Demo Routing

p50 (24 h)
57 ms
p95
140 ms
Uptime
100%
Probe details and policy

What each engine computes

CapabilityOSRMValhalla
Routing graphPreprocessed once per profile (Lua); changing how roads are weighted means rebuildingTiled graph with costing chosen per request (costing + costing_options)
Profiles on the public servercar, foot, bikeAny costing the build supports: auto, bicycle, pedestrian, truck, motor_scooter and others
Point-to-point routesrouteroute
Matricestablesources_to_targets
Isochrones (drive-time areas)Not availableisochrone
GPS trace matchingmatchtrace_route, trace_attributes
Travelling salesmantripoptimized_route
ElevationNoheight
Public serverrouter.project-osrm.org (demo, sponsored by FOSSGIS)valhalla1.openstreetmap.de (FOSSGIS)
RulesReasonable, non-commercial use; at most 1 request/s; no guaranteesFOSSGIS terms: identifying User-Agent, at most 2 connections (scripts 1), no substantial commercial use

Action names from each project’s API documentation and the live Valhalla /status response, checked 24 November 2026.

When to pick which

The requests we send

Every 5 minutes we send one short route request to OSRM and one status call to Valhalla.

curl -A "your-app/1.0 (+https://example.com/contact)" \
  "https://router.project-osrm.org/route/v1/driving/-97.7431,30.2672;-97.7331,30.2772?overview=false"

curl -A "your-app/1.0 (+https://example.com/contact)" \
  "https://valhalla1.openstreetmap.de/status"

Replace the User-Agent with your own application name and a contact URL; library defaults do not satisfy FOSSGIS terms.

Running your own

Both projects publish container images. A regional extract from Geofabrik builds in minutes on a laptop; continental extracts require far more RAM.

OSRM (multi-level Dijkstra pipeline)

wget https://download.geofabrik.de/north-america/us/texas-latest.osm.pbf
docker run -t -v "$PWD:/data" ghcr.io/project-osrm/osrm-backend osrm-extract -p /opt/car.lua /data/texas-latest.osm.pbf
docker run -t -v "$PWD:/data" ghcr.io/project-osrm/osrm-backend osrm-partition /data/texas-latest.osrm
docker run -t -v "$PWD:/data" ghcr.io/project-osrm/osrm-backend osrm-customize /data/texas-latest.osrm
docker run -t -p 5000:5000 -v "$PWD:/data" ghcr.io/project-osrm/osrm-backend osrm-routed --algorithm mld /data/texas-latest.osrm

Valhalla (scripted image builds tiles on first start)

docker run -dt --name valhalla -p 8002:8002 \
  -v "$PWD/custom_files:/custom_files" \
  -e tile_urls=https://download.geofabrik.de/north-america/us/texas-latest.osm.pbf \
  ghcr.io/valhalla/valhalla-scripted:latest

Check each image’s README for current tags and flags before you script this; both projects change their build tooling between releases. Whatever you run, show “© OpenStreetMap contributors” wherever routes or areas appear.