When you enable Analytics, Meilisearch Cloud changes your project's API URL to an edge URL, which is the only URL that tracks metrics for analytics. The original URL, however, remains functional, meaning that requests made through it are not tracked in the analytics page but are still counted in the billing overview.

Similarly, if you disable analytics, the edge URL continues to work for your instance. We keep both URLs functional to allow users to enable or disable analytics conveniently. However, this can lead to inconsistencies between the number of searches reported in the analytics and the billing overview.

Additionally, when using the edge URL, we employ a cache system that identifies user typing patterns. This prevents each keystroke from being counted as a separate search by debouncing the tracking requests, while still providing a search-as-you-type experience. This can also contribute to discrepancies.

To align the numbers: