Enable or disable semantic ranker

Semantic ranker is a premium feature billed by usage. By default, all search services are enrolled in the free plan, which provides a monthly request allowance at no charge. To enable continued access after the free quota is consumed, you can switch to the standard plan.

Check availability

To check if semantic ranker is available in your region, see the Azure AI Search regions list.

Enable semantic ranker

Semantic ranker might not be enabled on older services. Follow these steps to enable semantic ranker at the service level. Once enabled, it's available to all indexes. You can't turn it on or off for specific indexes.

  1. Go to your search service in the Azure portal.

  2. On the Overview page, make sure the pricing tier is set to Basic or higher.

  3. On the left-navigation pane, select Settings > Premium features.

  4. Select either the Free plan (default) or the Standard plan. You can switch between the free plan and the standard plan at any time.

    Screenshot of enabling semantic ranking in the Azure portal.

The free plan is capped at 1,000 queries per month. After the first 1,000 queries in the free plan, an error message indicates you exhausted your quota on the next semantic query. When quota is exhausted, you can upgrade to the standard plan to continue using semantic ranking.

Disable semantic ranker using the REST API

To turn off feature enablement, or for full protection against accidental usage and charges, you can disable semantic ranker by using the Create or Update Service API on your search service. After the feature is disabled, any requests that include the semantic query type are rejected.

Management REST API calls are authenticated through Microsoft Entra ID. For instructions on how to authenticate, see Manage your Azure AI Search service with REST APIs.

PATCH https://management.chinacloudapi.cn/subscriptions/{{subscriptionId}}/resourcegroups/{{resource-group}}/providers/Microsoft.Search/searchServices/{{search-service-name}}?api-version=2025-05-01
    {
      "properties": {
        "semanticSearch": "disabled"
      }
    }

To re-enable semantic ranker, run the previous request again and set semanticSearch to either Free (default) or Standard.

Next step