# Valhalla

> Open source routing engine for OpenStreetMap

Source: https://talira.ai/catalog/valhalla-w2dwe1jk
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, API, Command-line tool
- Categories: [location / routing / engines](https://talira.ai/categories/location/routing/engines)
- Platforms: linux, macos, windows, ios, android, docker, cli[^3]
- Licence: MIT[^3][^4]
- Pricing: Free and open source[^3][^4]
- Pricing notes: Free and open source under MIT. The public demo server run by FOSSGIS e.V. is free under a fair-use policy with rate limits.
- Free tier: yes[^3][^4]
- Self-hostable: yes[^3][^5]
- API: yes[^6][^7]
- Plugins: yes[^3]
- Backed by: [Valhalla](https://talira.ai/orgs/valhalla.md)

Valhalla is an open source routing engine and set of C++ libraries for OpenStreetMap data, started at Mapzen and Mapillary and now maintained by the Valhalla community under the MIT licence. Its HTTP service answers turn-by-turn route, optimized route (travelling salesman), time-distance matrix, isochrone, map matching, locate, elevation and expansion requests, with costing models for cars, bicycles, pedestrians, trucks, buses, taxis, motor scooters, motorcycles, bike share and multimodal trips with public transit, chosen at request time. Graph data is cut into hierarchical tiles, so it can run in a small memory footprint, offline on phones, or on regional extracts, and narrative directions come in about 28 languages. You run it with its [Docker](https://talira.ai/catalog/docker-engine-9442r3nw.md) images, as command-line tools, or embedded through its Python (pyvalhalla), Node.js and Rust bindings; it's fully functional on Linux and [macOS](https://talira.ai/catalog/macos-8swyggxb.md) and used on iOS and Android. FOSSGIS e.V. hosts a public demo server with a full planet graph under a fair-use policy.

## Links

- Website: https://valhalla.github.io/valhalla/
- GitHub: https://github.com/valhalla/valhalla
- Docs: https://valhalla.github.io/valhalla/

## Ways to install

### On your own server

- [Unraid Community Applications](https://talira.ai/catalog/unraid-community-applications-9jw5an1a.md): <https://ca.unraid.net/apps/valhalla-14d0ffh1cfdtm1>[^1]
- [Proxmox VE Helper-Scripts](https://talira.ai/catalog/proxmox-ve-helper-scripts-3h36wtyj.md): <https://community-scripts.org/scripts/valhalla>[^2]

## Problems it solves

- get driving directions in my app without paying per request to Google Maps
- self-host a routing API on OpenStreetMap data
- draw areas reachable within 15 minutes by car or on foot from a location
- compute a travel time matrix between hundreds of delivery stops
- find the best order to visit a list of addresses for a delivery driver
- snap noisy GPS traces from our vehicles onto the actual roads
- truck routing that respects height, weight and hazmat restrictions
- bike routes that avoid steep hills using elevation data
- offline turn-by-turn navigation inside a mobile app with no internet
- route planning that mixes walking and public transit with departure times
- turn-by-turn instructions in German, French and other languages
- change how routes are weighted per request, like avoiding tolls or highways
- run routing on just one country's map extract on a small server
- call a routing engine directly from Python without running a separate server
- an open source alternative to OSRM with isochrones and multimodal routing
- get elevation profiles along a route
- route requests in OSRM-compatible JSON or GPX output

## Features

- turn-by-turn routes with narrative directions in about 28 languages
- optimized routes (travelling salesman)
- time-distance matrices
- isochrones
- map matching of GPS traces
- elevation sampling (Skadi) and elevation-influenced bicycle routing
- costing models: auto, bicycle, bus, bikeshare, truck, taxi, motor scooter, motorcycle, multimodal, pedestrian
- dynamic, runtime costing through a plugin architecture
- tiled hierarchical graph for small memory use, offline routing and regional extracts
- multimodal, time-dependent routing with public transit
- output as JSON, GPX, OSRM-compatible JSON or protocol buffers
- valhalla_service HTTP server and one-shot mode, plus tools to build tiles
- Docker images, Python (pyvalhalla), Node.js and Rust bindings

## Limitations

- Not every part runs on Windows: the library, command-line tools, data tools and Python bindings build there, but not the full HTTP service[^3]
- No hosted API for production use: the public demo server has fair-use rate limits, so production apps run their own Valhalla[^3]

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known
- Takes plugins: plan not known
- Has official SDKs: plan not known

## Trust

Overall: 0.43 out of 1.
Signals: backing 0.30, extensibility 0.60.

- has a company behind it
- has a plugin system

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Open Source Routing Machine (OSRM)](https://talira.ai/catalog/open-source-routing-machine-osrm-xnyb2y7q.md): High performance routing engine for OpenStreetMap data
- [GraphHopper](https://talira.ai/catalog/graphhopper-awk85whp.md): Open source routing engine for OpenStreetMap, and a hosted Directions API

## Sources

[^1]: https://ca.unraid.net/api/apps/valhalla-14d0ffh1cfdtm1 (checked 20 Nov 2026)
[^2]: https://github.com/community-scripts/ProxmoxVE/blob/main/ct/valhalla.sh (checked 21 Nov 2026)
[^3]: https://github.com/valhalla/valhalla/blob/master/README.md (checked 20 Nov 2026)
[^4]: https://github.com/valhalla/valhalla/blob/master/COPYING (checked 20 Nov 2026)
[^5]: https://github.com/valhalla/valhalla/blob/master/docker/README.md (checked 20 Nov 2026)
[^6]: https://valhalla.github.io/valhalla/api/route/api-reference/ (checked 20 Nov 2026)
[^7]: https://valhalla.github.io/valhalla/ (checked 20 Nov 2026)
