Open Source Routing Machine (OSRM) Review, Pricing & Features

OSRM review: the free, open-source C++ routing engine for OpenStreetMap data. Features, performance, licensing, and top routing engine alternatives.

Researched and fact-checked by Bartu Cavusoglu · Updated July 19, 2026

Category
Productivity
Pricing
Open Source, from Free
Verified
Not yet
Last updated
July 19, 2026
Founded
2010
Headquarters
Originated at Karlsruhe Institute of Technology, Karlsruhe, Germany; now community-maintained
APIOpen SourceSelf-Hosted

Overview

OSRM (Open Source Routing Machine) is a free, open-source routing engine written in C++ that computes shortest paths and turn-by-turn directions using OpenStreetMap data. It was first released in July 2010 by Dennis Luxen at the Karlsruhe Institute of Technology and is licensed under the permissive 2-clause BSD license.

It is not a commercial product or company; it is a community-maintained open-source project hosted on GitHub, historically supported in part by Mapbox's Directions team before Mapbox shifted its primary routing investment to the Valhalla engine in 2018.

Key Features

OSRM's defining characteristic is raw routing performance: it uses contraction hierarchies and related preprocessing techniques to return shortest-path results on continent-sized road networks within milliseconds, enabling real-time navigation and routing use cases.

It supports multiple built-in travel profiles for driving, cycling, and walking, and those profiles can be customized via Lua scripts to model different vehicle restrictions, road preferences, or custom routing logic for specialized applications.

Pricing

OSRM is completely free and open source under the 2-clause BSD license, with no licensing fees, usage limits, or paid tiers imposed by the project itself.

Because there is no official hosted API, organizations either self-host OSRM on their own infrastructure, incurring only server costs, or use a third-party service built on top of OSRM, whose pricing is set by that provider rather than by the OSRM project.

Key Features

Pros & Cons

Pros

  • Completely free and open source under a permissive BSD license
  • Extremely fast routing performance suitable for real-time, high-volume applications
  • No per-request API fees when self-hosted, unlike commercial mapping APIs
  • Customizable routing profiles for specialized vehicle types or use cases
  • Proven at scale, having powered Mapbox's navigation products for years

Cons

  • No official hosted API or managed service directly from the project
  • Development slowed significantly after original creator Dennis Luxen stepped back around 2015
  • Requires self-hosting expertise and server infrastructure to operate
  • Lacks built-in features like live traffic data that some commercial routing APIs provide out of the box
  • Smaller active core maintainer team than well-funded alternatives like Valhalla or GraphHopper

Pricing

Frequently Asked Questions

Is OSRM free to use?

Yes, OSRM is open source under the permissive 2-clause BSD license, with no licensing fees for using, modifying, or embedding it in other products.

Who created OSRM?

OSRM was created by Dennis Luxen and first released in July 2010 as part of his work at the Karlsruhe Institute of Technology in Germany.

Does OSRM offer a hosted API?

Not officially. The core project provides the routing engine software; organizations typically self-host it or use a third-party service built on top of it.

Does Mapbox still use OSRM?

Mapbox used OSRM to power its navigation products for years but shifted its primary routing investment to the Valhalla engine starting in early 2018.

What kind of routing does OSRM support?

OSRM supports driving, cycling, and walking routing profiles out of the box, and these can be customized via Lua scripts for specialized use cases.

How fast is OSRM?

OSRM uses contraction hierarchies and similar preprocessing to answer shortest-path queries on continent-sized networks within milliseconds, making it suitable for real-time routing.

What data does OSRM use for routing?

OSRM routes using OpenStreetMap data extracts, which are community-maintained and freely available for most regions of the world.

Compare productivity tools side by side →

Related Tools

More Productivity tools

All Productivity tools

Recently updated tools

Tool pages we refreshed lately, from across the directory.

  • Ground Ops Updated Nov 30, 2026
    Real Estate, Construction & Field Service · GOSS (Ground Operations Software System) is a cloud-based platform from Arepo Solutions that helps ground service…
  • AI Song Generator Updated Oct 26, 2026
    AI · AI Song Generator is a web-based AI music platform that creates songs with simple controls for structure and style.…
  • BulkGate Updated Oct 26, 2026
    Communication · BulkGate is a business messaging platform for sending SMS, Viber, WhatsApp, RCS and voice messages through a web…
  • Kangarootime Updated Nov 30, 2026
    Online Learning · Kangarootime’s platform helps eliminate everyday stressors that come with managing a childcare center. Automate…
  • Autocalls Updated Oct 26, 2026
    AI Voice · Autocalls is a no-code platform for building AI voice agents that make and answer phone calls, plus WhatsApp and web…
  • Guideflow Updated Oct 26, 2026
    Sales · Guideflow is a demo automation platform for creating interactive product demos and step-by-step guides. Sales,…
  • Huginn Updated Nov 30, 2026
    DevOps
  • Creasquare Updated Oct 26, 2026
    Social Media · Creasquare is an AI-powered platform for creating social media graphics, videos and captions, then scheduling them to…
  • Shade Updated Oct 26, 2026
    Cloud Storage · Shade is a cloud NAS for media teams that mounts cloud storage like a local drive and adds AI search, custom…
  • selltostate.com Updated Nov 29, 2026
    AI · Structured government procurement data across 73 countries — tenders, suppliers and agencies.