> For the complete documentation index, see [llms.txt](https://docs.mapbox.com/mapbox-gl-js/llms.txt)

# Pricing

# Mapbox GL JS Pricing

-   Billed by **Map Loads for Web**
-   See rates and discounts per map load in the pricing page's **[Sessions & user prices](https://www.mapbox.com/pricing/#maploads)** section

## How Map Loads Work

A map load occurs whenever a Mapbox GL JS [`Map`](https://docs.mapbox.com/mapbox-gl-js/api/map/) object is initialized on a webpage. Users can interact with the map (toggle layers, zoom, pan, switch styles) without incurring additional charges. The maximum session length for a map load is 12 hours; after that, a new session (and map load) is counted.

For tips on managing costs, see the [Manage your web map costs](https://docs.mapbox.com/help/troubleshooting/manage-web-map-costs/) guide.

## Upgrading from Older Versions

If you are using Mapbox GL JS v1 or v2, we recommend upgrading to v3 for the latest features, security, and pricing model. See the [install guide](https://docs.mapbox.com/mapbox-gl-js/guides/get-started/) for help installing the latest version.

Details

Legacy Pricing (v1 and v2)

-   **v2.x.x:** A map load occurs whenever a Mapbox GL JS [`Map`](https://docs.mapbox.com/mapbox-gl-js/api/map/) object is initialized.
-   **v1.x.x:** A map load occurs when a [`Map`](https://docs.mapbox.com/mapbox-gl-js/api/map/) object is initialized *and* a Mapbox-hosted map tile is requested.

For versions older than v1, see the [legacy pricing documentation](https://docs.mapbox.com/accounts/guides/pricing/#mapbox-gl-js--v100).

## Additional Resources

-   You can check your Mapbox GL JS usage and billing details in the [console statistics panel](https://console.mapbox.com/account/statistics/).
-   [Contact Mapbox sales](https://www.mapbox.com/contact/sales/) for enterprise or high-volume pricing.