Comparison
oslew vs the Mapbox Geocoding API
The Mapbox Geocoding API sells two kinds of request: Temporary, which has a large free monthly allowance but may not be cached, and Permanent, which may be stored but is priced separately with no free tier. Either way, results are for use with a Mapbox map. oslew has one kind of request, lets you keep its results — address and place answers without share-alike, boundary answers under the ODbL — and show them on any map, and sells a sustained rate with no monthly quota. Mapbox stays the better fit for look-and-discard geocoding inside an application already built on its maps.
Last reviewed
Most teams who go looking for a Mapbox geocoding alternative are not unhappy with the answers. They find out, usually while designing a cache or a data warehouse, that the answers they have been receiving are ones they are not allowed to keep. This page starts there, then covers the map rule, the rate limit and the neighbouring products, quoting Mapbox’s own pages with the date each was read.
Temporary or Permanent: a choice made per request
Mapbox divides geocoding by what you intend to do with the answer. Temporary geocoding results may not be cached; Permanent results may be cached and stored indefinitely, which requires a valid credit card on file or an active enterprise contract. Requests are Temporary by default. (Mapbox, read 24 Sep 2026) The default is the kind you cannot keep, and it is also the kind with the free allowance: Temporary Geocoding API requests are free up to 100,000 a month, then $0.75 per 1,000 from 100,001 to 500,000, $0.60 to 1,000,000 and $0.45 above that, with discounts through sales beyond 5,000,000. (Mapbox, read 24 Sep 2026)
Keeping results is a separate product at a separate price. Permanent Geocoding API requests list no free tier and cost $5.00 per 1,000 up to 500,000 a month and $4.00 above; results are for the customer's own use and cannot be distributed or sublicensed. (Mapbox, read 24 Sep 2026) In practice the same address, geocoded for two purposes — once to centre a map, once to write a delivery point into an order — is two different purchases, and the calling code has to know which one it is making.
oslew has no mode flag. Every geocode is the same request against the Address product, and what you may do with each result is written on the result itself: a licence code and the dataset it came from. Addresses and places are permissively licensed and may be kept without a time limit. The exception worth knowing is the administrative chain a reverse lookup includes: Overture publishes its divisions under the ODbL, whatever the code on those entries currently reads, and the time-zone entry derives from OpenStreetMap under the same licence. The licensing page lists every layer and what share-alike asks of you.
The map the results appear on
Geocoding API responses may only be used in conjunction with a Mapbox map. (Mapbox, read 24 Sep 2026) For an application that already draws Mapbox maps, that rule costs nothing. For one that shows results in a table, on another provider’s map, or in a printed report, it is a constraint to check with whoever owns your terms.
oslew places no condition on where results are shown, as long as the attribution for the underlying data goes with them. If you want a basemap from the same provider, oslew serves vector tiles and a MapLibre style through its maps API, but nothing ties geocoding to it.
Requests per minute against requests per second
The default Geocoding API rate limit is 1,000 requests per minute, adjustable per account; requests over it receive HTTP 429. (Mapbox, read 24 Sep 2026) A figure published per minute says how many requests a minute may carry. The page quoted does not say how they may be spaced inside that minute, so ask Mapbox how a burst at the start of one is treated before sizing a client around it.
oslew counts per second. Each key holds a token bucket for each product in its plan, refilled continuously at the sustained rate, with a burst on top for requests that arrive together — on the Address plan, 20 requests a second sustained, burst 100. A request that finds the bucket empty gets HTTP 429 and a Retry-After header in whole seconds, and every admitted response carries RateLimit headers showing what is left. The practical difference is that both the pace and the largest burst are published, so a client can be sized against them before it sends anything. Rate limits against quotas sets out why oslew sells a pace instead of a count.
Search-as-you-type and travel-time matrices
Mapbox bills its interactive search by the session. Search Box API sessions (up to 50 /suggest calls and 1 /retrieve) are free up to 500 a month, then $3.00 per 1,000 sessions at introductory preview pricing. (Mapbox, read 24 Sep 2026) A session bundles the suggestions a person sees with the one they finally pick, so the cost follows the number of searches rather than the number of keystrokes.
oslew’s autocomplete is a product of its own, because a completed address can take a request per keystroke. The Search plan includes it at 20 requests a second sustained, burst 100, and each keystroke request takes one token from that bucket; there are no sessions to open or close. Suggestions carry no confidence score: the answer comes from a geocode or a validation once the person has chosen.
Matrices differ more. Matrix API elements are free up to 100,000 a month, then $2.00 per 1,000 elements to 500,000, $1.60 to 1,000,000 and $1.20 above. (Mapbox, read 24 Sep 2026) oslew takes one token per request, not per element, so a travel-time matrix of any size up to the plan’s ceiling costs the same as a single geocode. Routes and matrices are timed at free-flow speeds unless an Enterprise operator applies a traffic feed.
If your code speaks Mapbox v5
oslew answers the Mapbox Geocoding v5 request and response shape at GET /compat/mapbox/geocoding/v5/mapbox.places/{search_text}, with its own data inside. A v5 client can point at it by changing its host and sending its key in an Authorization header; access_token is accepted and ignored. It is not the v6 API. The migration checker recognises a v6 URL as Mapbox, but a v6 client has to change its path and its response parsing, or go straight to the native geocoder. The Mapbox switching guide covers coordinate order, the ignored filters and the test to run first.
What Mapbox users will miss
- Filters.
proximity,country,types,bboxandlanguageare accepted and ignored. oslew narrows a search by the text after the last comma of the query — a city, region, country or postcode — and has no feature-type filter, no bounding box and no translation of names. - A bias towards the user. The native
nearparameter keeps only candidates in a cell of about 10 km around a point. It is a filter, so it drops a right answer that sits just outside. - Calls from the browser. An oslew key is read only from a request header and the service sends no CORS headers, so geocoding has to run on your server, with your frontend talking to that.
- A track record. The API is pre-release. Its places come from open data, and the count held in the released store is ⟦pending:coverage.places.count⟧.
Bottom line
If your geocoding is look-up-and-show on a Mapbox map, the Temporary allowance covers a lot of traffic at no cost and there is little reason to move. If you need to keep what you geocode, show it somewhere other than a Mapbox map, or pay for peak rate instead of a monthly count, oslew removes the Temporary-or-Permanent decision altogether. Before deciding on quality, geocode a sample of your own addresses with known positions through both; the accuracy page shows how oslew measures itself on held-out data.
Mapbox and oslew side by side
| Dimension | Mapbox | oslew |
|---|---|---|
| How you pay | Pay-as-you-go with free tiers for most products, automatic volume discounts, and further discounts for annual commitments. (Mapbox, read 24 Sep 2026) | One monthly price per plan; each product in it has a sustained rate and a burst, and requests inside the rate add nothing to the bill. |
| Geocoding you may not keep | Temporary Geocoding API requests are free up to 100,000 a month, then $0.75 per 1,000 from 100,001 to 500,000, $0.60 to 1,000,000 and $0.45 above that, with discounts through sales beyond 5,000,000. (Mapbox, read 24 Sep 2026) | There is no separate non-storable request type; every geocode draws on the Address product. |
| Geocoding you may keep | Permanent Geocoding API requests list no free tier and cost $5.00 per 1,000 up to 500,000 a month and $4.00 above; results are for the customer's own use and cannot be distributed or sublicensed. (Mapbox, read 24 Sep 2026) | $99 a month buys 20 requests a second sustained, burst 100, and address and place answers may be kept without share-alike. |
| Free allowance | The Temporary Geocoding API includes 100,000 free requests a month; the Permanent Geocoding API lists no free allowance. (Mapbox, read 24 Sep 2026) | A Free plan paced at 1 requests a second sustained, burst 5; nothing counts down during the month. |
| Caching and storage | Temporary geocoding results may not be cached; Permanent results may be cached and stored indefinitely, which requires a valid credit card on file or an active enterprise contract. Requests are Temporary by default. (Mapbox, read 24 Sep 2026) | Decided per result by its licence: permissive address and place layers may be kept, and ODbL boundary and time-zone entries carry share-alike. |
| Map requirement | Geocoding API responses may only be used in conjunction with a Mapbox map. (Mapbox, read 24 Sep 2026) | None. Draw results on any basemap and keep the attribution for the data. |
| Rate limit | The default Geocoding API rate limit is 1,000 requests per minute, adjustable per account; requests over it receive HTTP 429. (Mapbox, read 24 Sep 2026) | Counted per second, per product: 20 requests a second sustained, burst 100 on Address and 100 requests a second sustained, burst 300 on Scale, then HTTP 429 with Retry-After. |
| Search as you type | Search Box API sessions (up to 50 /suggest calls and 1 /retrieve) are free up to 500 a month, then $3.00 per 1,000 sessions at introductory preview pricing. (Mapbox, read 24 Sep 2026) | Autocomplete is the Search product, 20 requests a second sustained, burst 100 on the Search plan, one token per keystroke request and no sessions. |
| Travel-time matrix | Matrix API elements are free up to 100,000 a month, then $2.00 per 1,000 elements to 500,000, $1.60 to 1,000,000 and $1.20 above. (Mapbox, read 24 Sep 2026) | Priced by the request rather than the element, up to 100 × 100 on Routing and 500 × 500 on Scale. |
Where Mapbox wins
- Maps first. Mapbox sells geocoding as one part of a mapping platform with its own map styles and client SDKs, so a team already drawing a Mapbox map adds search without a second vendor or a second set of conventions. oslew serves vector tiles and a MapLibre style, but its static maps carry no labels and it offers no map design tooling.
- Free volume for answers you do not keep. The Temporary Geocoding API includes 100,000 free requests a month; the Permanent Geocoding API lists no free allowance. (Mapbox, read 24 Sep 2026) For a lookup that is shown once and thrown away, such as centring a map on a typed town, that allowance can cover a whole workload at no cost, where oslew’s Free plan is paced at 1 requests a second sustained, burst 5.
- Search filters. The Mapbox request takes proximity, country, types, bbox and language parameters, which oslew’s Mapbox-shaped endpoint accepts and ignores. oslew has no feature-type filter, no bounding box, no bias towards a point and no translation of names.
- Operating history. Mapbox’s geocoder is a long-running commercial service, and oslew’s API is pre-release. A buyer who needs a provider with years of production behind it should give that real weight.
Where oslew wins
- No Temporary or Permanent decision. Temporary geocoding results may not be cached; Permanent results may be cached and stored indefinitely, which requires a valid credit card on file or an active enterprise contract. Requests are Temporary by default. (Mapbox, read 24 Sep 2026) oslew has no mode to choose: any geocode may be kept, and whether share-alike follows depends on the layer — none for an address or place, the ODbL’s for a boundary.
- Keeping costs nothing extra. Permanent Geocoding API requests list no free tier and cost $5.00 per 1,000 up to 500,000 a month and $4.00 above; results are for the customer's own use and cannot be distributed or sublicensed. (Mapbox, read 24 Sep 2026) On oslew the Address plan, $99 a month for 20 requests a second sustained, burst 100, covers geocoding whether the answers are stored or not.
- Show results anywhere. Geocoding API responses may only be used in conjunction with a Mapbox map. (Mapbox, read 24 Sep 2026) oslew answers can go on a MapLibre, Leaflet or any other map, into a spreadsheet or into a report, provided the data attribution travels with them.
- A matrix is one request. Matrix API elements are free up to 100,000 a month, then $2.00 per 1,000 elements to 500,000, $1.60 to 1,000,000 and $1.20 above. (Mapbox, read 24 Sep 2026) oslew takes one token from the routing bucket for a whole travel-time matrix, whatever its shape, up to 100 × 100 on the Routing plan.
The verdict
Choose Mapbox when you already draw Mapbox maps, your geocoding results are shown and then discarded, and your volume sits inside its Temporary allowance. Choose oslew when you must keep what you geocode without buying a separate Permanent tier, when results appear on a map or in a system that is not Mapbox’s, or when you want the bill to follow your peak rate instead of a monthly count. Settle quality with a test on your own addresses: nobody has measured the two side by side.
If you decide to move, the guide to switching from Mapbox covers the base-URL change, what carries over and what does not.
Questions
Can I cache Mapbox geocoding results?
Temporary geocoding results may not be cached; Permanent results may be cached and stored indefinitely, which requires a valid credit card on file or an active enterprise contract. Requests are Temporary by default. (Mapbox, read 24 Sep 2026) oslew has no equivalent switch. Address and place answers may be kept whichever way you asked for them, and boundary answers may be too, on the ODbL’s share-alike terms; each result names its dataset.
Does oslew support the Mapbox Geocoding v6 API?
No. The compatibility endpoint speaks the v5 request and response shape under /compat/mapbox/geocoding/v5/mapbox.places/. The migration checker recognises a v6 URL as Mapbox, but a v6 client has to change its path and its response parsing, or move straight to the native geocoder.
Is there a free allowance like the one Mapbox gives?
The Temporary Geocoding API includes 100,000 free requests a month; the Permanent Geocoding API lists no free allowance. (Mapbox, read 24 Sep 2026) oslew’s Free plan is a rate rather than a count, 1 requests a second sustained, burst 5, so it never runs out part-way through a month, but it is slower than most production workloads need.
Why do my reverse lookups land in the wrong place after switching?
Almost always coordinate order. The Mapbox-shaped endpoint reads two numbers as longitude then latitude, as Mapbox does, while every native /v1 route takes latitude first. Code that moves from the compatibility path to /v1/reverse must swap the pair.
Is oslew more accurate than Mapbox?
There is no evidence either way, because nobody has run the two on the same addresses. Hold back a few hundred of your own addresses whose true positions you know, geocode them through both services, and compare how far each answer lands from the truth.