Pricing overview
The OpenStreetMap (OSM) project operates on a non-commercial, community-driven model, meaning there are no direct charges for accessing the core OpenStreetMap API or the underlying geospatial data. This approach is fundamental to its mission of providing a free and openly editable map of the world. Developers can integrate OSM data and API functionalities into their applications without incurring direct fees from the OpenStreetMap Foundation, which maintains the project's infrastructure.
However, while direct API access is free, users must adhere to the OpenStreetMap API usage policy. This policy outlines reasonable usage limits to ensure the stability and availability of the shared infrastructure for all contributors and consumers. Exceeding these limits without prior arrangement may result in temporary blocks. For high-volume or commercial applications, developers often utilize third-party services that build upon OpenStreetMap data, such as hosted tile providers, geocoding services, or routing engines. These third-party services typically operate on commercial pricing models, which can involve subscription fees, per-transaction costs, or tiered usage plans.
The OpenStreetMap data itself is licensed under the Open Data Commons Open Database License (ODbL), which permits free use, distribution, and adaptation of the database, with a requirement to attribute OpenStreetMap and its contributors and to make any derived databases available under the same license if publicly distributed.
Plans and tiers
The OpenStreetMap project does not offer traditional commercial pricing plans or tiers because its core API and data access are provided without direct cost. Instead of a tiered pricing structure, the project relies on a single, open access model governed by its usage policy. This policy emphasizes responsible consumption of shared resources rather than monetizing access.
For applications requiring dedicated performance, higher request volumes, or specialized features beyond the basic API, developers typically choose one of two paths:
- Self-hosting: Developers can download the entire OpenStreetMap dataset or regional extracts and host their own map tiles, routing engines, or geocoding services. This approach involves infrastructure costs (servers, bandwidth, storage) and operational costs (maintenance, updates) but provides complete control and avoids per-transaction fees. Detailed instructions for setting up a self-hosted OpenStreetMap server are available from the community.
- Third-party commercial services: Numerous companies offer services built on OpenStreetMap data. These providers manage the infrastructure, updates, and scaling, typically offering various commercial plans based on usage (e.g., number of map tile loads, geocoding requests, routing queries). Examples include services for map rendering (tiles), geocoding (converting addresses to coordinates), and routing (calculating directions). The pricing for these services varies widely depending on the provider and the specific features offered.
The table below illustrates the conceptual 'plans' available, highlighting that direct OpenStreetMap access is free but external solutions may incur costs:
| Plan/Approach | Price | Key Limits/Considerations | Best For |
|---|---|---|---|
| OpenStreetMap Core API | Free |
|
|
| Self-hosted OSM Infrastructure | Variable (Infrastructure + Ops costs) |
|
|
| Third-Party OSM-based Service | Subscription or per-transaction fees (e.g., Mapbox, Foursquare, Nominatim providers) |
|
|
Free tier and limits
The entire OpenStreetMap API operates as a free tier. There is no paid version or upgrade path within the OpenStreetMap Foundation's offerings. Therefore, the concept of a 'free tier' for OpenStreetMap refers to the standard, open access available to all users. This access provides full functionality for retrieving map data, submitting edits, and utilizing various API endpoints as documented on the OpenStreetMap wiki.
While access is free, it is not without limitations. The OpenStreetMap project maintains a usage policy designed to protect the shared infrastructure. Key aspects of this policy include:
- Reasonable Usage: Users are expected to make requests in a manner that does not unduly burden the servers. The policy advises against mass downloading of data or implementing services that generate very high request rates without permission.
- Identifiable User-Agent: Applications making requests should include a descriptive
User-Agentheader to allow administrators to identify the source of requests if issues arise. - Caching: Users are encouraged to cache data where appropriate to reduce redundant requests to OpenStreetMap servers.
- Attribution: All uses of OpenStreetMap data must provide proper attribution to "OpenStreetMap contributors" and adhere to the terms of the Open Data Commons Open Database License (ODbL).
Violations of the usage policy can lead to temporary IP blocks or other restrictions. For applications requiring sustained high-volume access, the OpenStreetMap Foundation explicitly recommends setting up a self-hosted instance or using a third-party service built on OpenStreetMap data, rather than relying on the official API for heavy loads. This ensures the main API remains responsive for the community and for light-to-moderate usage scenarios.
Real-world cost examples
Since the OpenStreetMap API itself is free, direct cost examples relate more to the infrastructure or third-party services chosen to implement an application using OSM data rather than the API directly.
Example 1: Basic Website Map (Free)
- Scenario: Embedding a simple interactive map on a personal blog or a small community website displaying a few points of interest.
- Approach: Using the official OpenStreetMap API to fetch raw data for specific locations and a client-side library like Leaflet.js or OpenLayers to render map tiles from a public tile server (e.g., OpenStreetMap's standard tile layer).
- Costs: Free. The usage falls within the reasonable limits of the OpenStreetMap API usage policy. The client-side libraries are also open source and free to use.
- Considerations: Performance depends on the public tile server's availability and speed. No direct control over tile server reliability or features.
Example 2: Route Planning Application (Variable Cost)
- Scenario: Developing a mobile application that allows users to plan routes for cycling in a specific city, requiring detailed routing calculations and map rendering.
- Approach A (Self-hosted): Download a regional OSM data extract, set up a routing engine (e.g., OSRM, GraphHopper) and a tile server (e.g., OpenStreetMap Carto style with Mapnik) on cloud infrastructure (e.g., AWS EC2 or Google Compute Engine).
- Estimated Costs (Self-hosted):
- Cloud Compute: ~$50-200/month (for a modest server instance capable of handling routing requests and serving tiles).
- Storage: ~$10-50/month (for OSM data extracts and generated tiles).
- Bandwidth: ~$20-100/month (depending on user traffic).
- Development/Maintenance: Significant initial setup time and ongoing operational costs (personnel).
- Total: ~$80-350+/month (excluding personnel).
- Approach B (Third-party Service): Utilize a commercial routing API and hosted map tile service built on OSM data (e.g., from Mapbox, HERE Technologies, or GraphHopper's commercial plans).
- Estimated Costs (Third-party):
- Routing API: ~$50-500+/month (tiered based on number of route calculations).
- Map Tiles: ~$50-300+/month (tiered based on map views).
- Total: ~$100-800+/month (depending on provider, features, and usage volume).
Example 3: Geocoding Service for E-commerce (Potentially Paid)
- Scenario: An e-commerce platform needs to validate shipping addresses by converting them to geographic coordinates (geocoding) using OpenStreetMap data.
- Approach: While the OpenStreetMap project hosts a public Nominatim geocoding service, its usage policy for Nominatim explicitly states it is not for heavy commercial use and recommends setting up a self-hosted instance or using a third-party provider for sustained commercial geocoding.
- Costs:
- Public Nominatim: Free, but high usage will lead to blocks. Not suitable for production e-commerce.
- Self-hosted Nominatim: Similar infrastructure costs to self-hosted routing (server, storage, bandwidth), plus significant RAM requirements for Nominatim specifically. ~$150-500+/month (excluding personnel).
- Third-party Geocoding API: Many providers (e.g., Loqate, Geocodio, or specialized OSM-based services) offer commercial geocoding APIs. Costs can range from ~$0.001 to $0.01 per query, often with tiered pricing or monthly subscriptions starting from ~$50-200 for moderate volumes.
How the pricing compares
OpenStreetMap's pricing model—or lack thereof—is a primary differentiator when compared to proprietary mapping platforms. Its open-source, community-driven nature stands in contrast to the commercial licensing structures of alternatives.
OpenStreetMap API (Free)
- Cost: Free for direct API access and data, subject to fair usage policies.
- Pros: No licensing fees for data or API; complete data control if self-hosting; vibrant community support.
- Cons: Requires more technical effort for self-hosting and infrastructure management for high-volume use; core API primarily provides raw data, requiring custom rendering or external services for full map functionality.
- Best For: Projects with strong open-source principles, budget-constrained applications, developers willing to manage their own infrastructure, niche mapping requirements.
Google Maps Platform (Commercial, Tiered)
- Cost: Pay-as-you-go model with a free tier credit each month. Charges apply per API call (e.g., map loads, geocoding requests, routing directions).
- Pros: Comprehensive suite of APIs (Maps, Routes, Places); high reliability and scalability; extensive documentation and developer tools; rich feature set (e.g., Street View, advanced styling).
- Cons: Can become expensive at high volumes; requires careful monitoring of usage to control costs; less flexibility in data licensing and customization compared to OSM.
- Best For: Businesses requiring a fully managed, robust, and feature-rich mapping solution with dedicated support, where budget allows for scalable commercial services.
Mapbox (Commercial, Tiered)
- Cost: Tiered pricing based on usage (e.g., map loads, geocoding requests, routing requests), with free usage limits before charges apply. Pricing details available on the Mapbox pricing page.
- Pros: Highly customizable maps and styles; excellent developer experience; optimized for mobile and web applications; good performance; offers a range of APIs built on OpenStreetMap data and proprietary sources.
- Cons: Costs can accrue rapidly with high usage; less granular data access than raw OSM; proprietary licensing for some features.
- Best For: Companies prioritizing custom map aesthetics, performance, and a strong developer experience, especially for interactive web and mobile mapping applications.
HERE Technologies (Commercial, Tiered)
- Cost: Offers a freemium model with free transactions up to certain limits, then switches to a pay-as-you-go or committed-use model. Pricing depends on specific APIs used (e.g., map tiles, routing, geocoding). Details on HERE Developer pricing.
- Pros: Strong focus on enterprise and automotive solutions; high-quality global data; comprehensive suite of location services (e.g., advanced routing, real-time traffic, specialized datasets).
- Cons: Can be more complex to integrate for smaller projects; proprietary data can lead to vendor lock-in; potentially higher costs for advanced enterprise features.
- Best For: Enterprise applications, automotive industry, logistics, and businesses requiring highly accurate, specialized location intelligence and robust SLAs.
In summary, OpenStreetMap offers unparalleled cost savings for data access, with the trade-off being the responsibility for infrastructure and service management. Commercial alternatives provide managed services, scalability, and enhanced features at a variable cost proportional to usage and feature requirements.