Want to know how much your mapping and geocoding bill will be every month? Estimating how many users your site gets is much easier than predicting how much use your maps and searches will see in total. MapTiler has introduced Geocoding Sessions to make sure your bills are more predictable, counting a user loading a map, exploring it, and searching for locations as a single action.
The benefits are huge:
- Value: Our simple approach to sessions makes them easy to understand, and they are implemented by default.
One map, One Session, One price
- Predictable bills: No need to guess how many searches someone will make; every normal use case is covered by a session.
- No “Keystroke anxiety”: Add autocomplete searches and other great features for usability without fearing overuse and hyperactive searchers blowing your budget.
Geocoding sessions are enabled by default when you use the MapTiler SDK:
What is a geocoding session?
A Geocoding Session (also known as a "Search Session") starts when a user begins typing in a search or autocomplete field. Instead of billing for each keystroke or suggestion, this model allows the freedom to explore all the options within a single search task.
A new Geocoding Session begins when:
- The user reloads the browser tab.
- A single continuous session exceeds 6 hours.
- The session reaches a total of 10,000 geocoding requests.
With users nearly always completing their tasks before any of the above occurs, you can much more easily predict how much geocoding your app or website will use. You don't have to guess how many times a user will type something into the search box.
How to set up geocoding sessions
You can take advantage of session-based geocoding by using the MapTiler SDK (or the MapTiler plugin for the Leaflet library, which utilizes the MapTiler SDK) to add maps to your websites and apps. Our SDK uses sessions by default, treating all map and geocoding requests made after the map loads as a single session.
The MapTiler SDK is very easy to implement, and conversion from MapLibre or Mapbox is especially easy, as they all stem from the same technology.



