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%
Operational router.project-osrm.org
OSRM Demo Routing
- p50 (24 h)
- 57 ms
- p95
- 140 ms
- Uptime
- 100%
What each engine computes
| Capability | OSRM | Valhalla |
|---|---|---|
| Routing graph | Preprocessed once per profile (Lua); changing how roads are weighted means rebuilding | Tiled graph with costing chosen per request (costing + costing_options) |
| Profiles on the public server | car, foot, bike | Any costing the build supports: auto, bicycle, pedestrian, truck, motor_scooter and others |
| Point-to-point routes | route | route |
| Matrices | table | sources_to_targets |
| Isochrones (drive-time areas) | Not available | isochrone |
| GPS trace matching | match | trace_route, trace_attributes |
| Travelling salesman | trip | optimized_route |
| Elevation | No | height |
| Public server | router.project-osrm.org (demo, sponsored by FOSSGIS) | valhalla1.openstreetmap.de (FOSSGIS) |
| Rules | Reasonable, non-commercial use; at most 1 request/s; no guarantees | FOSSGIS 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
- Pick OSRM for high-volume car routes or large distance matrices under one fixed profile. Contraction hierarchies and multi-level Dijkstra keep per-query cost low once the graph is built.
- Pick Valhalla when costing changes per request (avoiding tolls, setting truck height, or adjusting walking speed), or when you need isochrones, elevation or map matching from one engine.
- Avoid both public servers for production traffic. Volunteers run them on donated hardware under non-commercial or low-volume rules.
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.osrmValhalla (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:latestCheck 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.