Google Maps API Alternatives: How to Choose the Right One
What a Google Maps API alternative has to replace, the three kinds on offer, the terms that decide whether you can mix providers, and how to switch safely.
A Google Maps API alternative is any service, or software you run yourself, that does the jobs your app sends to Google Maps Platform today: drawing the map, turning addresses into coordinates, and answering directions and travel times. You might be looking because the bill grew, because Google's move to newer APIs means rewriting code anyway, or because you'd rather not send every user's location to one company. The right replacement depends on which of those jobs you use, because few alternatives cover all of them, and the terms on each piece decide whether you can mix providers at all.
This guide covers the jobs to replace, the three kinds of alternative, the checks to run before you switch, and a migration order that keeps you inside Google's terms while you move. Every price in this guide was read on the vendor's own pricing page on November 23, 2026. To work out what directions cost at your volume, Directions API Pricing: How to Compare Costs runs the numbers.
Why do teams look for a Google Maps API alternative?
Three reasons stand out: cost at volume, changes to the APIs themselves, and terms that tie Google's content to Google's map. Each one is documented on Google's own pages, so you can check how much it affects your app before you start comparing vendors.
- Cost per product. On March 1, 2025, Google changed how free usage works: "Google has replaced the USD $200 monthly recurring credit with a free monthly usage threshold for each Core Services SKU." On the pricing page, Compute Routes Essentials includes 10,000 free requests a month and then costs $5.00 per 1,000, and Dynamic Maps includes 10,000 free loads and then costs $7.00 per 1,000.
- Legacy APIs. The same notice names the Directions API as one of three services now marked Legacy, with Routes API as the newer version. Legacy services keep working, and Google says it "will provide at least a 12-month notice prior to the decommission of the services," but they get no new features. If you're rewriting directions code for Routes API anyway, that's the cheapest moment to compare.
- Terms on mixing maps. Google's service terms say, in the Routes API section: "Customer must not use Google Maps Content from the Routes API in conjunction with a non-Google map." The Directions API and Geocoding API sections say the same. You can't keep Google's routes and draw them on another company's map, so switching one piece often means switching the set.
What does a Google Maps alternative need to replace?
Google Maps Platform is a group of separate products, and an alternative often replaces some of them, not all. Write down what your app calls before you compare anything. Your Google Cloud bill lists every SKU you were charged for, which makes it the most reliable list.
- The map. The tiles and styles your page draws, usually through a JavaScript library.
- Geocoding and place search. Turning a typed address into coordinates and back, and finding a business by name.
- Directions. A route between points, with its time, distance and turn-by-turn steps, for driving, cycling, walking or transit.
- Travel-time areas and matrices. The area someone can reach in 15 minutes, called an isochrone, or the times between many origins and many destinations in one call.
- Extras. Street-level imagery, live traffic, elevation and address validation.
A store locator might use only the map, geocoding and one route per visit. A delivery app might lean on matrices and live traffic. They need different replacements.
What kinds of Google Maps API alternatives are there?
Alternatives fall into three groups: commercial map platforms, hosted services built on OpenStreetMap, and open-source software you run on your own servers. They trade price, coverage and how much of the work lands on you.
Commercial map platforms sell a similar range of products with their own data and their own pricing. Mapbox shows up on nearly every comparison list. On its pricing page, the Directions API is free up to 100,000 requests a month and then $2.00 per 1,000 up to 500,000, the Isochrone API has the same tiers, and web map loads are free up to 50,000 a month and then $5.00 per 1,000 up to 100,000. HERE and TomTom sell comparable platforms, so read their pricing pages the same way.
Hosted OpenStreetMap services. OpenStreetMap (OSM) is a free map of the world built by volunteers and published under the Open Database License, which requires you to credit its contributors. Many companies serve maps and routes built from it. They aren't the same thing as the volunteer-run tile servers at openstreetmap.org, which aren't there to carry a commercial app. The OSM tile usage policy says "Availability is best-effort: there is no SLA or guarantee," warns that commercial services "should be especially aware that access may be withdrawn at any point," and asks anyone who can't meet its rules to "use an alternative OSM-derived service (see below), or run your own."
Self-hosted open source. You can run the whole stack yourself. MapLibre GL JS draws vector maps in the browser, and routing engines such as Valhalla, OSRM and GraphHopper answer directions from OSM data. There's no per-request fee. You pay in servers and time instead: someone builds the road network, rebuilds it as OSM changes, and keeps it running. How Routing Engines Find the Fastest Route explains what those engines do.
How do you choose a Google Maps API alternative?
Compare each candidate on the jobs from your list first, then on terms, cost, and what happens to your users' locations. A provider that is cheaper but can't route where your users live isn't an alternative for you. Work through these in order:
- Coverage where your users are. Directions often cover less ground than the map does. Ask for the coverage list and test a sample of addresses your users send, including rural ones.
- The modes you need. Walk, bike, drive and transit are separate engines underneath. Transit depends on each agency's published GTFS feed (the General Transit Feed Specification, the file format agencies use for timetables), so coverage varies city by city.
- Geocoding, and what you may keep. Some routing APIs accept only coordinates, which means a separate geocoder with its own terms. Mapbox, for example, lists temporary geocoding and permanent geocoding as separate products at different prices, so check which one covers the results you plan to store.
- Mixing and caching rules. Can you show this provider's routes on another provider's map? How long may you keep its coordinates? Google's Routes API terms allow caching latitude and longitude "for up to 30 consecutive calendar days." Find the same clauses for every candidate.
- What moves a request to a higher price. Google bills a route at Compute Routes Pro instead of Essentials when it uses traffic-aware routing or more than 10 waypoints. Check whether failed requests count, and whether map loads bill separately from directions.
- Cost controls. Look for per-key limits a minute and a day, and a spend cap that stops traffic instead of billing it. A bug that loops should hit a wall, not your card.
- Location privacy. Every directions request carries where someone is and where they're going. Read what the provider logs, for how long, and who else sees it.
- Key handling. The map loads in a browser, so check whether you can restrict it to your own websites, and keep the key that bills directions on your server.
- Exit cost. Open formats such as GeoJSON, vector tiles and MapLibre styles make the next move cheaper than a proprietary SDK does.
What if you only need a map and directions in the US?
If your app uses Google for nothing more than a map and a route, with coordinates you already hold, a hosted service on open-source engines can cover the job. Carpathian Maps is one, and it sits between the hosted and self-hosted groups: open-source engines on OpenStreetMap data, run as a service on Carpathian's own map server at maps.carpathian.ai. Valhalla answers walk, bike and drive routes, MOTIS answers transit from each agency's GTFS schedules, and MapLibre draws the map.
- The map covers the whole planet in five styles, loads only on websites you list on your app, and its map files are never billed.
- Directions come from
POST /v1/routefor walk, bike, drive and transit, with up to two alternative routes.POST /v1/isochronereturns up to four travel-time areas from one point as GeoJSON. - Privacy. The documentation says the server logs the method, path, status and time of each request, and never request bodies, coordinates or query strings. No other company sees the request.
- Billing. Route and travel-time requests are free up to a monthly allowance for your organization, then billed per 1,000 on your invoice. Requests refused with a
5xxdon't count, each app has its own limits a minute and a day, and a spend cap pauses your keys instead of running past it.
It doesn't replace everything Google does, and the gaps are specific:
- No address search or place search. The API takes latitude and longitude. If your app turns typed addresses into coordinates, you still need a geocoder.
- United States directions. Walk, bike and drive routes cover the United States, and transit covers the agencies on the coverage list. A point outside them answers
422 No route was found. - No traffic or matrix. The API reference documents no live-traffic option and no route matrix endpoint, and caps a single route at 250 km on foot, 500 km by bike and 5,000 km by car.
If your app depends on place search, live traffic or routes outside the US, Carpathian Maps won't replace Google Maps for you on its own.
How do you migrate off Google Maps without breaking your app?
Move the map and everything drawn on it in one release, because Google's terms bar its routes and geocodes on a non-Google map. Then run both providers side by side on sample traffic before you send all of it to the new one. The order that keeps you inside the terms:
- List every call by SKU from your bill, and note which screens each one serves.
- Pick the replacement for each job, using the coverage, terms and cost checks. It's fine to use two providers, as long as each one's terms allow its content on the other's map.
- Re-geocode stored addresses. Google's Geocoding API terms limit how long you may keep its latitude and longitude, so read section 6.3 before you carry coordinates over, and plan to geocode your saved addresses again with the new provider.
- Compare routes on known trips. Send the same few dozen origin and destination pairs to both providers and look at the times and paths. Look into any large gap before launch, since it can point to a coverage or mode difference.
- Switch the map and its overlays together, behind a flag you can turn back.
- Move keys to your backend and set per-key limits before traffic arrives.
- Update attribution and your privacy notice. OSM-based maps must credit "© OpenStreetMap contributors," and your notice should name who now receives location data.
Try a map and a route
If your users are in the US and your app already has coordinates, Carpathian Maps covers the map, directions and travel-time areas. Create an account, enable Carpathian Maps from Services, and create an app to get its key. A Free Maps API for Your Website, With Directions walks through the embed code and the first route request.
Related publications
Managed vs Unmanaged VPS: Which One Do You Need?
What a managed VPS covers, what an unmanaged one leaves to you, and the questions that tell you which work you're paying someone else to do.
What Is GEO? Generative Engine Optimization vs SEO
GEO is getting your pages quoted and cited in AI answers. How AI search picks its sources, what changes from SEO, and a checklist to work through.
Carpathian's AI Models and What Each One Does
Phoenix, Osprey, Kestrel and Bluejay each do a different job. Here is what each model is for and how to reach it in the chat or the API.
Cloud Hosting Bandwidth Overage Fees, Explained
What bandwidth overage fees are in cloud hosting, the three ways providers handle traffic past the allowance, how to estimate yours, and how to cap the bill.
US-Based Cloud Hosting: How to Keep Your Data in the US
What US-based cloud hosting means in practice, the four places data leaves the country without you noticing, and the questions that get it in writing.
How to Host a Website on a VPS: A Beginner's Guide
Seven steps to host a website on a VPS: pick a server, connect over SSH, secure it, install a web server, upload your site, point your domain, and add HTTPS.
