Am I able to set a cap for monthly spending?
Mapbox does not provide the ability to cap your monthly billing. For now, you can create predictable monthly API usage is by monitoring your account statistics and your invoices.
Once your account statistics and/or invoices reach a level where you'd like to be capped, you can:
- Delete your access tokens from your tokens page (deactivating any mapping implementations that were authenticated by that access token). Or,
- Remove your access tokens from your code. Where you see our map initialization code block occurs depends on your implementation. You can temporarily remove your access tokens so that no traffic authenticates.
- When you're ready to enable map traffic again, you can add the access token back into your map code will reactivate the maps.
For more information about your account statistics or invoices, you can explore our Accounts Documentation.
Was this page helpful?